[med-svn] [libbpp-raa] 01/02: Added unforce-cxxflags.patch.

Julien Dutheil jdutheil-guest at moszumanska.debian.org
Wed Aug 9 21:30:15 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-raa.

commit 60448fd90e0ec0cb1c344d05c0347b5349f5784d
Author: Julien Y. Dutheil <dutheil at evolbio.mpg.de>
Date:   Wed Aug 9 23:10:59 2017 +0200

    Added unforce-cxxflags.patch.
    
    Removes both C and CXX flags.
---
 debian/changelog                      |  7 +++++++
 debian/patches/series                 |  1 +
 debian/patches/unforce-cxxflags.patch | 20 ++++++++++++++++++++
 3 files changed, 28 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index fd68e42..2b6ab54 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libbpp-raa (2.3.1-5) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Does not override debian C and CXX flags anymore.
+
+ -- Julien Dutheil <julien.dutheil at univ-montp2.fr>  Wed, 09 Aug 2017 23:10:01 +0200
+
 libbpp-raa (2.3.1-4) unstable; urgency=medium
 
   * Removed postinst scripts
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..af33dcc
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+unforce-cxxflags.patch
diff --git a/debian/patches/unforce-cxxflags.patch b/debian/patches/unforce-cxxflags.patch
new file mode 100644
index 0000000..4c9128a
--- /dev/null
+++ b/debian/patches/unforce-cxxflags.patch
@@ -0,0 +1,20 @@
+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,8 +9,8 @@ cmake_minimum_required (VERSION 2.8.11)
+ project (bpp-raa C CXX)
+ 
+ # Compile options
+-set (CMAKE_CXX_FLAGS "-std=c++11 -Wall")
++# set (CMAKE_CXX_FLAGS "-std=c++11 -Wall")
+-set (CMAKE_C_FLAGS "-Wall")
++# set (CMAKE_C_FLAGS "-Wall")
+ 
+ IF(NOT CMAKE_BUILD_TYPE)
+   SET(CMAKE_BUILD_TYPE Release CACHE STRING
+

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



More information about the debian-med-commit mailing list