aboutsummaryrefslogtreecommitdiffstats
path: root/security/libfwbuilder
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>2007-07-22 05:09:29 +0800
committerse <se@FreeBSD.org>2007-07-22 05:09:29 +0800
commita2a4fcb56082409235710095c9893cdfad5a9ea0 (patch)
tree249f7e291871c2a4c4acebfaa88dc3a55fd2c0e8 /security/libfwbuilder
parent524938792238b95d5b7a54bfb5210aab657283f3 (diff)
downloadfreebsd-ports-gnome-a2a4fcb56082409235710095c9893cdfad5a9ea0.tar.gz
freebsd-ports-gnome-a2a4fcb56082409235710095c9893cdfad5a9ea0.tar.zst
freebsd-ports-gnome-a2a4fcb56082409235710095c9893cdfad5a9ea0.zip
Fix build with gcc-4.2: Declare a function and an operator in the
correct scope. This patch was found on the PLD commit list archived under URL: http://www.mail-archive.com/pld-cvs-commit@lists.pld-linux.org/msg104002.html
Diffstat (limited to 'security/libfwbuilder')
-rw-r--r--security/libfwbuilder/files/patch-IPAddress.h10
-rw-r--r--security/libfwbuilder/files/patch-dns.h10
2 files changed, 20 insertions, 0 deletions
diff --git a/security/libfwbuilder/files/patch-IPAddress.h b/security/libfwbuilder/files/patch-IPAddress.h
new file mode 100644
index 000000000000..4350b51e54e1
--- /dev/null
+++ b/security/libfwbuilder/files/patch-IPAddress.h
@@ -0,0 +1,10 @@
+--- /usr/ports/security/libfwbuilder/work/libfwbuilder-2.1.12/src/fwbuilder/IPAddress.h~ 2006-08-18 05:59:32.000000000 +0200
++++ /usr/ports/security/libfwbuilder/work/libfwbuilder-2.1.12/src/fwbuilder/IPAddress.h 2007-07-14 17:09:06.406044356 +0200
+@@ -47,6 +47,7 @@
+ {
+
+ class Netmask;
++ Netmask operator~(const Netmask &nm);
+
+ class IPAddress
+ {
diff --git a/security/libfwbuilder/files/patch-dns.h b/security/libfwbuilder/files/patch-dns.h
new file mode 100644
index 000000000000..34576d3bdd9f
--- /dev/null
+++ b/security/libfwbuilder/files/patch-dns.h
@@ -0,0 +1,10 @@
+--- /usr/ports/security/libfwbuilder/work/libfwbuilder-2.1.12/src/fwbuilder/dns.h~ 2007-07-14 16:58:54.973991313 +0200
++++ /usr/ports/security/libfwbuilder/work/libfwbuilder-2.1.12/src/fwbuilder/dns.h 2007-07-14 17:08:29.365424298 +0200
+@@ -69,6 +69,7 @@
+ {
+
+ void init_dns() throw(FWException);
++ void *DNS_bulkBackResolve_Thread(void *);
+
+
+ class HostEnt