summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/asterisk/patches/patch-main_dns_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/asterisk/patches/patch-main_dns_c b/package/asterisk/patches/patch-main_dns_c
new file mode 100644
index 000000000..0c3684d52
--- /dev/null
+++ b/package/asterisk/patches/patch-main_dns_c
@@ -0,0 +1,11 @@
+--- asterisk-1.8.20.1.orig/main/dns.c 2012-06-15 17:56:08.000000000 +0200
++++ asterisk-1.8.20.1/main/dns.c 2013-03-05 14:49:01.000000000 +0100
+@@ -45,6 +45,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revisi
+ #include "asterisk/dns.h"
+ #include "asterisk/endian.h"
+
++#undef HAVE_RES_NINIT
++
+ #define MAX_SIZE 4096
+
+ #ifdef __PDP_ENDIAN