Commit Graph

4 Commits (91aa0a7ca07219c2fef2686789813d98ad53b2f2)

Author SHA1 Message Date
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
Peter Denison 7a1b6c92a1 update iproute2 to 2.6.20-070313, and package genl utility
SVN-Revision: 7540
2007-06-09 13:17:46 +00:00
Felix Fietkau 9114220553 refresh all package patches in the buildroot using quilt
SVN-Revision: 7490
2007-06-04 11:25:53 +00:00
Florian Fainelli 2787236e0e Fix MacOSX build errors with iproute2 (#1533)
SVN-Revision: 6904
2007-04-08 20:59:28 +00:00