[med-svn] r20785 - in trunk/packages/maq/trunk/debian: . patches
Andreas Tille
tille at moszumanska.debian.org
Wed Dec 16 14:46:32 UTC 2015
Author: tille
Date: 2015-12-16 14:46:31 +0000 (Wed, 16 Dec 2015)
New Revision: 20785
Added:
trunk/packages/maq/trunk/debian/patches/mayhem.patch
Modified:
trunk/packages/maq/trunk/debian/changelog
trunk/packages/maq/trunk/debian/patches/series
Log:
Fix Mayhem issue
Modified: trunk/packages/maq/trunk/debian/changelog
===================================================================
--- trunk/packages/maq/trunk/debian/changelog 2015-12-16 14:34:14 UTC (rev 20784)
+++ trunk/packages/maq/trunk/debian/changelog 2015-12-16 14:46:31 UTC (rev 20785)
@@ -1,10 +1,12 @@
-maq (0.7.1-6) UNRELEASED; urgency=medium
+maq (0.7.1-6) unstable; urgency=medium
* moved debian/upstream to debian/upstream/metadata
* cme fix dpkg-control
* Add missing manpages
+ * Fix Mayhem issue
+ Closes: #716112
- -- Andreas Tille <tille at debian.org> Wed, 16 Dec 2015 14:34:18 +0100
+ -- Andreas Tille <tille at debian.org> Wed, 16 Dec 2015 15:34:33 +0100
maq (0.7.1-5) unstable; urgency=low
Added: trunk/packages/maq/trunk/debian/patches/mayhem.patch
===================================================================
--- trunk/packages/maq/trunk/debian/patches/mayhem.patch (rev 0)
+++ trunk/packages/maq/trunk/debian/patches/mayhem.patch 2015-12-16 14:46:31 UTC (rev 20785)
@@ -0,0 +1,18 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Wed, 16 Dec 2015 14:34:18 +0100
+Bug-Debian: https://bugs.debian.org/716112
+Description: Fix Mayhem issue
+
+--- a/maqmap.c
++++ b/maqmap.c
+@@ -145,6 +146,10 @@ int ma_mapview(int argc, char *argv[])
+ return 1;
+ }
+ gzFile fp = (strcmp(argv[optind], "-") == 0)? gzdopen(STDIN_FILENO, "r") : gzopen(argv[optind], "r");
++ if ( !fp ) {
++ fprintf(stderr, "Unable to open gzipped input from %s\n", argv[2]);
++ return 1;
++ }
+ mapview_core(stdout, fp, is_verbose, is_mm);
+ gzclose(fp);
+ return 0;
Modified: trunk/packages/maq/trunk/debian/patches/series
===================================================================
--- trunk/packages/maq/trunk/debian/patches/series 2015-12-16 14:34:14 UTC (rev 20784)
+++ trunk/packages/maq/trunk/debian/patches/series 2015-12-16 14:46:31 UTC (rev 20785)
@@ -1,2 +1,3 @@
10_prevent_-64_option.patch
gcc-4.7.patch
+mayhem.patch
More information about the debian-med-commit
mailing list