summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2009-04-05 19:14:22 +0000
committerPeter Volkov <pva@gentoo.org>2009-04-05 19:14:22 +0000
commitf52e496cb964e71b3b9604de39ec368006b2cec8 (patch)
tree5781623b3f059c66694dce7d382913c5345baceb /net-analyzer/tcpreplay/files
parentStable on amd64, bug #251832 (diff)
downloadhistorical-f52e496cb964e71b3b9604de39ec368006b2cec8.tar.gz
historical-f52e496cb964e71b3b9604de39ec368006b2cec8.tar.bz2
historical-f52e496cb964e71b3b9604de39ec368006b2cec8.zip
Version bump, bug #261201, thank DrChandra the Gentoo Person for report. Fixes statical linking with libpcap and make sure we don't use bundled libopts, bug #252940, thank Diego E. 'Flameeyes' Pettenò for report.
Package-Manager: portage-2.2_rc28/cvs/Linux i686
Diffstat (limited to 'net-analyzer/tcpreplay/files')
-rw-r--r--net-analyzer/tcpreplay/files/tcpreplay-3.4.1-errx-exit.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/net-analyzer/tcpreplay/files/tcpreplay-3.4.1-errx-exit.patch b/net-analyzer/tcpreplay/files/tcpreplay-3.4.1-errx-exit.patch
new file mode 100644
index 000000000000..1a66eb6ec04d
--- /dev/null
+++ b/net-analyzer/tcpreplay/files/tcpreplay-3.4.1-errx-exit.patch
@@ -0,0 +1,23 @@
+ * QA Notice: Package has poor programming practices which may compile
+ * fine but exhibit random runtime failures.
+ * xX.c:101: warning: implicit declaration of function 'exit'
+ * tcpdump.c:93: warning: implicit declaration of function 'exit'
+ * signal_handler.c:91: warning: implicit declaration of function 'exit'
+ * sleep.c:65: warning: implicit declaration of function 'exit'
+ * signal_handler.c:91: warning: implicit declaration of function 'exit'
+ * sleep.c:65: warning: implicit declaration of function 'exit'
+ * sleep.c:65: warning: implicit declaration of function 'exit'
+
+=== modified file 'src/common/err.h'
+--- src/common/err.h 2009-04-03 11:02:19 +0000
++++ src/common/err.h 2009-04-03 11:06:00 +0000
+@@ -50,6 +50,8 @@
+ extern int debug;
+ #endif
+
++#include <stdlib.h>
++
+ /*
+ * We define five functions for reporting errors, warnings and debug messages:
+ * err() - Fatal error. Pass exit code followed by static string
+