summaryrefslogtreecommitdiff
path: root/packages/asterisk/asterisk-1.2.24/uclibc-dns.patch
diff options
context:
space:
mode:
authorStelios Koroneos <skoroneos@digital-opsis.com>2007-08-08 18:27:32 +0000
committerStelios Koroneos <skoroneos@digital-opsis.com>2007-08-08 18:27:32 +0000
commit4f04f6228aebccae160e5694c34e5e621579dc9b (patch)
tree66f48d5c0b64c3c486421263def7d8f601e89862 /packages/asterisk/asterisk-1.2.24/uclibc-dns.patch
parent23565dca658348d15acb9fc272be7d9e8d28a6e2 (diff)
packages/asterisk/asterisk_1.2.24.bb: New package asterisk_1.2.24
Digium release note :Version 1.2.24 is the final 1.2 release that contains normal bug fixes. The 1.2 branch will only be maintained with security fix releases from now until it is completely deprecated mental note : get 1.4 working from the bugtracker
Diffstat (limited to 'packages/asterisk/asterisk-1.2.24/uclibc-dns.patch')
-rw-r--r--packages/asterisk/asterisk-1.2.24/uclibc-dns.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/asterisk/asterisk-1.2.24/uclibc-dns.patch b/packages/asterisk/asterisk-1.2.24/uclibc-dns.patch
new file mode 100644
index 0000000000..4ba8b6205b
--- /dev/null
+++ b/packages/asterisk/asterisk-1.2.24/uclibc-dns.patch
@@ -0,0 +1,18 @@
+--- /orig-dns.c 2007-07-16 23:46:58.000000000 +0300
++++ /dns.c 2007-07-26 16:29:44.000000000 +0300
+@@ -237,7 +237,14 @@
+ #if defined(res_ndestroy)
+ #define HAS_RES_NDESTROY
+ #endif
+-#else
++#endif
++
++#ifdef __UCLIBC__
++#undef HAS_RES_NINIT
++#undef HAS_RES_NDESTROY
++#endif
++
++#ifndef HAS_RES_NINIT
+ AST_MUTEX_DEFINE_STATIC(res_lock);
+ #if 0
+ #warning "Warning, res_ninit is missing... Could have reentrancy issues"