[med-svn] [htslib] 01/01: Fix FTBFS on s390x and sparc64

Graham Inggs ginggs at moszumanska.debian.org
Mon Jul 17 23:07:50 UTC 2017


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

ginggs pushed a commit to branch debian/unstable
in repository htslib.

commit 942393ba9a43828c3963dbde066b001dfe96440c
Author: Graham Inggs <ginggs at debian.org>
Date:   Tue Jul 18 00:54:22 2017 +0200

    Fix FTBFS on s390x and sparc64
---
 debian/changelog          |  7 +++++++
 debian/patches/fPIC.patch | 16 ++++++++++++++++
 debian/patches/series     |  1 +
 3 files changed, 24 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 72063bc..3073b9d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+htslib (1.4.1-4) unstable; urgency=medium
+
+  * Team upload
+  * Fix FTBFS on s390x and sparc64, thanks Adrian Bunk (Closes: #865010)
+
+ -- Graham Inggs <ginggs at debian.org>  Tue, 18 Jul 2017 00:49:30 +0200
+
 htslib (1.4.1-3) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/patches/fPIC.patch b/debian/patches/fPIC.patch
new file mode 100644
index 0000000..d2b7cd3
--- /dev/null
+++ b/debian/patches/fPIC.patch
@@ -0,0 +1,16 @@
+Description: Build with -fPIC instead of -fpic
+ It doesn't make a difference on x86, but is required for
+ linking the library on s390x and sparc64.
+Author: Adrian Bunk <bunk at debian.org>
+
+--- htslib-1.4.1.orig/Makefile
++++ htslib-1.4.1/Makefile
+@@ -34,7 +34,7 @@ CPPFLAGS =
+ # For testing strict C99 support add -std=c99 -D_XOPEN_SOURCE=600
+ #CFLAGS   = -g -Wall -O2 -pedantic -std=c99 -D_XOPEN_SOURCE=600 -D__FUNCTION__=__func__
+ CFLAGS   = -g -Wall -O2
+-EXTRA_CFLAGS_PIC = -fpic
++EXTRA_CFLAGS_PIC = -fPIC
+ LDFLAGS  =
+ LIBS     = $(htslib_default_libs)
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 917bd4c..a009da5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ define_PATH_MAX.patch
 literal_version.patch
 fix_pkg-config.patch
 htslib-add-cram_to_bam.patch
+fPIC.patch

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



More information about the debian-med-commit mailing list