summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2008-06-15 18:38:20 +0000
committerSven Wegener <swegener@gentoo.org>2008-06-15 18:38:20 +0000
commit9578279631fdb551dffbb050df43c50a20c1b060 (patch)
treed0d0787ca45289d83aa8692bcbba7838298563ee /net-dns
parentalpha/ia64/sparc/x86 stable wrt #227179 (diff)
downloadhistorical-9578279631fdb551dffbb050df43c50a20c1b060.tar.gz
historical-9578279631fdb551dffbb050df43c50a20c1b060.tar.bz2
historical-9578279631fdb551dffbb050df43c50a20c1b060.zip
Add gcc-4.3 compability patch.
Package-Manager: portage-2.1.5.5
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/pdns-recursor/ChangeLog6
-rw-r--r--net-dns/pdns-recursor/Manifest11
-rw-r--r--net-dns/pdns-recursor/files/pdns-recursor-3.1.6-gcc-4.3.patch12
-rw-r--r--net-dns/pdns-recursor/pdns-recursor-3.1.6.ebuild5
4 files changed, 27 insertions, 7 deletions
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 <swegener@gentoo.org>
+ +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/Manifest b/net-dns/pdns-recursor/Manifest
index b5abd84175eb..74bdd8d1c458 100644
--- a/net-dns/pdns-recursor/Manifest
+++ b/net-dns/pdns-recursor/Manifest
@@ -1,18 +1,19 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX pdns-recursor-3.1.6-gcc-4.3.patch 286 RMD160 e83a67968952e9345e702b50eb7a1022fd831899 SHA1 656cca5c67ae12ea3f037d94a80c94f4634ac5e1 SHA256 b478865b2f2ccae41a5a516c86994c58307d065bc26234d670e12bd0dfe4c1d0
AUX precursor 580 RMD160 71be0984e72763e09173b81f7a76bb5df56667a6 SHA1 ea316b070e8eb123f02e24cd60c568b4dd5aefc6 SHA256 f17d76262bea558604fa01e9d661bbb54af387bd976b54a8a59f7ad4a5a56014
AUX recursor.conf 452 RMD160 6708700e955dd29041e360d5f0a68c9d3293d665 SHA1 455cbbd4335dbd032b2274498044ba680693d306 SHA256 b36b3310a26785d5e8a38c03bce9afcf8a08e321a81ee385e9557dcaa3957255
DIST pdns-recursor-3.1.5.tar.bz2 171466 RMD160 c09b4e594b410085e23d9319d14b41f611b0fddf SHA1 5f341955e7027f28383704012dd410eef4698fd7 SHA256 8fde0df7033ee66e720b422038c827d7443ea8eb0e1077da19b34402d9b8d10e
DIST pdns-recursor-3.1.6.tar.bz2 171424 RMD160 dc62fc2efb5d0f5840dfff1b8156197062020a47 SHA1 9d3a7a92afbb6c0ae75c9d5eab396e524c3e8c31 SHA256 55bbb45d2395a2af4fd0c07ad65a59e29e426c1820dc3c4bff6a65876b4206f5
EBUILD pdns-recursor-3.1.5.ebuild 1191 RMD160 897496eb89c5210be3769dba4ee8a0a44b091ca2 SHA1 03722d29b82b50450936ac922f4b2cc2bffe92a5 SHA256 7db98d40bd3c6a87028dde1d9289b00527ba4936d0cb2dcf727f6fb4966a9c0f
-EBUILD pdns-recursor-3.1.6.ebuild 1193 RMD160 d0648ce3fa6bf01abfc5c9020cebe19bdb7e6a72 SHA1 b3b2e49da7a520454ee670ec26319fec5ff81244 SHA256 174b44853bff9299c5a05e0fdf9e10d056167dea10d4bbac29f19038a517309c
-MISC ChangeLog 3455 RMD160 b3d8577fcac5a45133ca37ab7159204984fe2659 SHA1 4f10cd330391c6b2137db5b3b7e0f51e2a093761 SHA256 9649f83697a81dbfa50fb57748f124a8aaba78af8da18db4e0b7da62084e5722
+EBUILD pdns-recursor-3.1.6.ebuild 1246 RMD160 92d82e4009d8f9e7151160aaae62d0ece6bfe7d4 SHA1 7e1aef5e333b3ae610e4e6f4dc481fc1d2c42c58 SHA256 53e702658da480980f53a4fe2861314bd63164405e6f300905e4c9e75439829c
+MISC ChangeLog 3611 RMD160 3c84e0425e924dddbc0ba4539966e2d7540e9f05 SHA1 fc1b4310ad66261fa53c892f56bf1653e557458c SHA256 5eeee2c41c7a007666ce350d209321d1de1d8733702d6c05d27a04b344097c13
MISC metadata.xml 837 RMD160 2622852a4345606d2ffe85a68f50f332a1dbd696 SHA1 4b574c68576b1c058956085df7a07e250361455c SHA256 742f9fd882ba627c0a7b26dff7fe7b439b8ccf728a1394725bbd85f2a28a7d4b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFIHHUuI1lqEGTUzyQRAgloAKCo+7TLEOdvHu2JxTsS3l3LdXaHZgCfYK5C
-DW0irERWJFVwxY6juw6Pe2g=
-=n+Hy
+iD8DBQFIVWGjI1lqEGTUzyQRAgtwAKCwtOOhhCIFXYZFjvR2Ikb0ipaE9ACgoLkA
+kQFLSGQqGN3Eyhn9OhXaaUw=
+=rfqm
-----END PGP SIGNATURE-----
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 <iostream>
+ #include <cstring>
++#include <limits>
+ #include <sys/types.h>
+ #include <unistd.h>
+ #include <sys/time.h>
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
}