aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-05-15 13:32:35 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-05-15 13:32:35 +0000
commitb044e6fc72005131c67bca0ba253133ccde8ca09 (patch)
tree33a96fd5567277a792eeeea7a20e5527ffb3aa16
parentf73e20fda1167e27ade50d5a569aa810c749c15f (diff)
downloadaports-b044e6fc72005131c67bca0ba253133ccde8ca09.tar.bz2
aports-b044e6fc72005131c67bca0ba253133ccde8ca09.tar.xz
testing/sipwise-sems: fix build with x86
-rw-r--r--testing/sipwise-sems/APKBUILD6
-rw-r--r--testing/sipwise-sems/atomic-swap8.patch11
2 files changed, 16 insertions, 1 deletions
diff --git a/testing/sipwise-sems/APKBUILD b/testing/sipwise-sems/APKBUILD
index f5a23839f6..cfaf258c56 100644
--- a/testing/sipwise-sems/APKBUILD
+++ b/testing/sipwise-sems/APKBUILD
@@ -9,7 +9,7 @@ pkgver=3.8.1.1
pkgrel=0
pkgdesc="SIP Express Media Server, an extensible SIP media server"
url="http://iptel.org/sems/"
-arch="x86_64"
+arch="all"
license="GPLv2+"
pkgusers="sems"
pkggroups="sems"
@@ -29,6 +29,7 @@ source="https://github.com/sipwise/sems/archive/mr$pkgver.tar.gz
sems-0004-remove-execinfo-dependency.patch
sems-0005-define-SEMS_VERSION.patch
sems-0006-std-types.patch
+ atomic-swap8.patch
sems.initd
"
@@ -215,6 +216,7 @@ b8efd1a6415afa08f7c676f6976fca36 sems-0002-Allow-rewrite-of-custom-makefiles-by
80cffaa7c8963b6619a69133a9ffc2f8 sems-0004-remove-execinfo-dependency.patch
a680e142ee9b83e6d34fd0757940c5cc sems-0005-define-SEMS_VERSION.patch
bbcbee0f73342b4c35deff15c1d708d5 sems-0006-std-types.patch
+fe19aad863d6a0f3ed3edc4b771eb869 atomic-swap8.patch
4b537f18cda6c72d7afda582a6f5858e sems.initd"
sha256sums="5260f02ecc3b7c623b7385b607aed34af3c09e2fc6620e11da8dd3021f077a72 mr3.8.1.1.tar.gz
a36950f68e78af21f0e1152bb01e2f25f74b8c63210eecc01e4a4f90cf841371 sems-0001-Force-to-use-system-wide-GSM-includes.patch
@@ -223,6 +225,7 @@ a36950f68e78af21f0e1152bb01e2f25f74b8c63210eecc01e4a4f90cf841371 sems-0001-Forc
6e8d8a08004e44e603e32cb8e62809c7865b7e1c70bf66d37e8701dd308782d5 sems-0004-remove-execinfo-dependency.patch
0ecc448b3f90261af984bcd0c7ebd6e76e0e696b3c285b6c1837f9296a429b68 sems-0005-define-SEMS_VERSION.patch
c4aac6f50d8ba85d389a859d9067fb7e7589daf4b84cd1d68ac231bcdb0d2aeb sems-0006-std-types.patch
+08adfa5d87427b56fdec1239a98429ba0e851fcb4cd5c5c0b319aeef93e8ebe7 atomic-swap8.patch
5bc8ece09cf1c47c8f0880fdeca40d1e72eb4bc5c6356ffc2d738179b9463e19 sems.initd"
sha512sums="d9dc35725a5e1493d5c7fe1ef11db8f3821d6fc9bdf9c4090d3747e20a1caa7dcf6e28bd6be74f8b4c249680fd38035a801027a0d6693888f3a5a54ad75ddf39 mr3.8.1.1.tar.gz
87c6f878c3ad5e947a9a80431ddf28f08c04ce1415b7c42878f66b423c78d909efda836c7c2d3ed97e075c08d7a07c4707a49c14ce42c1a3aa350de1878c8d09 sems-0001-Force-to-use-system-wide-GSM-includes.patch
@@ -231,4 +234,5 @@ ba6f0d917464729c63628255bee3d864a954af4a510b802f0de1d51f35ff5d7c1c33cbe14db31818
b23f47640e495513abc85a9ae08b8ff7e2fbc9b57d072eb9b0b3875b9141ee9e67f1aebdbe3f2b09447dbae0e179490f2de7390da07127919ddf85c1a47c4e5c sems-0004-remove-execinfo-dependency.patch
02574aeb5b94f4a549fe71e1a8a0efad950d66dfd57ed2ee47befb8aa1c508dd6b05a55586ef1d237e9d61e64aa27fcd8689dc86552e69aff43aa4c96ea2245b sems-0005-define-SEMS_VERSION.patch
79e3ac2b202b3f6c710b3d2bc8ac459e3622f2bf5945eaaa81778f53bcbddc7951266f88c2fd9862fbed44f10a160368af7d19b5e81929a3b1e8ee150111f74b sems-0006-std-types.patch
+504f91d1115e5e15d1724957b1205fcb9e82e9059bc8b480868bffb5e5b4363ff312d6deb23f6204164c4ec1d07d63312e9484f5b6c289b159fb86abe3b99037 atomic-swap8.patch
5be93b6444a9592daa6c883c78e5906e9e662891e1daa850d872bdaa657eb756f1bc0879732033479b279b75c2fd42ef79aa530ebf3b1692e7fb222d484f804b sems.initd"
diff --git a/testing/sipwise-sems/atomic-swap8.patch b/testing/sipwise-sems/atomic-swap8.patch
new file mode 100644
index 0000000000..0d4d27a093
--- /dev/null
+++ b/testing/sipwise-sems/atomic-swap8.patch
@@ -0,0 +1,11 @@
+--- ./core/atomic_types.h.orig
++++ ./core/atomic_types.h
+@@ -13,7 +13,7 @@
+ ) || \
+ (defined(__linux__) && \
+ ( \
+- (defined(__i386__) && (defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4))) || \
++ (defined(__i386__) && (defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4) && (defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8)))) || \
+ defined(__ia64__) || \
+ defined(__x86_64__) || \
+ (defined(__powerpc__) && !defined(__powerpc64__)) || \