[med-svn] [bcftools] 01/01: Fix FTBFS on architectures where char is unsigned by default
Graham Inggs
ginggs at moszumanska.debian.org
Wed Jul 19 09:18:53 UTC 2017
This is an automated email from the git hooks/post-receive script.
ginggs pushed a commit to branch master
in repository bcftools.
commit a32fc0ffe9b84632fbd6accbcd44448341f1dc71
Author: Graham Inggs <ginggs at debian.org>
Date: Wed Jul 19 11:11:19 2017 +0200
Fix FTBFS on architectures where char is unsigned by default
---
debian/changelog | 8 ++++++++
debian/patches/series | 1 +
debian/patches/test-regidx-unsigned-char.patch | 16 ++++++++++++++++
3 files changed, 25 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 5e2fbc2..980fe0f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+bcftools (1.4.1-2) unstable; urgency=medium
+
+ * Team upload
+ * Fix FTBFS on architectures where char is unsigned by default,
+ thanks Adrian Bunk (Closes: #865060)
+
+ -- Graham Inggs <ginggs at debian.org> Wed, 19 Jul 2017 11:00:08 +0200
+
bcftools (1.4.1-1) unstable; urgency=medium
* Team upload
diff --git a/debian/patches/series b/debian/patches/series
index ca9188d..f5e9bf3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ external-libs.patch
compiler-flags.patch
destdir.patch
tests-pluginpath.patch
+test-regidx-unsigned-char.patch
diff --git a/debian/patches/test-regidx-unsigned-char.patch b/debian/patches/test-regidx-unsigned-char.patch
new file mode 100644
index 0000000..af5bc16
--- /dev/null
+++ b/debian/patches/test-regidx-unsigned-char.patch
@@ -0,0 +1,16 @@
+Description: Fix test-regidx argument parsing on archs with unsigned char
+ On architectures where char is unsigned "c >= 0" was always true.
+Author: Adrian Bunk <bunk at debian.org>
+Bug-Debian: https://bugs.debian.org/865060
+
+--- a/test/test-regidx.c
++++ b/test/test-regidx.c
+@@ -336,7 +336,7 @@
+ {"seed",1,0,'s'},
+ {0,0,0,0}
+ };
+- char c;
++ int c;
+ int seed = (int)time(NULL);
+ while ((c = getopt_long(argc, argv, "hvs:",loptions,NULL)) >= 0)
+ {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/bcftools.git
More information about the debian-med-commit
mailing list