[med-svn] [gdcm] 02/05: Add patch to unforce -std=c++98

Gert Wollny gewo at moszumanska.debian.org
Sun Nov 19 10:37:21 UTC 2017


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

gewo pushed a commit to branch master
in repository gdcm.

commit cbabf2f58776029824f484c293ece2f738abdf73
Author: Gert Wollny <gewo at debian.org>
Date:   Sun Nov 19 10:09:33 2017 +0100

    Add patch to unforce -std=c++98
---
 debian/patches/series              |  1 +
 debian/patches/unforce_cxx98.patch | 14 ++++++++++++++
 2 files changed, 15 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 29c4b15..b4abf4c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 03_linkvtkdoc.patch
 04_multiarch.patch
 use_system_findjni.patch
+unforce_cxx98.patch
diff --git a/debian/patches/unforce_cxx98.patch b/debian/patches/unforce_cxx98.patch
new file mode 100644
index 0000000..c6675f0
--- /dev/null
+++ b/debian/patches/unforce_cxx98.patch
@@ -0,0 +1,14 @@
+Description: removed the forced -std=c++98
+ GDCM includes headers that require at least -std=c++11
+Author: Gert Wollny <gewo at debian.org>
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -15,7 +15,6 @@
+   cmake_policy(SET CMP0063 NEW)
+ endif()
+ project(GDCM)
+-set(CMAKE_CXX_STANDARD 98)
+ set(CMAKE_CXX_EXTENSIONS OFF)
+ mark_as_advanced(CMAKE_BACKWARDS_COMPATIBILITY CMAKE_BUILD_TYPE CMAKE_INSTALL_PREFIX)
+ set(GDCM_CMAKE_DIR "${GDCM_SOURCE_DIR}/CMake" CACHE INTERNAL "")

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



More information about the debian-med-commit mailing list