diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-05-30 14:05:02 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-05-30 14:05:02 +0000 |
commit | 3934fd022577803f5205e341e8b03fb2c8e06923 (patch) | |
tree | fe626c3a3c9685bd186782a047d432d2eecdcc60 /main/freeswitch | |
parent | 58a606fcd7c7e0b17c5e682de940e7bdff707290 (diff) | |
download | aports-3934fd022577803f5205e341e8b03fb2c8e06923.tar.bz2 aports-3934fd022577803f5205e341e8b03fb2c8e06923.tar.xz |
main/freeswitch: disable. does not build with musl
Diffstat (limited to 'main/freeswitch')
-rw-r--r-- | main/freeswitch/APKBUILD | 2 | ||||
-rw-r--r-- | main/freeswitch/musl-fixes.patch | 82 |
2 files changed, 83 insertions, 1 deletions
diff --git a/main/freeswitch/APKBUILD b/main/freeswitch/APKBUILD index 6717e302cf..fc9ad1fb5a 100644 --- a/main/freeswitch/APKBUILD +++ b/main/freeswitch/APKBUILD @@ -6,7 +6,7 @@ pkgver=1.4.0 pkgrel=2 pkgdesc="A communications platform written in C from the ground up" url="http://www.freeswitch.org" -arch="all" +arch="" license="GPL" depends="" pkgusers="freeswitch" diff --git a/main/freeswitch/musl-fixes.patch b/main/freeswitch/musl-fixes.patch new file mode 100644 index 0000000000..eff7684d9f --- /dev/null +++ b/main/freeswitch/musl-fixes.patch @@ -0,0 +1,82 @@ +diff --git a/libs/libscgi/src/include/scgi.h b/libs/libscgi/src/include/scgi.h +index cc6b3c0..332a071 100644 +--- a/libs/libscgi/src/include/scgi.h ++++ b/libs/libscgi/src/include/scgi.h +@@ -116,7 +116,7 @@ typedef int scgi_filehandle_t; + #include <sys/types.h> + #include <sys/select.h> + #include <netinet/tcp.h> +-#include <sys/signal.h> ++#include <signal.h> + #include <unistd.h> + #include <ctype.h> + #endif +diff --git a/libs/sofia-sip/libsofia-sip-ua/su/sofia-sip/su_os_nw.h b/libs/sofia-sip/libsofia-sip-ua/su/sofia-sip/su_os_nw.h +index ed6cf38..75b73b0 100644 +--- a/libs/sofia-sip/libsofia-sip-ua/su/sofia-sip/su_os_nw.h ++++ b/libs/sofia-sip/libsofia-sip-ua/su/sofia-sip/su_os_nw.h +@@ -58,7 +58,7 @@ + #endif + + #if SU_HAVE_POLL +-#include <sys/poll.h> ++#include <poll.h> + #endif + + SOFIA_BEGIN_DECLS +diff --git a/libs/sofia-sip/libsofia-sip-ua/su/sofia-sip/su_wait.h b/libs/sofia-sip/libsofia-sip-ua/su/sofia-sip/su_wait.h +index ad67723..7beaae6 100644 +--- a/libs/sofia-sip/libsofia-sip-ua/su/sofia-sip/su_wait.h ++++ b/libs/sofia-sip/libsofia-sip-ua/su/sofia-sip/su_wait.h +@@ -47,7 +47,7 @@ + #endif + + #if SU_HAVE_POLL +-#include <sys/poll.h> ++#include <poll.h> + #endif + + SOFIA_BEGIN_DECLS +diff --git a/libs/spandsp/src/spandsp/private/timezone.h b/libs/spandsp/src/spandsp/private/timezone.h +index 87c6797..b2397cf 100644 +--- a/libs/spandsp/src/spandsp/private/timezone.h ++++ b/libs/spandsp/src/spandsp/private/timezone.h +@@ -30,7 +30,7 @@ + + #define TZ_MAX_LEAPS 50 /* Maximum number of leap second corrections */ + +-#define TZNAME_MAX 255 ++#define SPANDSP_TZNAME_MAX 255 + + /* The TZ_MAX_TIMES value below is enough to handle a bit more than a + * year's worth of solar time (corrected daily to the nearest second) or +@@ -74,14 +74,14 @@ struct tz_state_s + time_t ats[TZ_MAX_TIMES]; + uint8_t types[TZ_MAX_TIMES]; + struct tz_ttinfo_s ttis[TZ_MAX_TYPES]; +- char chars[TZ_BIGGEST(TZ_MAX_CHARS + 1, (2*(TZNAME_MAX + 1)))]; ++ char chars[TZ_BIGGEST(TZ_MAX_CHARS + 1, (2*(SPANDSP_TZNAME_MAX + 1)))]; + struct tz_lsinfo_s lsis[TZ_MAX_LEAPS]; + }; + + struct tz_s + { + struct tz_state_s state; +- char lcl_tzname[TZNAME_MAX + 1]; ++ char lcl_tzname[SPANDSP_TZNAME_MAX + 1]; + int lcl_is_set; + const char *tzname[2]; + }; +diff --git a/src/mod/applications/mod_spandsp/mod_spandsp_modem.h b/src/mod/applications/mod_spandsp/mod_spandsp_modem.h +index 8d41cd2..02dc074 100644 +--- a/src/mod/applications/mod_spandsp/mod_spandsp_modem.h ++++ b/src/mod/applications/mod_spandsp/mod_spandsp_modem.h +@@ -89,7 +89,7 @@ + (uint64_t)bswap_32((uint32_t)((value) >> 32))) + #endif + #include <sys/time.h> +-#include <sys/signal.h> ++#include <signal.h> + #endif + #include <sys/types.h> + #include <sys/stat.h> |