aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-06-06 14:21:32 +0800
committermiwi <miwi@FreeBSD.org>2007-06-06 14:21:32 +0800
commit6cb6872e473534c3fcd58a2a5e30534a298cff55 (patch)
treecfc6635d21b482cd2782dbffb477757c8d923e3c /dns
parent5450a789c2f5870e86c4038764ae1524c2e9b2e5 (diff)
downloadfreebsd-ports-gnome-6cb6872e473534c3fcd58a2a5e30534a298cff55.tar.gz
freebsd-ports-gnome-6cb6872e473534c3fcd58a2a5e30534a298cff55.tar.zst
freebsd-ports-gnome-6cb6872e473534c3fcd58a2a5e30534a298cff55.zip
- Fix build with gcc 4.2
Submitted by: pointhat via kris Sten Spans <sten@blinkenlights.nl> (maintainer)
Diffstat (limited to 'dns')
-rw-r--r--dns/powerdns-recursor/Makefile2
-rw-r--r--dns/powerdns-recursor/files/patch-gcc-skip-locking11
2 files changed, 12 insertions, 1 deletions
diff --git a/dns/powerdns-recursor/Makefile b/dns/powerdns-recursor/Makefile
index d2438e8704e5..f06e38fad9ec 100644
--- a/dns/powerdns-recursor/Makefile
+++ b/dns/powerdns-recursor/Makefile
@@ -7,7 +7,7 @@
PORTNAME= powerdns-recursor
PORTVERSION= 3.1.4
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= dns ipv6
MASTER_SITES= http://downloads.powerdns.com/releases/ \
http://mirrors.evolva.ro/powerdns.com/releases/
diff --git a/dns/powerdns-recursor/files/patch-gcc-skip-locking b/dns/powerdns-recursor/files/patch-gcc-skip-locking
new file mode 100644
index 000000000000..1899b8872264
--- /dev/null
+++ b/dns/powerdns-recursor/files/patch-gcc-skip-locking
@@ -0,0 +1,11 @@
+--- config.h.bak Sun Nov 12 16:56:13 2006
++++ config.h Wed Jun 6 08:01:20 2007
+@@ -1,7 +1,6 @@
+-#define SYSCONFDIR "/etc/powerdns/"
++#define SYSCONFDIR "/usr/local/etc/pdns/"
+ #define LOCALSTATEDIR "/var/run/"
+ #define VERSION "3.1.4"
+ #define RECURSOR
+ #ifndef WIN32
+-#define GCC_SKIP_LOCKING
+ #endif