[med-svn] [libbpp-seq] 01/03: Added unforce-cxxflags patch.

Julien Dutheil jdutheil-guest at moszumanska.debian.org
Wed Aug 9 13:57:43 UTC 2017


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

jdutheil-guest pushed a commit to branch master
in repository libbpp-seq.

commit 04dfbfd401f972b987eaebf0b048568bbc1b38c4
Author: Julien Y. Dutheil <dutheil at evolbio.mpg.de>
Date:   Wed Aug 9 15:54:19 2017 +0200

    Added unforce-cxxflags patch.
    
    Hopefully this also removes the -Wall strict flag.
---
 debian/patches/series                 |  1 +
 debian/patches/unforce-cxxflags.patch | 17 +++++++++++++++++
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 6c3fe83..1704a6b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+unforce-cxxflags.patch
 rm_VectorProbabilisticSiteContainer.patch
 relax_test_timeout.patch
diff --git a/debian/patches/unforce-cxxflags.patch b/debian/patches/unforce-cxxflags.patch
new file mode 100644
index 0000000..e36b063
--- /dev/null
+++ b/debian/patches/unforce-cxxflags.patch
@@ -0,0 +1,17 @@
+From: Gert Wollny <gw.fossdev at gmail.com>
+Date: Wed, 29 Jun 2014 16:52:43 +0200
+Subject: Do not override Debian CXX flags
+Comment: Upstream version 2.3.0 now has additional -std=c++11 which might
+         be needed to be added explicitly
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -9,7 +9,7 @@ cmake_minimum_required (VERSION 2.8.11)
+ project (bpp-seq CXX)
+ 
+ # Compile options
+-set (CMAKE_CXX_FLAGS "-std=c++11 -Wall -Weffc++ -Wshadow -Wconversion")
++# set (CMAKE_CXX_FLAGS "-std=c++11 -Wall -Weffc++ -Wshadow -Wconversion")
+ 
+ IF(NOT CMAKE_BUILD_TYPE)
+   SET(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING

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



More information about the debian-med-commit mailing list