summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2002-08-26 23:58:05 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2002-08-26 23:58:05 +0000
commit70a08586aa02fc452128ffa60805dae75e8caa24 (patch)
tree0a3d8f4af99673688f916e4dade651548930d2ad /net-libs
parentalpha portage (diff)
downloadgentoo-2-70a08586aa02fc452128ffa60805dae75e8caa24.tar.gz
gentoo-2-70a08586aa02fc452128ffa60805dae75e8caa24.tar.bz2
gentoo-2-70a08586aa02fc452128ffa60805dae75e8caa24.zip
Created patch to fix broken C++ code (shows up on gcc3.2). Resolves bug #6926
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libfwbuilder/ChangeLog11
-rw-r--r--net-libs/libfwbuilder/files/FWReference.cc-gcc3-gentoo.patch10
-rw-r--r--net-libs/libfwbuilder/files/digest-libfwbuilder-0.10.8-r11
-rw-r--r--net-libs/libfwbuilder/libfwbuilder-0.10.8-r1.ebuild48
4 files changed, 69 insertions, 1 deletions
diff --git a/net-libs/libfwbuilder/ChangeLog b/net-libs/libfwbuilder/ChangeLog
index 7b0c6deecd80..6b8aa538d8af 100644
--- a/net-libs/libfwbuilder/ChangeLog
+++ b/net-libs/libfwbuilder/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for net-libs/libfwbuilder
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libfwbuilder/ChangeLog,v 1.5 2002/08/05 09:10:23 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libfwbuilder/ChangeLog,v 1.6 2002/08/26 23:58:05 mkennedy Exp $
+
+*libfwbuilder-0.10.8-r1 (26 Aug 2002)
+
+ 26 Aug 2002; Matthew Kennedy <mkennedy@gentoo.org>
+ libfwbuilder-0.10.8-r1.ebuild, files/digest-libfwbuilder-0.10.8-r1,
+ files/FWReference.cc-gcc3-gentoo.patch, ChangeLog : :
+
+ Created patch to fix broken C++ code (shows up on gcc3.2). Resolves
+ bug #6926.
*libfwbuilder-0.10.8 (05 July 2002)
diff --git a/net-libs/libfwbuilder/files/FWReference.cc-gcc3-gentoo.patch b/net-libs/libfwbuilder/files/FWReference.cc-gcc3-gentoo.patch
new file mode 100644
index 000000000000..6dba0e1c89d3
--- /dev/null
+++ b/net-libs/libfwbuilder/files/FWReference.cc-gcc3-gentoo.patch
@@ -0,0 +1,10 @@
+--- FWReference.cc 2002-07-29 02:21:18.000000000 -0500
++++ FWReference.cc~ 2002-08-26 18:45:04.000000000 -0500
+@@ -33,6 +33,7 @@
+ #endif
+
+ using namespace libfwbuilder;
++using namespace std;
+
+ const char *FWReference::TYPENAME={"Ref"};
+
diff --git a/net-libs/libfwbuilder/files/digest-libfwbuilder-0.10.8-r1 b/net-libs/libfwbuilder/files/digest-libfwbuilder-0.10.8-r1
new file mode 100644
index 000000000000..7fcc2d9b97be
--- /dev/null
+++ b/net-libs/libfwbuilder/files/digest-libfwbuilder-0.10.8-r1
@@ -0,0 +1 @@
+MD5 6515182028de9eef354b126ede7fa03c libfwbuilder-0.10.8.tar.gz 218625
diff --git a/net-libs/libfwbuilder/libfwbuilder-0.10.8-r1.ebuild b/net-libs/libfwbuilder/libfwbuilder-0.10.8-r1.ebuild
new file mode 100644
index 000000000000..f16868371681
--- /dev/null
+++ b/net-libs/libfwbuilder/libfwbuilder-0.10.8-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /home/cvsroot/gentoo-x86/net-libs/libfwbuilder/libfwbuilder-0.10.8.ebuild,v 1.0
+
+MY_PN=${PN/lib/}
+DESCRIPTION="A firewall GUI"
+SRC_URI="mirror://sourceforge/${MY_PN}/${P}.tar.gz"
+HOMEPAGE="http://fwbuilder.sourceforge.net"
+S=${WORKDIR}/${P}
+
+KEYWORDS="x86 sparc sparc64"
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND=">=dev-libs/libsigc++-1.0
+ >=dev-libs/libxslt-1.0.7
+ >=net-analyzer/ucd-snmp-4.2.3
+ ssl? ( dev-libs/openssl )"
+RDEPEND=${DEPEND}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/src/fwbuilder && \
+ patch -p0 <${FILESDIR}/FWReference.cc-gcc3-gentoo.patch || die
+}
+
+src_compile() {
+ local myconf
+
+ use static && myconf="${myconf} --disable-shared --enable-static=yes"
+ use ssl || myconf="${myconf} --without-openssl"
+
+ ./autogen.sh \
+ --prefix=/usr \
+ --host=${CHOST} \
+ ${myconf} || die "./configure failed"
+
+ if [ "`use static`" ] ; then
+ emake LDFLAGS="-static" || die "emake LDFLAGS failed"
+ else
+ emake || die "emake failed"
+ fi
+}
+
+src_install() {
+ emake DESTDIR=${D} install || die "emake install failed"
+ prepalldocs
+}