FreeBSD has no alloca.h which is included from porting.h. BSD's libc defines alloca() on stdlib.h. (also, glibc's stdlib.h already includes alloca.h, which is already included from porting.h fwiw) Can it be moved down to the #if defined(__linux__) ? @@ -33,11 +33,11 @@ #include <pwd.h> #include <fnmatch.h> #include <regex.h> -#include <alloca.h> #include <sys/mman.h> #include "elf.h" #if defined(__linux__) +# include <alloca.h> # include <endian.h> # include <byteswap.h> #elif defined(__FreeBSD__)
looks fine ... committed, thanks
Please add it back for Solaris, Darwin, AIX, ... BSD is not the only thing in this world.
changed it to include for everyone but freebsd
*** Bug 248735 has been marked as a duplicate of this bug. ***
Alexis: the fix is on cvs, we may just remove the keyword for this version and wait for the next bump.
or grab the two revisions and apply as patch in the ebuild?
(In reply to comment #6) > or grab the two revisions and apply as patch in the ebuild? > Up to the maintainers. (I thought they did that o_o)
ive put out a new version