[med-svn] [jellyfish] 01/01: Do not fail on compiler warnings to enable building with gcc-7

Andreas Tille tille at debian.org
Fri Aug 25 11:46:43 UTC 2017


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

tille pushed a commit to branch master
in repository jellyfish.

commit f41bce82fc052c0145bb05f0802e3352fb146739
Author: Andreas Tille <tille at debian.org>
Date:   Fri Aug 25 13:46:27 2017 +0200

    Do not fail on compiler warnings to enable building with gcc-7
---
 debian/changelog           |  5 ++++-
 debian/patches/gcc-7.patch | 15 +++++++++++++++
 debian/patches/series      |  1 +
 3 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 1a8d98b..a258606 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,8 +4,11 @@ jellyfish (2.2.6-2) UNRELEASED; urgency=medium
   * debhelper 10
   * Parallel builds seem to cause problems - use --no-parallel
   * d/watch: version=4
+  * Do not fail on compiler warnings to enable building with gcc-7.
+    (Thanks for the patch to Adrian Bunk <bunk at debian.org>)
+    Closes: #872262
 
- -- Andreas Tille <tille at debian.org>  Wed, 01 Mar 2017 13:48:20 +0100
+ -- Andreas Tille <tille at debian.org>  Fri, 25 Aug 2017 13:44:29 +0200
 
 jellyfish (2.2.6-1) unstable; urgency=medium
 
diff --git a/debian/patches/gcc-7.patch b/debian/patches/gcc-7.patch
new file mode 100644
index 0000000..994d107
--- /dev/null
+++ b/debian/patches/gcc-7.patch
@@ -0,0 +1,15 @@
+Description: Don't use -Werror
+ The SWIG-generated swig/perl5/swig_wrap.cpp gives warnings with
+ gcc 7, don't make these fatal with -Werror.
+Author: Adrian Bunk <bunk at debian.org>
+Last-Update: Tue, 15 Aug 2017 15:56:06 +0300
+Bug-Debian: https://bugs.debian.org/872262
+
+--- a/development.mk
++++ b/development.mk
+@@ -1,4 +1,4 @@
+-AM_CXXFLAGS += -Werror
++#AM_CXXFLAGS += -Werror
+ 
+ # Count lines of code
+ .PHONY: cloc cloc_jellyfish
diff --git a/debian/patches/series b/debian/patches/series
index e56ebcd..5987fe7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ drop-rpath
 modern-g++
 spelling
 rename-python-module-to-dna_jellyfish.patch 
+gcc-7.patch

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



More information about the debian-med-commit mailing list