diff options
author | Florian Fainelli <florian@openwrt.org> | 2008-08-08 21:49:17 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2008-08-08 21:49:17 +0000 |
commit | e71cdf8127b31e8edbdfb6041a915fe2a7e8776d (patch) | |
tree | 8ad2e7e85cce535cb675138bdcd1f0efc34c833c /include | |
parent | 80e83652aed11f516b5d8f23d586f409a75b8726 (diff) | |
download | upstream-e71cdf8127b31e8edbdfb6041a915fe2a7e8776d.tar.gz upstream-e71cdf8127b31e8edbdfb6041a915fe2a7e8776d.tar.bz2 upstream-e71cdf8127b31e8edbdfb6041a915fe2a7e8776d.zip |
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
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions