summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2009-02-15 20:41:23 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2009-02-15 20:41:23 +0000
commit57b7df9faf0b446a5411654e87ee135a3c764448 (patch)
tree58b35ad233affe540525198d0d9ea429e0caec84 /net-firewall/itval/files
parentFix build with GCC 4.3. Patch by Arttu Valo in bug #251705 (diff)
downloadhistorical-57b7df9faf0b446a5411654e87ee135a3c764448.tar.gz
historical-57b7df9faf0b446a5411654e87ee135a3c764448.tar.bz2
historical-57b7df9faf0b446a5411654e87ee135a3c764448.zip
Adding gcc-4.3 patch per bug 251442. Thanks to Gene Seto <geneseto@hotmail.com> for the patch.
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'net-firewall/itval/files')
-rw-r--r--net-firewall/itval/files/itval-1.0-gcc43.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/net-firewall/itval/files/itval-1.0-gcc43.patch b/net-firewall/itval/files/itval-1.0-gcc43.patch
new file mode 100644
index 000000000000..d8a892b0b75e
--- /dev/null
+++ b/net-firewall/itval/files/itval-1.0-gcc43.patch
@@ -0,0 +1,26 @@
+/usr/include/alloca.h:
+diff -rupN ITVal-1.0b/FDDL/api.cc ITVal-1.0/FDDL/api.cc
+--- ITVal-1.0b/FDDL/api.cc 2009-01-22 17:22:54.000000000 -0400
++++ ITVal-1.0/FDDL/api.cc 2009-01-22 17:24:09.000000000 -0400
+@@ -26,8 +26,8 @@ College of William and Mary
+ Williamsburg, VA 23185
+ */
+
+-#include <stdio.h>
+ #include <assert.h>
++#include <climits>
+ #include <FDDL/mdd.h>
+
+ #define MAX(a, b) (a>b ? a : b)
+diff -rupN ITVal-1.0b/src/fwmdd.h ITVal-1.0/src/fwmdd.h
+--- ITVal-1.0b/src/fwmdd.h 2009-01-22 17:22:54.000000000 -0400
++++ ITVal-1.0/src/fwmdd.h 2009-01-22 17:27:51.000000000 -0400
+@@ -135,7 +135,7 @@ class fw_fddl_forest:public fddl_forest
+ int InternalGetServiceArcs(level k, node_idx p, int* src, int* dst,
+ int* low, int* high, service*&output, int& numArcs);
+ void PrintPort (mdd_handle h, level k);
+- int PrintPort (level k, node_idx p, int highByte, int depth, portset * p);
++ int PrintPort (level k, node_idx p, int highByte, int depth, portset * ps);
+ };
+
+ #endif