1 |
loki_val 08/06/29 11:54:58 |
2 |
|
3 |
Modified: l7-filter-userspace-0.6-gcc4.3compat.patch |
4 |
Log: |
5 |
Update gcc-4.3 patches to really fix bug #225761 |
6 |
(Portage version: 2.2_rc1/cvs/Linux 2.6.25.8 i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 net-misc/l7-filter-userspace/files/l7-filter-userspace-0.6-gcc4.3compat.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/l7-filter-userspace/files/l7-filter-userspace-0.6-gcc4.3compat.patch?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/l7-filter-userspace/files/l7-filter-userspace-0.6-gcc4.3compat.patch?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/l7-filter-userspace/files/l7-filter-userspace-0.6-gcc4.3compat.patch?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: l7-filter-userspace-0.6-gcc4.3compat.patch |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/l7-filter-userspace/files/l7-filter-userspace-0.6-gcc4.3compat.patch,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- l7-filter-userspace-0.6-gcc4.3compat.patch 13 Jun 2008 12:50:37 -0000 1.1 |
22 |
+++ l7-filter-userspace-0.6-gcc4.3compat.patch 29 Jun 2008 11:54:58 -0000 1.2 |
23 |
@@ -1,23 +1,61 @@ |
24 |
-diff -ru l7-filter-userspace-0.6.orig/l7-conntrack.cpp l7-filter-userspace-0.6/l7-conntrack.cpp |
25 |
---- l7-filter-userspace-0.6.orig/l7-conntrack.cpp 2008-05-08 14:28:31.000000000 +1000 |
26 |
-+++ l7-filter-userspace-0.6/l7-conntrack.cpp 2008-06-13 22:48:04.000000000 +1000 |
27 |
-@@ -21,6 +21,7 @@ |
28 |
+diff -NrU5 l7-filter-userspace-0.6.orig/l7-classify.cpp l7-filter-userspace-0.6/l7-classify.cpp |
29 |
+--- l7-filter-userspace-0.6.orig/l7-classify.cpp 2008-06-29 13:46:07.000000000 +0200 |
30 |
++++ l7-filter-userspace-0.6/l7-classify.cpp 2008-06-29 13:48:04.000000000 +0200 |
31 |
+@@ -15,10 +15,11 @@ |
32 |
+ |
33 |
+ using namespace std; |
34 |
+ |
35 |
+ #include <iostream> |
36 |
+ #include <fstream> |
37 |
++#include <cstring> |
38 |
+ |
39 |
+ #include <vector> |
40 |
+ #include <string> |
41 |
+ #include <sstream> |
42 |
+ #include <stdio.h> |
43 |
+diff -NrU5 l7-filter-userspace-0.6.orig/l7-conntrack.cpp l7-filter-userspace-0.6/l7-conntrack.cpp |
44 |
+--- l7-filter-userspace-0.6.orig/l7-conntrack.cpp 2008-06-29 13:46:07.000000000 +0200 |
45 |
++++ l7-filter-userspace-0.6/l7-conntrack.cpp 2008-06-29 13:46:58.000000000 +0200 |
46 |
+@@ -19,10 +19,11 @@ |
47 |
+ #include <stdio.h> |
48 |
+ #include <stdlib.h> |
49 |
#include <errno.h> |
50 |
#include <signal.h> |
51 |
#include <map> |
52 |
-+#include <string.h> |
53 |
++#include <cstring> |
54 |
|
55 |
extern "C" { |
56 |
#include <linux/netfilter.h> |
57 |
-diff -ru l7-filter-userspace-0.6.orig/l7-queue.cpp l7-filter-userspace-0.6/l7-queue.cpp |
58 |
---- l7-filter-userspace-0.6.orig/l7-queue.cpp 2007-05-14 12:47:09.000000000 +1000 |
59 |
-+++ l7-filter-userspace-0.6/l7-queue.cpp 2008-06-13 22:46:35.000000000 +1000 |
60 |
-@@ -35,6 +35,8 @@ |
61 |
+ #include <libnetfilter_conntrack/libnetfilter_conntrack.h> |
62 |
+ } |
63 |
+diff -NrU5 l7-filter-userspace-0.6.orig/l7-filter.cpp l7-filter-userspace-0.6/l7-filter.cpp |
64 |
+--- l7-filter-userspace-0.6.orig/l7-filter.cpp 2008-06-29 13:46:07.000000000 +0200 |
65 |
++++ l7-filter-userspace-0.6/l7-filter.cpp 2008-06-29 13:50:37.000000000 +0200 |
66 |
+@@ -20,10 +20,11 @@ |
67 |
+ using namespace std; |
68 |
+ #include <pthread.h> |
69 |
+ |
70 |
+ #include <fstream> |
71 |
+ #include <iostream> |
72 |
++#include <climits> |
73 |
+ |
74 |
+ #include <getopt.h> |
75 |
+ #include <stdio.h> |
76 |
+ #include <stdlib.h> |
77 |
+ #include <unistd.h> |
78 |
+diff -NrU5 l7-filter-userspace-0.6.orig/l7-queue.cpp l7-filter-userspace-0.6/l7-queue.cpp |
79 |
+--- l7-filter-userspace-0.6.orig/l7-queue.cpp 2008-06-29 13:46:07.000000000 +0200 |
80 |
++++ l7-filter-userspace-0.6/l7-queue.cpp 2008-06-29 13:46:58.000000000 +0200 |
81 |
+@@ -33,10 +33,12 @@ |
82 |
+ #include <errno.h> |
83 |
+ #include <signal.h> |
84 |
#include <map> |
85 |
#include <netinet/in.h> |
86 |
|
87 |
-+#include <string.h> |
88 |
++#include <cstring> |
89 |
+ |
90 |
#include "l7-conntrack.h" |
91 |
#include "l7-queue.h" |
92 |
#include "util.h" |
93 |
+ |
94 |
+ // Probably shouldn't really be global, but it's SO much easier |
95 |
|
96 |
|
97 |
|
98 |
-- |
99 |
gentoo-commits@l.g.o mailing list |