[med-svn] [htslib] 02/06: add patch to run configure

Sascha Steinbiss sascha at steinbiss.name
Mon Feb 8 16:47:53 UTC 2016


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

sascha-guest pushed a commit to branch debian/unstable
in repository htslib.

commit 87e9cf5611f41579709e0b24d98ee938a26513d1
Author: Sascha Steinbiss <sascha at steinbiss.name>
Date:   Mon Feb 8 16:34:42 2016 +0000

    add patch to run configure
---
 debian/patches/literal_version.patch | 16 ++++++++++++++++
 debian/patches/series                |  1 +
 2 files changed, 17 insertions(+)

diff --git a/debian/patches/literal_version.patch b/debian/patches/literal_version.patch
new file mode 100644
index 0000000..be9c8e2
--- /dev/null
+++ b/debian/patches/literal_version.patch
@@ -0,0 +1,16 @@
+Description: do not use make to extract version
+ Without a valid config.mk, trying to call m4_esyscmd_s() to run
+ make results in weird error messages. This patch avoids having
+ to run make just to extract this value.
+Author: Sascha Steinbiss <sascha at steinbiss.name>
+--- a/configure.ac
++++ b/configure.ac
+@@ -23,7 +23,7 @@
+ # DEALINGS IN THE SOFTWARE.
+ 
+ dnl Process this file with autoconf to produce a configure script
+-AC_INIT([HTSlib], m4_esyscmd_s([make print-version]),
++AC_INIT([HTSlib], m4_esyscmd_s([grep 'PACKAGE_VERSION  =' Makefile | cut -f 2 -d'=' | xargs]),
+         [samtools-help at lists.sourceforge.net], [], [http://www.htslib.org/])
+ AC_PREREQ(2.63)  dnl This version introduced 4-argument AC_CHECK_HEADER
+ AC_CONFIG_SRCDIR(hts.c)
diff --git a/debian/patches/series b/debian/patches/series
index b0939db..eb7a4c1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 add_largefile.patch
 define_PATH_MAX.patch
+literal_version.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