Package: libatomic-ops
Version: 7.4.2-1
Followup-For: Bug #728955
User: debian-powe...@lists.debian.org
Usertags: ppc64el

Dear Maintainer,
the same problem occurs on ppc64el and here is a patch that provides :
- a fix from Ubuntu
- support for quilt patches with debian/source/format

Hope that helps,

F.

-- System Information:
Debian Release: 7.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (450, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
--- a/debian/patches/fix-test.diff	1969-12-31 21:00:00.000000000 -0300
+++ b/debian/patches/fix-test.diff	2014-08-20 05:35:58.000000000 -0300
@@ -0,0 +1,11 @@
+--- a/src/atomic_ops/sysdeps/gcc/powerpc.h
++++ b/src/atomic_ops/sysdeps/gcc/powerpc.h
+@@ -29,6 +29,8 @@
+ 
+ #include "../all_aligned_atomic_load_store.h"
+ 
++#define AO_load(addr) AO_load_acquire(addr)
++
+ #include "../test_and_set_t_is_ao_t.h"
+         /* There seems to be no byte equivalent of lwarx, so this       */
+         /* may really be what we want, at least in the 32-bit case.     */
--- a/debian/patches/series	1969-12-31 21:00:00.000000000 -0300
+++ b/debian/patches/series	2014-08-20 05:35:58.000000000 -0300
@@ -0,0 +1 @@
+fix-test.diff
--- a/debian/source/format	1969-12-31 21:00:00.000000000 -0300
+++ b/debian/source/format	2014-08-20 05:54:06.000000000 -0300
@@ -0,0 +1 @@
+3.0 (quilt)

Reply via email to