From 41b37f46e9da190493ebd478a4df86b6cf55d073 Mon Sep 17 00:00:00 2001 From: Sven Wegener Date: Sun, 15 Jun 2008 18:38:20 +0000 Subject: Add gcc-4.3 compability patch. (Portage version: 2.1.5.5) --- net-dns/pdns-recursor/ChangeLog | 6 +++++- .../pdns-recursor/files/pdns-recursor-3.1.6-gcc-4.3.patch | 12 ++++++++++++ net-dns/pdns-recursor/pdns-recursor-3.1.6.ebuild | 5 ++++- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 net-dns/pdns-recursor/files/pdns-recursor-3.1.6-gcc-4.3.patch (limited to 'net-dns/pdns-recursor') diff --git a/net-dns/pdns-recursor/ChangeLog b/net-dns/pdns-recursor/ChangeLog index 3e27d7ea7e05..778440bfcc11 100644 --- a/net-dns/pdns-recursor/ChangeLog +++ b/net-dns/pdns-recursor/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-dns/pdns-recursor # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/ChangeLog,v 1.19 2008/05/03 14:22:31 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/ChangeLog,v 1.20 2008/06/15 18:38:19 swegener Exp $ + + 15 Jun 2008; Sven Wegener + +files/pdns-recursor-3.1.6-gcc-4.3.patch, pdns-recursor-3.1.6.ebuild: + Add gcc-4.3 compability patch. *pdns-recursor-3.1.6 (03 May 2008) diff --git a/net-dns/pdns-recursor/files/pdns-recursor-3.1.6-gcc-4.3.patch b/net-dns/pdns-recursor/files/pdns-recursor-3.1.6-gcc-4.3.patch new file mode 100644 index 000000000000..f36db1503531 --- /dev/null +++ b/net-dns/pdns-recursor/files/pdns-recursor-3.1.6-gcc-4.3.patch @@ -0,0 +1,12 @@ +gcc-4.3 no longer includes this by default. + +--- pdns-recursor-3.1.6/dns_random.cc ++++ pdns-recursor-3.1.6/dns_random.cc +@@ -1,6 +1,7 @@ + #include "aescpp.h" + #include + #include ++#include + #include + #include + #include diff --git a/net-dns/pdns-recursor/pdns-recursor-3.1.6.ebuild b/net-dns/pdns-recursor/pdns-recursor-3.1.6.ebuild index b57778e19975..c05c5498d1e4 100644 --- a/net-dns/pdns-recursor/pdns-recursor-3.1.6.ebuild +++ b/net-dns/pdns-recursor/pdns-recursor-3.1.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/pdns-recursor-3.1.6.ebuild,v 1.1 2008/05/03 14:22:31 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/pdns-recursor-3.1.6.ebuild,v 1.2 2008/06/15 18:38:19 swegener Exp $ inherit toolchain-funcs flag-o-matic @@ -19,6 +19,9 @@ RDEPEND="${DEPEND} src_unpack() { unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-gcc-4.3.patch sed -i -e s:/var/run/:/var/lib/powerdns: "${S}"/config.h || die } -- cgit v1.2.3-65-gdbad