[med-svn] [camitk] 02/02: Patch to remove CXX flags override

Emmanuel Promayon promayon-guest at moszumanska.debian.org
Tue Oct 4 10:01:53 UTC 2016


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

promayon-guest pushed a commit to branch master
in repository camitk.

commit 9471fd5d4666b350fd5ef8363d4e25977650678f
Author: Emmanuel Promayon <Emmanuel.Promayon at imag.fr>
Date:   Tue Oct 4 12:01:03 2016 +0200

    Patch to remove CXX flags override
    
    Signed-off-by: Emmanuel Promayon <Emmanuel.Promayon at imag.fr>
---
 debian/patches/do-not-override-cflags | 15 +++++++++++++++
 debian/patches/series                 |  1 +
 2 files changed, 16 insertions(+)

diff --git a/debian/patches/do-not-override-cflags b/debian/patches/do-not-override-cflags
new file mode 100644
index 0000000..158868e
--- /dev/null
+++ b/debian/patches/do-not-override-cflags
@@ -0,0 +1,15 @@
+Description: CMakeLists was overiding cxxflags
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836990
+Last-Update: 2016-10-04
+
+--- camitk-4.0.3.orig/CMakeLists.txt
++++ camitk-4.0.3/CMakeLists.txt
+@@ -34,7 +34,7 @@ include(camitk/packaging/CamiTKOpenSourc
+ camitk_opensource_packaging()
+ 
+ # CamiTK 4.0 is C++11 compliant
+-set(CMAKE_CXX_FLAGS "-std=c++11")
++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
+ 
+ # Specific to SDK: first compile the SDK (it looks like a CEP but is sooooo special...)
+ add_subdirectory(sdk)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..0cae24c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+do-not-override-cflags

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



More information about the debian-med-commit mailing list