aboutsummaryrefslogtreecommitdiffstats
path: root/main/sngtc_client
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-12-18 11:13:00 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-12-18 11:13:00 +0000
commite4abece5cdfbd21c39995fec059af885089186e6 (patch)
tree4b8989ba342dc2ef6f8b0d85b9703ba1d3eb83c2 /main/sngtc_client
parent5e2f9aa50a1bac4353f5fd1a2d5c3251fbba60a3 (diff)
downloadaports-e4abece5cdfbd21c39995fec059af885089186e6.tar.bz2
aports-e4abece5cdfbd21c39995fec059af885089186e6.tar.xz
main/sngtc_client: fix musl build
Diffstat (limited to 'main/sngtc_client')
-rw-r--r--main/sngtc_client/APKBUILD6
-rw-r--r--main/sngtc_client/musl-fix-types.patch13
2 files changed, 18 insertions, 1 deletions
diff --git a/main/sngtc_client/APKBUILD b/main/sngtc_client/APKBUILD
index b9864615f4..e3e3472b91 100644
--- a/main/sngtc_client/APKBUILD
+++ b/main/sngtc_client/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sngtc_client
pkgver=1.3.4.1
-pkgrel=0
+pkgrel=1
pkgdesc="Sangoma Media Transcode client and lib"
url="http://wiki.sangoma.com/Transcoding-distributed-install"
arch="all"
@@ -17,6 +17,7 @@ subpackages="$pkgname-dev"
# our archs.
source="ftp://ftp.sangoma.com/linux/transcoding/sng-tc-linux-$pkgver.i686.tgz
sngtc_client-dynamic-ortp.patch
+ musl-fix-types.patch
ortp.patch"
_builddir="$srcdir"/sng-tc-linux-$pkgver.i686
@@ -47,10 +48,13 @@ package() {
md5sums="eff04cdee73ee930a96c87977b21abb1 sng-tc-linux-1.3.4.1.i686.tgz
2c6b702af7ec9adc144823000012336c sngtc_client-dynamic-ortp.patch
+d8e7aab5a189163457e72af5befcc8aa musl-fix-types.patch
e9c6076ba8fb08ac680e92df1feb7795 ortp.patch"
sha256sums="04de3559832ed139d553ebb3b48dd7e25bd4ba75a58e3fc829f8dcd78a2cedcb sng-tc-linux-1.3.4.1.i686.tgz
7b1ce78357184e58073b010c1074866bdeefe855aeda204793f476274ad0beed sngtc_client-dynamic-ortp.patch
+38d91bed0a5cefdac07d2fa2600e61b6580e2e90f6056b7b2db3a39ca355cb85 musl-fix-types.patch
e22f77b4ce280e2c436143eab8a7170eaee7a21ef393b5be655181ab2efa5587 ortp.patch"
sha512sums="c80470540c7f7f3b15f027a49a248ad0f0dd9088b71520c63e0bd57fa6e34531ff944bb962eb0d4ed78285dbc408c09dcbd7122c48a7af7d4ce46c03d0d19c20 sng-tc-linux-1.3.4.1.i686.tgz
2b784c56d1482ad9069502c408138d0c0b0ea6b393902d45b09200a3a588e02138c21a1fbee4d5715711e578130c30c607cae59f7ee24b8ce5bccd5a9c2fce14 sngtc_client-dynamic-ortp.patch
+008447bf7c8f690cc9ee5efd232dee1b4f3f35e94827a518f88a7c46b4741b6d1e8418c32f099c807e61d7ae815467aed3a3b0134114e75574397ae324540067 musl-fix-types.patch
33163306a2207e70a9a8535d6b1ca9706d44e5076a570525db15c47c6aeb6f58e035bfec4826f8763422a505acdad5cfa7b59c60b544f681ad319d26d75d2977 ortp.patch"
diff --git a/main/sngtc_client/musl-fix-types.patch b/main/sngtc_client/musl-fix-types.patch
new file mode 100644
index 0000000000..58fa8238f1
--- /dev/null
+++ b/main/sngtc_client/musl-fix-types.patch
@@ -0,0 +1,13 @@
+--- sng-tc-linux-1.3.4.1.i686.orig/soap/stdsoap2.h
++++ sng-tc-linux-1.3.4.1.i686/soap/stdsoap2.h
+@@ -754,8 +754,8 @@
+ # define LONG64 int64_t
+ # define ULONG64 uint64_t
+ # elif defined(__GLIBC__)
+-# include <bits/wordsize.h>
+-# if (__WORDSIZE == 64)
++# include <limits.h>
++# if (LONG_BIT == 64)
+ # define LONG64 int64_t
+ # define ULONG64 uint64_t
+ # ifndef SOAP_LONG_FORMAT