wifipineapple-openwrt/package/iproute2/patches
Florian Fainelli a2e33f9f8a 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> 


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-08 21:49:17 +00:00
..
000-debian_patches_3.patch Update iproute2 to version 2.6.25, and fixup patches 2008-05-20 22:17:26 +00:00
001-iproute2-2.6.11_Config.patch revert iproute2 to the old version until the new one is fixed (#3026) 2008-04-06 17:13:00 +00:00
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 Update iproute2 to version 2.6.25, and fixup patches 2008-05-20 22:17:26 +00:00
004-darwin_fixes.patch package iproute2 has problems building on recent BSD-derived platforms 2008-08-08 21:49:17 +00:00
005-flex-generated.patch update iproute2 to 2.6.20-070313, and package genl utility 2007-06-09 13:17:46 +00:00
006-iproute2-tc_esfq.patch Update iproute2 to version 2.6.25, and fixup patches 2008-05-20 22:17:26 +00:00
007-version_includes.patch Fix compilation on 2.4 kernels 2007-06-13 17:53:46 +00:00