diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-04-28 17:47:34 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-04-28 17:47:34 +0200 |
commit | 6a8d9de8873d72f840560c91af06cab0ef50c5d5 (patch) | |
tree | 20d9a3215ec3a781b6143a49ef089589cc0cd87c | |
parent | de9844a08cb312faf31535de7e4227ec1c9a1624 (diff) | |
download | aports-6a8d9de8873d72f840560c91af06cab0ef50c5d5.tar.bz2 aports-6a8d9de8873d72f840560c91af06cab0ef50c5d5.tar.xz |
main/sems: include linux-headers and std types fix
-rw-r--r-- | main/sems/APKBUILD | 17 | ||||
-rw-r--r-- | main/sems/std-types.patch | 32 |
2 files changed, 42 insertions, 7 deletions
diff --git a/main/sems/APKBUILD b/main/sems/APKBUILD index dde7e8a34..efd1b134d 100644 --- a/main/sems/APKBUILD +++ b/main/sems/APKBUILD @@ -10,9 +10,8 @@ license="GPLv2+" pkgusers="sems" pkggroups="sems" install="$pkgname.pre-install" -makedepends="python-dev cmake bash openssl-dev - libsamplerate-dev spandsp-dev flite-dev gsm-dev speex-dev - " +makedepends="python-dev cmake bash openssl-dev linux-headers + libsamplerate-dev spandsp-dev flite-dev gsm-dev speex-dev" subpackages="$pkgname-doc $pkgname-conf_auth $pkgname-conference $pkgname-diameter_client $pkgname-dsm $pkgname-early_announce $pkgname-g722 $pkgname-gsm $pkgname-ivr $pkgname-mailbox @@ -22,8 +21,9 @@ source="ftp://ftp.iptel.org/pub/sems/sems-$pkgver.tar.gz sems-0001-Force-to-use-system-wide-GSM-includes.patch sems-0002-Allow-rewrite-of-custom-makefiles-by-CMake.patch sems-0003-Set-CFG_PREFIX-to-empty-string-by-default.patch - sems-0004-fix-PRACK-route.patch + sems-0004-fix-PRACK-route.patch sems.initd + std-types.patch " # sems-0005-Add-sw_prepaid_sip-plugin-to-default-exclude-list-du.patch # sems-0006-last-minute-fix-proper-version.patch @@ -204,16 +204,19 @@ md5sums="ec0a88f9081679b3b4ab9d06e84ea759 sems-1.5.0.tar.gz b8efd1a6415afa08f7c676f6976fca36 sems-0002-Allow-rewrite-of-custom-makefiles-by-CMake.patch 331e7529833c906b4738006f32a65fde sems-0003-Set-CFG_PREFIX-to-empty-string-by-default.patch 62f03dac8e098b0333f3e8b06770b459 sems-0004-fix-PRACK-route.patch -4b537f18cda6c72d7afda582a6f5858e sems.initd" +4b537f18cda6c72d7afda582a6f5858e sems.initd +ce9f27a70cdf2b3a5812ee25005b5feb std-types.patch" sha256sums="aec3dd76911d76b9a2ffbb82c6e36ba828514ccf500b7ab9df45ac7f8ef78547 sems-1.5.0.tar.gz a36950f68e78af21f0e1152bb01e2f25f74b8c63210eecc01e4a4f90cf841371 sems-0001-Force-to-use-system-wide-GSM-includes.patch 0992f15e2a5c58d63a5a06dda027323e203fbf67d57022c11d5d63fd953088bc sems-0002-Allow-rewrite-of-custom-makefiles-by-CMake.patch 04e0b2a944c5f64305e5711f5dfdcf4675fc7980225ef87267fcaff241168d46 sems-0003-Set-CFG_PREFIX-to-empty-string-by-default.patch 2f2d7f6318dd6d202266aa96fab310ad2d7740286aa624d71f0f4b2c6636602e sems-0004-fix-PRACK-route.patch -5bc8ece09cf1c47c8f0880fdeca40d1e72eb4bc5c6356ffc2d738179b9463e19 sems.initd" +5bc8ece09cf1c47c8f0880fdeca40d1e72eb4bc5c6356ffc2d738179b9463e19 sems.initd +3da54852bafc4f343208034f56caf659dcf381f399c54c83f19072abb294e0d1 std-types.patch" sha512sums="f0e055bd33fac106ac2592e977a03b5e2fe93f539e0b60a7bf61881434849b119efebdd4784e0c9c06149992765db5995441e45fb23d0217726c6293c7984baf sems-1.5.0.tar.gz 87c6f878c3ad5e947a9a80431ddf28f08c04ce1415b7c42878f66b423c78d909efda836c7c2d3ed97e075c08d7a07c4707a49c14ce42c1a3aa350de1878c8d09 sems-0001-Force-to-use-system-wide-GSM-includes.patch 4c09033d6acd1bbef2aa2d02571f74da29532decca67b9ce861872d8d9522ca31808d6e26c3b536913ef7a988f90d374e217187b9cadb6a79d5c830571e94b67 sems-0002-Allow-rewrite-of-custom-makefiles-by-CMake.patch ba6f0d917464729c63628255bee3d864a954af4a510b802f0de1d51f35ff5d7c1c33cbe14db31818133a3c94f84da0f4bea4184ce1e8eae6aa9a1ba79f2e5347 sems-0003-Set-CFG_PREFIX-to-empty-string-by-default.patch 816d93ef9ab5a38b8cb03ee5c68b9dd3ad3cb810e021b02c24def45ddd4d7f8223bb3f1fee5b897de18db323fc2ea99c4279bc0d0246e3926edb5604d37e1ffb sems-0004-fix-PRACK-route.patch -5be93b6444a9592daa6c883c78e5906e9e662891e1daa850d872bdaa657eb756f1bc0879732033479b279b75c2fd42ef79aa530ebf3b1692e7fb222d484f804b sems.initd" +5be93b6444a9592daa6c883c78e5906e9e662891e1daa850d872bdaa657eb756f1bc0879732033479b279b75c2fd42ef79aa530ebf3b1692e7fb222d484f804b sems.initd +17c0baa5f8c3da66e3d1442c41ebbb58c5282d9f165ddd460d1680bb5079d6a33ad961a85447744a8342b8ed6f2ca91ca7803e4427c9d886a4eff18e9e138b0a std-types.patch" diff --git a/main/sems/std-types.patch b/main/sems/std-types.patch new file mode 100644 index 000000000..e67e94aef --- /dev/null +++ b/main/sems/std-types.patch @@ -0,0 +1,32 @@ +--- ./core/sip/parse_dns.h.orig ++++ ./core/sip/parse_dns.h +@@ -34,10 +34,10 @@ + + class dns_entry; + +-typedef int (*dns_parse_fct)(dns_record* rr, dns_section_type t, u_char* begin, u_char* end, void* data); ++typedef int (*dns_parse_fct)(dns_record* rr, dns_section_type t, unsigned char* begin, unsigned char* end, void* data); + +-int dns_msg_parse(u_char* msg, int len, dns_parse_fct fct, void* data); +-int dns_expand_name(u_char** ptr, u_char* begin, u_char* end, +- u_char* buf, unsigned int len); ++int dns_msg_parse(unsigned char* msg, int len, dns_parse_fct fct, void* data); ++int dns_expand_name(unsigned char** ptr, unsigned char* begin, unsigned char* end, ++ unsigned char* buf, unsigned int len); + + #endif +--- ./core/sip/parse_dns.cpp.orig ++++ ./core/sip/parse_dns.cpp +@@ -6,9 +6,9 @@ + #define SECTION_COUNTS_OFF 4 + #define HEADER_OFFSET 12 + +-unsigned short dns_msg_count(u_char* begin, dns_section_type sect); +-int dns_skip_name(u_char** p, u_char* end); +-int dns_expand_name(u_char** ptr, u_char* begin, u_char* end, ++unsigned short dns_msg_count(unsigned char* begin, dns_section_type sect); ++int dns_skip_name(unsigned char** p, unsigned char* end); ++int dns_expand_name(unsigned char** ptr, unsigned char* begin, unsigned char* end, + u_char* buf, unsigned int len); + + inline unsigned short dns_get_16(u_char* p) |