Openwrt/package/iproute2/patches
Florian Fainelli e71cdf8127 package iproute2 has problems building on recent BSD-derived platforms because some programs to be run on the host use malloc.h in an incompatible way.
package/iproute2/patches/004-darwin_fixes.patch has a fix for Darwin,
however the fix can be made to work on other BSD platforms
by changing the patch as below.

I think a similar approach should work for other BSD-derived platforms,
replacing the
	#ifndef __APPLE__
with
	#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(...)

or perhaps even with just

	#ifdef __linux__

if the set of platforms where malloc.h is ok is small or restricted
to just linux

In any case, the patch is below. (#3869)
Signed-off-by: Luigi Rizzo <rizzo@iet.unipi.it>

SVN-Revision: 12249
2008-08-08 21:49:17 +00:00
..
000-debian_patches_3.patch
001-iproute2-2.6.11_Config.patch
002-iproute2-ipxfrm_no_sctp.patch Update iproute2 to version 2.6.25, and fixup patches 2008-05-20 22:17:26 +00:00
003-iproute2-htb_overhead.patch
004-darwin_fixes.patch
005-flex-generated.patch
006-iproute2-tc_esfq.patch
007-version_includes.patch