asterisk: mark as BROKEN and remove obsolete patch
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 26 Jan 2009 06:28:03 +0000 (06:28 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 26 Jan 2009 06:28:03 +0000 (06:28 -0000)
Asterisk seems to have moved to a auto* build system, so the .mk has to be
more or less completely rewritten.

package/multimedia/asterisk/Config.in
package/multimedia/asterisk/asterisk_no_res_ninit.patch [deleted file]

index 581ec91127b96acb13c6457fba79ad4f42853183..47c1544fabb749eebabce03fd527d2bca91b94ca 100644 (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
diff --git a/package/multimedia/asterisk/asterisk_no_res_ninit.patch b/package/multimedia/asterisk/asterisk_no_res_ninit.patch
deleted file mode 100644 (file)
index 1dff2f3..0000000
+++ /dev/null
@@ -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);