diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-11 12:54:00 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-11 12:55:25 +0200 |
commit | 23c39ed2658699a56627e2609908348d4a1f9b36 (patch) | |
tree | f8ddfc17bb173b85a3e75f875348b3e56729c6cd /package/asterisk/patches | |
parent | 4fa73e2167ae9bba3fa5f1eb98dcd6df781e525d (diff) |
update to latest upstream
Diffstat (limited to 'package/asterisk/patches')
-rw-r--r-- | package/asterisk/patches/patch-configure_ac | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/package/asterisk/patches/patch-configure_ac b/package/asterisk/patches/patch-configure_ac new file mode 100644 index 000000000..1827e1764 --- /dev/null +++ b/package/asterisk/patches/patch-configure_ac @@ -0,0 +1,19 @@ +--- asterisk-12.3.0.orig/configure.ac 2014-05-13 02:25:17.000000000 +0200 ++++ asterisk-12.3.0/configure.ac 2014-06-09 20:12:05.000000000 +0200 +@@ -855,16 +855,6 @@ AC_LINK_IFELSE( + ] + ) + +-# Some platforms define sem_init(), but only support sem_open(). joyous. +-AC_MSG_CHECKING(for working unnamed semaphores) +-AC_RUN_IFELSE( +- [AC_LANG_PROGRAM([#include <semaphore.h>], +- [sem_t sem; return sem_init(&sem, 0, 0);])], +- AC_MSG_RESULT(yes) +- AC_DEFINE([HAS_WORKING_SEMAPHORE], 1, [Define to 1 if anonymous semaphores work.]), +- AC_MSG_RESULT(no) +-) +- + LIBS="$save_LIBS" + CFLAGS="$save_CFLAGS" + if test "${ac_cv_pthread_rwlock_timedwrlock}" = "yes"; then |