[med-svn] [Git][med-team/sga][debian/unstable] Do not enforce -std=c++98 to stay compatible with google sparsehash library

Andreas Tille gitlab at salsa.debian.org
Tue Dec 17 17:18:43 GMT 2019



Andreas Tille pushed to branch debian/unstable at Debian Med / sga


Commits:
c28a6bf4 by Andreas Tille at 2019-12-17T17:18:21Z
Do not enforce -std=c++98 to stay compatible with google sparsehash library

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/no_enforcing_c++98.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -11,6 +11,8 @@ sga (0.10.15-5) UNRELEASED; urgency=medium
   * debian/copyright: use spaces rather than tabs to start continuation
     lines.
   * Set upstream metadata fields: Repository.
+  * Do not enforce -std=c++98 to stay compatible with google sparsehash
+    library (thanks for the hint to Yavor Doganov <yavor at gnu.org>)
 
  -- Andreas Tille <tille at debian.org>  Mon, 02 Sep 2019 20:18:33 +0200
 


=====================================
debian/patches/no_enforcing_c++98.patch
=====================================
@@ -0,0 +1,17 @@
+Description: Do not enforce -std=c++98 to stay compatible with google sparsehash
+    library (thanks for the hint to Yavor Doganov <yavor at gnu.org>)
+Author: Yavor Doganov <yavor at gnu.org>
+Date: Fri, 13 Sep 2019 18:55:05 +0300
+Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=938472#22
+
+--- a/src/configure.ac
++++ b/src/configure.ac
+@@ -92,7 +92,7 @@ fi
+ 
+ # Set compiler flags.
+ AC_SUBST(AM_CXXFLAGS, "-Wall -Wextra $fail_on_warning -Wno-unknown-pragmas")
+-AC_SUBST(CXXFLAGS, "-std=c++98 -O3")
++# AC_SUBST(CXXFLAGS, "-std=c++98 -O3")
+ AC_SUBST(CFLAGS, "-std=gnu99 -O3")
+ AC_SUBST(CPPFLAGS, "$CPPFLAGS $openmp_cppflags $sparsehash_include $bamtools_include")
+ AC_SUBST(LDFLAGS, "$openmp_cppflags $external_malloc_ldflags $bamtools_ldflags $LDFLAGS")


=====================================
debian/patches/series
=====================================
@@ -7,3 +7,4 @@
 gcc-7.patch
 no_privacy_breach_url.patch
 2to3.patch
+no_enforcing_c++98.patch



View it on GitLab: https://salsa.debian.org/med-team/sga/commit/c28a6bf45e34c5bffbaef99d04a39c87bb556e63

-- 
View it on GitLab: https://salsa.debian.org/med-team/sga/commit/c28a6bf45e34c5bffbaef99d04a39c87bb556e63
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20191217/f36217c7/attachment-0001.html>


More information about the debian-med-commit mailing list