diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-01-14 04:32:20 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-01-14 04:32:20 +0000 |
commit | 1f3d7af50eeaf1dee5eaaa39853e45ccffd85f8a (patch) | |
tree | 85d353589b81a41c86b5907acca28ed461a10517 /dev-util/pretrace/files | |
parent | Fix building with newer glibc #247936 by Diego E. Pettenò. (diff) | |
download | historical-1f3d7af50eeaf1dee5eaaa39853e45ccffd85f8a.tar.gz historical-1f3d7af50eeaf1dee5eaaa39853e45ccffd85f8a.tar.bz2 historical-1f3d7af50eeaf1dee5eaaa39853e45ccffd85f8a.zip |
Fix by Bandan for building with newer glibc #227923.
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.28 x86_64
Diffstat (limited to 'dev-util/pretrace/files')
-rw-r--r-- | dev-util/pretrace/files/pretrace-0.4-build.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-util/pretrace/files/pretrace-0.4-build.patch b/dev-util/pretrace/files/pretrace-0.4-build.patch new file mode 100644 index 000000000000..4d7056fa83f7 --- /dev/null +++ b/dev-util/pretrace/files/pretrace-0.4-build.patch @@ -0,0 +1,15 @@ +fix building with newer glibc + +http://bugs.gentoo.org/227923 + +--- pretrace.h ++++ pretrace.h +@@ -20,3 +20,8 @@ + #include <sys/time.h> + # define RANDOMIZE(x) { struct timeval tv; gettimeofday(&tv, NULL); x = tv.tv_usec; } + #endif ++ ++#include <unistd.h> ++#ifndef ARG_MAX ++# define ARG_MAX sysconf(_SC_ARG_MAX) ++#endif |