[med-svn] [tophat] 01/01: fix building with GCC 6

Sascha Steinbiss sascha at steinbiss.name
Sat May 14 16:52:02 UTC 2016


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

sascha-guest pushed a commit to branch master
in repository tophat.

commit 78a162f9f7eb40de9518b9bdb6d194854fe05d0a
Author: Sascha Steinbiss <sascha at steinbiss.name>
Date:   Sat May 14 16:36:49 2016 +0000

    fix building with GCC 6
---
 debian/changelog              |  8 ++++++++
 debian/patches/fix-gcc6.patch | 11 +++++++++++
 debian/patches/series         |  1 +
 3 files changed, 20 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 61ce427..9087eea 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+tophat (2.1.1+dfsg-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Fix building with GCC 6.
+    Closes: #811881.
+
+ -- Sascha Steinbiss <sascha at steinbiss.name>  Sat, 14 May 2016 15:53:10 +0000
+
 tophat (2.1.1+dfsg-1) unstable; urgency=medium
 
   * Imported Upstream version 2.1.1+dfsg
diff --git a/debian/patches/fix-gcc6.patch b/debian/patches/fix-gcc6.patch
new file mode 100644
index 0000000..c4f137a
--- /dev/null
+++ b/debian/patches/fix-gcc6.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -104,7 +104,7 @@
+       [debug_CFLAGS="-DNDEBUG"])
+ 	  
+ CFLAGS="${generic_CFLAGS} ${ext_CFLAGS} ${user_CFLAGS} ${debug_CFLAGS}"
+-CXXFLAGS="$CFLAGS"
++CXXFLAGS="-std=gnu++98 $CFLAGS"
+ CXXFLAGS="$CXXFLAGS $BAM_CPPFLAGS $BOOST_CPPFLAGS"
+ LDFLAGS="$BAM_LDFLAGS $BOOST_LDFLAGS $user_LDFLAGS"
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 7741a41..5ad469c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 hardening4samtools.patch
 remove_3rd_party_code.patch
 fix_includes_path.patch
+fix-gcc6.patch

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



More information about the debian-med-commit mailing list