[med-svn] [orthanc-wsi] 01/01: reverting modifications done directly in the source code

Sebastien Jodogne jodogne-guest at moszumanska.debian.org
Wed Oct 4 09:37:43 UTC 2017


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

jodogne-guest pushed a commit to branch master
in repository orthanc-wsi.

commit c90299764b231fe12231fcdb56ad7b21015d35d3
Author: jodogne-guest <s.jodogne at gmail.com>
Date:   Wed Oct 4 11:21:51 2017 +0200

    reverting modifications done directly in the source code
---
 Resources/Orthanc/OrthancServer/FromDcmtkBridge.cpp | 2 +-
 ViewerPlugin/CMakeLists.txt                         | 7 +++----
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/Resources/Orthanc/OrthancServer/FromDcmtkBridge.cpp b/Resources/Orthanc/OrthancServer/FromDcmtkBridge.cpp
index af9c0e4..532d850 100644
--- a/Resources/Orthanc/OrthancServer/FromDcmtkBridge.cpp
+++ b/Resources/Orthanc/OrthancServer/FromDcmtkBridge.cpp
@@ -1681,7 +1681,7 @@ namespace Orthanc
           throw OrthancException(ErrorCode_BadParameterType);
         }
 
-        DcmSequenceOfItems* sequence = new DcmSequenceOfItems(key);
+        DcmSequenceOfItems* sequence = new DcmSequenceOfItems(key, value.size());
         element.reset(sequence);
         
         for (Json::Value::ArrayIndex i = 0; i < value.size(); i++)
diff --git a/ViewerPlugin/CMakeLists.txt b/ViewerPlugin/CMakeLists.txt
index 95338b3..2b0a7c0 100644
--- a/ViewerPlugin/CMakeLists.txt
+++ b/ViewerPlugin/CMakeLists.txt
@@ -234,10 +234,9 @@ add_library(OrthancWSI SHARED
   )
 
 message("Setting the version of the library to ${ORTHANC_WSI_VERSION}")
-set_target_properties(OrthancWSI PROPERTIES
-  NO_SONAME ON
-  LINK_FLAGS "-Wl,-soname,libOrthancWSI.so.${ORTHANC_WSI_VERSION}"
-  )
+set_target_properties(OrthancWSI PROPERTIES 
+  VERSION ${ORTHANC_WSI_VERSION} 
+  SOVERSION ${ORTHANC_WSI_VERSION})
 
 install(
   TARGETS OrthancWSI

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



More information about the debian-med-commit mailing list