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
commit41b37f46e9da190493ebd478a4df86b6cf55d073 (patch)
tree375246fca86d3dd0406065a51b3eb3829f103803 /net-dns/pdns-recursor/files
parentalpha/ia64/sparc/x86 stable wrt #227179 (diff)
downloadgentoo-2-41b37f46e9da190493ebd478a4df86b6cf55d073.tar.gz
gentoo-2-41b37f46e9da190493ebd478a4df86b6cf55d073.tar.bz2
gentoo-2-41b37f46e9da190493ebd478a4df86b6cf55d073.zip
Add gcc-4.3 compability patch.
(Portage version: 2.1.5.5)
Diffstat (limited to 'net-dns/pdns-recursor/files')
-rw-r--r--net-dns/pdns-recursor/files/pdns-recursor-3.1.6-gcc-4.3.patch12
1 files changed, 12 insertions, 0 deletions
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>