aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sipwise-sems/atomic-swap8.patch
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 /testing/sipwise-sems/atomic-swap8.patch
parentf73e20fda1167e27ade50d5a569aa810c749c15f (diff)
downloadaports-b044e6fc72005131c67bca0ba253133ccde8ca09.tar.bz2
aports-b044e6fc72005131c67bca0ba253133ccde8ca09.tar.xz
testing/sipwise-sems: fix build with x86
Diffstat (limited to 'testing/sipwise-sems/atomic-swap8.patch')
-rw-r--r--testing/sipwise-sems/atomic-swap8.patch11
1 files changed, 11 insertions, 0 deletions
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__)) || \