[med-svn] [gmap] 01/02: Add patch from Graham Inggs fixing FTBFS on armf and amd64

Alex Mestiashvili malex-guest at moszumanska.debian.org
Mon Jul 25 11:42:09 UTC 2016


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

malex-guest pushed a commit to branch master
in repository gmap.

commit 074f8097aa9b8c9a8f650bfd639fa2fe3294f939
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date:   Mon Jul 25 13:07:41 2016 +0200

    Add patch from Graham Inggs fixing FTBFS on armf and amd64
    
    Closes: #832418
---
 debian/patches/only-do-cpuid-on-amd64-i386.patch | 15 +++++++++++++++
 debian/patches/series                            |  1 +
 2 files changed, 16 insertions(+)

diff --git a/debian/patches/only-do-cpuid-on-amd64-i386.patch b/debian/patches/only-do-cpuid-on-amd64-i386.patch
new file mode 100644
index 0000000..a11e68a
--- /dev/null
+++ b/debian/patches/only-do-cpuid-on-amd64-i386.patch
@@ -0,0 +1,15 @@
+Description: Only do CPUID on amd64 and i386
+ This fixes a FTBFS on armhf and arm64.
+Author: Graham Inggs <ginggs at ubuntu.com>
+Last-Update: 2016-07-24
+--- a/src/cpuid.c
++++ b/src/cpuid.c
+@@ -7,7 +7,7 @@
+ #include <stdio.h>
+ 
+ 
+-#if defined(AX_HOST_POWER8)
++#if !defined(__x86_64) && !defined(__i386)
+ 
+ void
+ CPUID_support (bool *sse2_support_p, bool *ssse3_support_p, bool *sse4_1_support_p, bool *sse4_2_support_p, bool *avx2_support_p) {
diff --git a/debian/patches/series b/debian/patches/series
index f01aaaa..7e6be27 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+only-do-cpuid-on-amd64-i386.patch
 install-data-local

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/gmap.git



More information about the debian-med-commit mailing list