[med-svn] [orthanc] 02/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 56f82da2d559eb983180a038d6f29c48a0d60b14
Author: jodogne-guest <s.jodogne at gmail.com>
Date:   Thu Apr 7 15:32:42 2016 +0200

    jsoncpp-cxx11 patch
---
 debian/patches/jsoncpp-cxx11 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/patches/jsoncpp-cxx11 b/debian/patches/jsoncpp-cxx11
index 7c479a6..1be0516 100644
--- a/debian/patches/jsoncpp-cxx11
+++ b/debian/patches/jsoncpp-cxx11
@@ -10,7 +10,7 @@ Index: Orthanc-1.0.0/Resources/CMake/Compiler.cmake
    # --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")
++  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-deprecated-declarations")
  
    if (CMAKE_CROSSCOMPILING)
      # http://stackoverflow.com/a/3543845/881731

-- 
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