Gentoo Archives: gentoo-commits

From: "Samuli Suominen (drac)" <drac@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/xprobe/files: xprobe-0.3-gcc43.patch
Date: Sat, 03 May 2008 12:04:41
Message-Id: E1JsGTm-00050U-QL@stork.gentoo.org
1 drac 08/05/03 12:04:38
2
3 Added: xprobe-0.3-gcc43.patch
4 Log:
5 Fix building with GCC 4.3 wrt #219629. Thanks to Peter Alfredsen. Also prevent pre-stripping with simple sed.
6 (Portage version: 2.1.5_rc6)
7
8 Revision Changes Path
9 1.1 net-analyzer/xprobe/files/xprobe-0.3-gcc43.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/xprobe/files/xprobe-0.3-gcc43.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/xprobe/files/xprobe-0.3-gcc43.patch?rev=1.1&content-type=text/plain
13
14 Index: xprobe-0.3-gcc43.patch
15 ===================================================================
16 diff -ur xprobe2-0.3.orig/libs-external/USI++/src/ip.cc xprobe2-0.3/libs-external/USI++/src/ip.cc
17 --- xprobe2-0.3.orig/libs-external/USI++/src/ip.cc 2005-07-27 11:38:15.000000000 +0300
18 +++ xprobe2-0.3/libs-external/USI++/src/ip.cc 2008-05-03 14:54:03.000000000 +0300
19 @@ -13,6 +13,7 @@
20 #include "usi++/ip.h"
21
22 #include "config.h"
23 +#include <cstdlib>
24 #include <iostream>
25 #include <string.h>
26 #include <errno.h>
27 diff -ur xprobe2-0.3.orig/libs-external/USI++/src/misc.cc xprobe2-0.3/libs-external/USI++/src/misc.cc
28 --- xprobe2-0.3.orig/libs-external/USI++/src/misc.cc 2005-07-27 11:38:15.000000000 +0300
29 +++ xprobe2-0.3/libs-external/USI++/src/misc.cc 2008-05-03 14:54:03.000000000 +0300
30 @@ -1,5 +1,6 @@
31 #include "usi++/usi++"
32 #include "usi++/usi-structs.h"
33 +#include <cstdlib>
34 #include <string.h>
35 #include <unistd.h>
36 #include <sys/ioctl.h>
37 diff -ur xprobe2-0.3.orig/libs-external/USI++/usi++/tcp.h xprobe2-0.3/libs-external/USI++/usi++/tcp.h
38 --- xprobe2-0.3.orig/libs-external/USI++/usi++/tcp.h 2005-07-27 11:38:14.000000000 +0300
39 +++ xprobe2-0.3/libs-external/USI++/usi++/tcp.h 2008-05-03 14:54:03.000000000 +0300
40 @@ -15,6 +15,7 @@
41 #include "usi-structs.h"
42 #include "datalink.h"
43 #include "ip.h"
44 +#include <cstring>
45
46 namespace usipp {
47
48
49
50
51 --
52 gentoo-commits@l.g.o mailing list