[simbody] 01/02: Fix FTBFS on ppc64el. (Closes: #768155)

Anton Gladky gladk at moszumanska.debian.org
Sun May 10 12:18:45 UTC 2015


This is an automated email from the git hooks/post-receive script.

gladk pushed a commit to annotated tag debian/3.5.1+dfsg-1
in repository simbody.

commit 2cdc785e5c353f12ac15a7811aa77d37aa0fdeb8
Author: Frederic Bonnard <frediz at linux.vnet.ibm.com>
Date:   Sun May 10 00:01:27 2015 +0200

    Fix FTBFS on ppc64el. (Closes: #768155)
---
 debian/patches/fix_ppc64el.patch | 19 +++++++++++++++++++
 debian/patches/series            |  1 +
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/fix_ppc64el.patch b/debian/patches/fix_ppc64el.patch
new file mode 100644
index 0000000..60b82be
--- /dev/null
+++ b/debian/patches/fix_ppc64el.patch
@@ -0,0 +1,19 @@
+Description: fixes FTBFS on ppv64el
+Bug-Debian: 768155
+Author: Frederic Bonnard <frediz at linux.vnet.ibm.com>
+Reviewed-by: Anton Gladky <gladk at debian.org>
+Last-Update: 2015-05-09
+
+Index: simbody/SimTKcommon/src/gmx_atomic.h
+===================================================================
+--- simbody.orig/SimTKcommon/src/gmx_atomic.h
++++ simbody/SimTKcommon/src/gmx_atomic.h
+@@ -470,7 +470,7 @@ gmx_atomic_add_return(gmx_atomic_t *
+     __asm__ __volatile__("1:     lwarx   %0,0,%2\n"
+                          "\tadd     %0,%1,%0\n"
+                          "\tstwcx.  %0,0,%2 \n"
+-                         "\tbne-    1b"
++                         "\tbne-    1b\n"
+                          "\tisync\n"
+                          : "=&r" (t)
+                          : "r" (i), "r" (&a->value)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..fbd176d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix_ppc64el.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/simbody.git



More information about the debian-science-commits mailing list