kumquat-buildroot/package/multimedia/asterisk/asterisk_no_res_ninit.patch
Peter Korsgaard e7df5afeb9 package/audio: rename audio category to multimedia
Prepare for the merge of audio and video packages. Many packages cannot
properly be assigned to either audio or video, because they have support
for both (libogg, mplayer, vlc).

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2008-11-15 21:33:07 +00:00

13 lines
384 B
Diff

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);