[med-svn] [hmmer2] 01/01: Build libhmmer.a using -fPIC to enable linking with other programs like psortb
Andreas Tille
tille at debian.org
Wed Apr 19 09:03:21 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository hmmer2.
commit f2f9bf7a98014815de5ad03f184f694a27712e14
Author: Andreas Tille <tille at debian.org>
Date: Wed Apr 19 10:37:45 2017 +0200
Build libhmmer.a using -fPIC to enable linking with other programs like psortb
---
debian/changelog | 7 +++++++
debian/patches/build_libhmmer.a_with-fPIC.patch | 16 ++++++++++++++++
debian/patches/series | 1 +
3 files changed, 24 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index e529f66..382428c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+hmmer2 (2.3.2+dfsg-2) experimental; urgency=medium
+
+ * Build libhmmer.a using -fPIC to enable linking with other programs
+ like psortb
+
+ -- Andreas Tille <tille at debian.org> Wed, 19 Apr 2017 09:11:29 +0200
+
hmmer2 (2.3.2+dfsg-1) experimental; urgency=medium
* Link against libsquid instead of code copy
diff --git a/debian/patches/build_libhmmer.a_with-fPIC.patch b/debian/patches/build_libhmmer.a_with-fPIC.patch
new file mode 100644
index 0000000..e7e09d0
--- /dev/null
+++ b/debian/patches/build_libhmmer.a_with-fPIC.patch
@@ -0,0 +1,16 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Wed, 19 Apr 2017 09:09:41 +0200
+Description: Linking with other projects requires -fPIC which
+ is sneaked in by this patch.
+
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -14,7 +14,7 @@
+ ## your compiler and compiler flags
+ #
+ CC = @CC@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ -fPIC
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+ DEFS = @DEFS@
diff --git a/debian/patches/series b/debian/patches/series
index 63460a7..818b0f0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ version2-manpage
userguidepdf
spelling.patch
use_debian_packaged_biosquid.patch
+build_libhmmer.a_with-fPIC.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/hmmer2.git
More information about the debian-med-commit
mailing list