diff options
author | Peter Alfredsen <loki_val@gentoo.org> | 2009-02-15 20:41:23 +0000 |
---|---|---|
committer | Peter Alfredsen <loki_val@gentoo.org> | 2009-02-15 20:41:23 +0000 |
commit | 57b7df9faf0b446a5411654e87ee135a3c764448 (patch) | |
tree | 58b35ad233affe540525198d0d9ea429e0caec84 /net-firewall/itval | |
parent | Fix build with GCC 4.3. Patch by Arttu Valo in bug #251705 (diff) | |
download | historical-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')
-rw-r--r-- | net-firewall/itval/ChangeLog | 9 | ||||
-rw-r--r-- | net-firewall/itval/Manifest | 5 | ||||
-rw-r--r-- | net-firewall/itval/files/itval-1.0-gcc43.patch | 26 | ||||
-rw-r--r-- | net-firewall/itval/itval-1.0.ebuild | 10 |
4 files changed, 44 insertions, 6 deletions
diff --git a/net-firewall/itval/ChangeLog b/net-firewall/itval/ChangeLog index 82b8217de685..6faf346753a4 100644 --- a/net-firewall/itval/ChangeLog +++ b/net-firewall/itval/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-firewall/itval -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/itval/ChangeLog,v 1.1 2007/05/23 09:12:37 jokey Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-firewall/itval/ChangeLog,v 1.2 2009/02/15 20:41:23 loki_val Exp $ + + 15 Feb 2009; Peter Alfredsen <loki_val@gentoo.org> + +files/itval-1.0-gcc43.patch, itval-1.0.ebuild: + Adding gcc-4.3 patch per bug 251442. Thanks to Gene Seto + <geneseto@hotmail.com> for the patch. *itval-1.0 (23 May 2007) diff --git a/net-firewall/itval/Manifest b/net-firewall/itval/Manifest index 9bf53682b671..cce010efa853 100644 --- a/net-firewall/itval/Manifest +++ b/net-firewall/itval/Manifest @@ -1,4 +1,5 @@ +AUX itval-1.0-gcc43.patch 987 RMD160 e1921e416cc0f7c45a347c2ad3ea404879329862 SHA1 f07b0fa3107452ecd345f9f171b61de7585d569d SHA256 09d024d3a1db61431cc12f1921275dba1551eac000276a77c7c5c685837fc10f DIST ITVal-1.0.tar.bz2 321747 RMD160 1b538f48f9ce059f7603c486991cee8cacb80592 SHA1 afc083554957c28b81d86a0295d3287431ffcddf SHA256 2b2f994a166cea87a18fc06cff33448f9384ad70d16d35f19bf34a2996a424d3 -EBUILD itval-1.0.ebuild 657 RMD160 ecb2dbe24c3280655269f267075972f1200243c9 SHA1 f7a9ec62383c27da5da4ecdc104088a7ec429cc1 SHA256 5bf18977087b7d276596b864eed81d27fe47614c4b5996fecffc3bacaa2122dd -MISC ChangeLog 382 RMD160 d6575742586b03dc95ccfa3768295be7ee2942e9 SHA1 09bd944b7b8579421dedd2403452703512d883da SHA256 15bf696d7ef920419e0d84703a57865e8be21e3e4d643ba4952c9a3ada3c2b28 +EBUILD itval-1.0.ebuild 741 RMD160 71c042dae39b7bf2feaf5c7662c09c5fed86273b SHA1 ec7172e8d66d909bd7bb49e0ad6fdfbf09bfd4d6 SHA256 e75ebd5bf54af560f6a9e7c407adbb792c35bdf19b8dcdb9cc494f01bb466ef0 +MISC ChangeLog 588 RMD160 49c96bb9a5f4c920ed1db872f5ad2a73f655fae2 SHA1 9ea2395eab566f9dcaca8488b5c38570e1e4d4e7 SHA256 d59608157e5111d93c4af42d2cd8097ba273748f6aa22331e3ee10d32c70339d MISC metadata.xml 160 RMD160 2738573ec519cbef4b293bc132f7dd9d02291137 SHA1 29b8b234e0f3a475b50bd4df1ef8b4e5749823ce SHA256 39e232fc7ec88ca0b077cb3950cb39d15cd990842b88d5bfe14f02f34d72f37b 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 diff --git a/net-firewall/itval/itval-1.0.ebuild b/net-firewall/itval/itval-1.0.ebuild index 76e14dce9b5f..d9ca58fd1b04 100644 --- a/net-firewall/itval/itval-1.0.ebuild +++ b/net-firewall/itval/itval-1.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/itval/itval-1.0.ebuild,v 1.1 2007/05/23 09:12:37 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-firewall/itval/itval-1.0.ebuild,v 1.2 2009/02/15 20:41:23 loki_val Exp $ inherit eutils flag-o-matic @@ -18,6 +18,12 @@ DEPEND="sys-devel/bison S=${WORKDIR}/ITVal-${PV} +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-gcc43.patch" +} + src_install(){ make DESTDIR="${D}" install || die "make install failed" doman itval.n |