summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2012-01-22 20:36:55 +0000
committerSven Wegener <swegener@gentoo.org>2012-01-22 20:36:55 +0000
commitb9485c22c565c238bf0e39de01393f87ca290727 (patch)
treec3a7fc8bd456e959f0411abe690d81608530ea4b /net-dns
parentFix building with media-libs/tiff >= 4.0.0_pre wrt #319383 by Helmut Jarausch (diff)
downloadgentoo-2-b9485c22c565c238bf0e39de01393f87ca290727.tar.gz
gentoo-2-b9485c22c565c238bf0e39de01393f87ca290727.tar.bz2
gentoo-2-b9485c22c565c238bf0e39de01393f87ca290727.zip
Fix build with USE="debug", bug #398703.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/pdns/ChangeLog6
-rw-r--r--net-dns/pdns/files/pdns-3.0-verbose-logging.patch11
-rw-r--r--net-dns/pdns/pdns-3.0.1.ebuild5
-rw-r--r--net-dns/pdns/pdns-3.0.ebuild7
4 files changed, 23 insertions, 6 deletions
diff --git a/net-dns/pdns/ChangeLog b/net-dns/pdns/ChangeLog
index 958fb1f32295..948e4fc1da95 100644
--- a/net-dns/pdns/ChangeLog
+++ b/net-dns/pdns/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-dns/pdns
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.73 2012/01/12 19:05:38 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.74 2012/01/22 20:36:55 swegener Exp $
+
+ 22 Jan 2012; Sven Wegener <swegener@gentoo.org> pdns-3.0.ebuild,
+ pdns-3.0.1.ebuild, +files/pdns-3.0-verbose-logging.patch:
+ Fix build with USE="debug", bug #398703.
*pdns-2.9.22.5 (12 Jan 2012)
diff --git a/net-dns/pdns/files/pdns-3.0-verbose-logging.patch b/net-dns/pdns/files/pdns-3.0-verbose-logging.patch
new file mode 100644
index 000000000000..d3324b8395b6
--- /dev/null
+++ b/net-dns/pdns/files/pdns-3.0-verbose-logging.patch
@@ -0,0 +1,11 @@
+Index: trunk/pdns/pdns/nameserver.cc
+===================================================================
+--- trunk/pdns/pdns/nameserver.cc (revision 2230)
++++ trunk/pdns/pdns/nameserver.cc (revision 2259)
+@@ -180,5 +180,5 @@
+ {
+ const string& buffer=p->getString();
+- DLOG(L<<Logger::Notice<<"Sending a packet to "<< p->remote.toString() <<" ("<< buffer.length()<<" octets)"<<endl);
++ DLOG(L<<Logger::Notice<<"Sending a packet to "<< p->getRemote() <<" ("<< buffer.length()<<" octets)"<<endl);
+ if(buffer.length() > p->getMaxReplyLen()) {
+ cerr<<"Weird, trying to send a message that needs truncation, "<< buffer.length()<<" > "<<p->getMaxReplyLen()<<endl;
diff --git a/net-dns/pdns/pdns-3.0.1.ebuild b/net-dns/pdns/pdns-3.0.1.ebuild
index 664405474dfc..bd644cf49cb1 100644
--- a/net-dns/pdns/pdns-3.0.1.ebuild
+++ b/net-dns/pdns/pdns-3.0.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/pdns-3.0.1.ebuild,v 1.2 2012/01/12 17:29:56 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/pdns-3.0.1.ebuild,v 1.3 2012/01/22 20:36:55 swegener Exp $
EAPI=2
@@ -26,7 +26,8 @@ DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
src_prepare() {
- epatch "${FILESDIR}"/${PN}-3.0-lua-config.patch
+ epatch "${FILESDIR}"/${PN}-3.0-lua-config.patch \
+ "${FILESDIR}"/${PN}-3.0-verbose-logging.patch
eautoreconf
}
diff --git a/net-dns/pdns/pdns-3.0.ebuild b/net-dns/pdns/pdns-3.0.ebuild
index e17449fbb97e..b643402a0570 100644
--- a/net-dns/pdns/pdns-3.0.ebuild
+++ b/net-dns/pdns/pdns-3.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/pdns-3.0.ebuild,v 1.2 2011/07/30 09:59:10 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/pdns-3.0.ebuild,v 1.3 2012/01/22 20:36:55 swegener Exp $
EAPI=2
@@ -26,7 +26,8 @@ DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
src_prepare() {
- epatch "${FILESDIR}"/${P}-lua-config.patch
+ epatch "${FILESDIR}"/${P}-lua-config.patch \
+ "${FILESDIR}"/${PN}-3.0-verbose-logging.patch
eautoreconf
}