summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-05-03 12:04:38 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-05-03 12:04:38 +0000
commitea900ea4d143ef39e40d810e17d61e5bd59cf4da (patch)
treeb48ff9890680ec6f1e98400325828a22a5e4cee8 /net-analyzer/xprobe/files
parentAdding patch to fix security bug #219754 (diff)
downloadhistorical-ea900ea4d143ef39e40d810e17d61e5bd59cf4da.tar.gz
historical-ea900ea4d143ef39e40d810e17d61e5bd59cf4da.tar.bz2
historical-ea900ea4d143ef39e40d810e17d61e5bd59cf4da.zip
Fix building with GCC 4.3 wrt #219629. Thanks to Peter Alfredsen. Also prevent pre-stripping with simple sed.
Package-Manager: portage-2.1.5_rc6
Diffstat (limited to 'net-analyzer/xprobe/files')
-rw-r--r--net-analyzer/xprobe/files/xprobe-0.3-gcc43.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/net-analyzer/xprobe/files/xprobe-0.3-gcc43.patch b/net-analyzer/xprobe/files/xprobe-0.3-gcc43.patch
new file mode 100644
index 000000000000..1b34690411b2
--- /dev/null
+++ b/net-analyzer/xprobe/files/xprobe-0.3-gcc43.patch
@@ -0,0 +1,32 @@
+diff -ur xprobe2-0.3.orig/libs-external/USI++/src/ip.cc xprobe2-0.3/libs-external/USI++/src/ip.cc
+--- xprobe2-0.3.orig/libs-external/USI++/src/ip.cc 2005-07-27 11:38:15.000000000 +0300
++++ xprobe2-0.3/libs-external/USI++/src/ip.cc 2008-05-03 14:54:03.000000000 +0300
+@@ -13,6 +13,7 @@
+ #include "usi++/ip.h"
+
+ #include "config.h"
++#include <cstdlib>
+ #include <iostream>
+ #include <string.h>
+ #include <errno.h>
+diff -ur xprobe2-0.3.orig/libs-external/USI++/src/misc.cc xprobe2-0.3/libs-external/USI++/src/misc.cc
+--- xprobe2-0.3.orig/libs-external/USI++/src/misc.cc 2005-07-27 11:38:15.000000000 +0300
++++ xprobe2-0.3/libs-external/USI++/src/misc.cc 2008-05-03 14:54:03.000000000 +0300
+@@ -1,5 +1,6 @@
+ #include "usi++/usi++"
+ #include "usi++/usi-structs.h"
++#include <cstdlib>
+ #include <string.h>
+ #include <unistd.h>
+ #include <sys/ioctl.h>
+diff -ur xprobe2-0.3.orig/libs-external/USI++/usi++/tcp.h xprobe2-0.3/libs-external/USI++/usi++/tcp.h
+--- xprobe2-0.3.orig/libs-external/USI++/usi++/tcp.h 2005-07-27 11:38:14.000000000 +0300
++++ xprobe2-0.3/libs-external/USI++/usi++/tcp.h 2008-05-03 14:54:03.000000000 +0300
+@@ -15,6 +15,7 @@
+ #include "usi-structs.h"
+ #include "datalink.h"
+ #include "ip.h"
++#include <cstring>
+
+ namespace usipp {
+