[med-svn] [orthanc] 01/03: jsoncpp-cxx11 patch
Sebastien Jodogne
jodogne-guest at moszumanska.debian.org
Thu Apr 7 13:49:45 UTC 2016
This is an automated email from the git hooks/post-receive script.
jodogne-guest pushed a commit to branch master
in repository orthanc.
commit 1554c2c3ee71a9ecb11f0fb3d248c39959974301
Author: jodogne-guest <s.jodogne at gmail.com>
Date: Thu Apr 7 15:31:24 2016 +0200
jsoncpp-cxx11 patch
---
debian/patches/jsoncpp-cxx11 | 16 ++++++++++++++++
debian/patches/series | 2 +-
2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/debian/patches/jsoncpp-cxx11 b/debian/patches/jsoncpp-cxx11
new file mode 100644
index 0000000..7c479a6
--- /dev/null
+++ b/debian/patches/jsoncpp-cxx11
@@ -0,0 +1,16 @@
+Description: Use 2011 ISO C++ standard as JsonCpp version >= 1.x.y
+Author: Sebastien Jodogne <s.jodogne at gmail.com>
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: Orthanc-1.0.0/Resources/CMake/Compiler.cmake
+===================================================================
+--- Orthanc-1.0.0.orig/Resources/CMake/Compiler.cmake 2015-12-15 17:49:02.000000000 +0100
++++ Orthanc-1.0.0/Resources/CMake/Compiler.cmake 2016-04-07 15:29:08.565628959 +0200
+@@ -11,6 +11,7 @@
+ # --std=c99 makes libcurl not to compile
+ # -pedantic gives a lot of warnings on OpenSSL
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Wno-long-long -Wno-variadic-macros")
++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
+
+ if (CMAKE_CROSSCOMPILING)
+ # http://stackoverflow.com/a/3543845/881731
diff --git a/debian/patches/series b/debian/patches/series
index a728c1c..be0b154 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,2 @@
cmake-dcmtk
-
+jsoncpp-cxx11
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/orthanc.git
More information about the debian-med-commit
mailing list