summaryrefslogtreecommitdiffstats
path: root/package/asterisk/asterisk_no_res_ninit.patch
diff options
context:
space:
mode:
authorDavid Anders <dave123@abcsinc.com>2006-01-24 21:30:10 +0000
committerDavid Anders <dave123@abcsinc.com>2006-01-24 21:30:10 +0000
commit63c97755b4d9c9ec8c790aa6ac306b978970c8d9 (patch)
tree05bee8835a18e856e630c4ecf52bd1d625b1be7d /package/asterisk/asterisk_no_res_ninit.patch
parent1f6aa30948225c290fb695a84b24056aed386729 (diff)
downloadbuildroot-novena-63c97755b4d9c9ec8c790aa6ac306b978970c8d9.tar.gz
buildroot-novena-63c97755b4d9c9ec8c790aa6ac306b978970c8d9.zip
add asterisk package per case 0000456
Diffstat (limited to 'package/asterisk/asterisk_no_res_ninit.patch')
-rw-r--r--package/asterisk/asterisk_no_res_ninit.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/asterisk/asterisk_no_res_ninit.patch b/package/asterisk/asterisk_no_res_ninit.patch
new file mode 100644
index 000000000..1dff2f305
--- /dev/null
+++ b/package/asterisk/asterisk_no_res_ninit.patch
@@ -0,0 +1,12 @@
+diff -ur /tmp/asterisk-1.2.0-beta1/dns.c asterisk-1.2.0-beta1/dns.c
+--- /tmp/asterisk-1.2.0-beta1/dns.c 2005-08-14 04:23:33.000000000 +0200
++++ asterisk-1.2.0-beta1/dns.c 2005-08-31 09:42:36.000000000 +0200
+@@ -157,7 +157,7 @@
+ return 0;
+ }
+
+-#if defined(res_ninit)
++#if (defined(res_ninit) && !defined(__UCLIBC__))
+ #define HAS_RES_NINIT
+ #else
+ AST_MUTEX_DEFINE_STATIC(res_lock);