summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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>