patch file cleanup... ick.. kaloz you owe me some love
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6526 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
18
net/asterisk/patches/002-dns.patch
Normal file
18
net/asterisk/patches/002-dns.patch
Normal file
@ -0,0 +1,18 @@
|
||||
diff -Nru asterisk-1.2.14.org/dns.c asterisk-1.2.14/dns.c
|
||||
--- asterisk-1.2.14.org/dns.c 2005-11-29 19:24:39.000000000 +0100
|
||||
+++ asterisk-1.2.14/dns.c 2006-12-27 08:50:05.000000000 +0100
|
||||
@@ -175,7 +175,13 @@
|
||||
|
||||
#if defined(res_ninit)
|
||||
#define HAS_RES_NINIT
|
||||
-#else
|
||||
+#endif
|
||||
+
|
||||
+#ifdef __UCLIBC__
|
||||
+#undef HAS_RES_NINIT
|
||||
+#endif
|
||||
+
|
||||
+#ifndef HAS_RES_NINIT
|
||||
AST_MUTEX_DEFINE_STATIC(res_lock);
|
||||
#if 0
|
||||
#warning "Warning, res_ninit is missing... Could have reentrancy issues"
|
Reference in New Issue
Block a user