asterisk: mark as BROKEN and remove obsolete patch

Asterisk seems to have moved to a auto* build system, so the .mk has to be
more or less completely rewritten.
This commit is contained in:
Peter Korsgaard 2009-01-26 06:28:03 +00:00
parent 3ba91efea2
commit 329f68e794
2 changed files with 1 additions and 15 deletions

View File

@ -1,8 +1,6 @@
comment "asterisk - is currently broken due to a bad patch"
depends on BR2_PACKAGE_ASTERISK
config BR2_PACKAGE_ASTERISK
bool "asterisk"
depends on BROKEN
select BR2_PACKAGE_NCURSES
select BR2_PACKAGE_ZLIB
depends on BR2_PACKAGE_OPENSSL

View File

@ -1,12 +0,0 @@
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);