Sebastien Jodogne pushed to branch master at Debian Med / orthanc-webviewer
Commits: 679ada24 by jodogne-guest at 2021-01-29T16:21:44+01:00 fix compatibility with Orthanc framework 1.9.0 - - - - - 8a000aa8 by jodogne-guest at 2021-01-29T16:29:18+01:00 Upload to unstable - - - - - 3 changed files: - debian/changelog - + debian/patches/orthanc-framework - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,9 @@ +orthanc-webviewer (2.7-2) unstable; urgency=medium + + * Compatibility with Orthanc framework 1.9.0 + + -- Sebastien Jodogne <[email protected]> Fri, 29 Jan 2021 16:17:14 +0100 + orthanc-webviewer (2.7-1) unstable; urgency=medium * New upstream version ===================================== debian/patches/orthanc-framework ===================================== @@ -0,0 +1,24 @@ +Description: Fix compatibility with Orthanc framework 1.9.0 +Author: Sebastien Jodogne <[email protected]> +Forwarded: yes +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: OrthancWebViewer-2.7/Plugin/Cache/CacheManager.cpp +=================================================================== +--- OrthancWebViewer-2.7.orig/Plugin/Cache/CacheManager.cpp ++++ OrthancWebViewer-2.7/Plugin/Cache/CacheManager.cpp +@@ -475,7 +475,14 @@ namespace OrthancPlugins + bool ok; + try + { ++#if defined(ORTHANC_FRAMEWORK_VERSION_IS_ABOVE) && ORTHANC_FRAMEWORK_VERSION_IS_ABOVE(1, 9, 0) ++ std::unique_ptr<Orthanc::IMemoryBuffer> buffer( ++ pimpl_->storage_.Read(uuid, Orthanc::FileContentType_Unknown)); ++ buffer->MoveToString(content); ++#else + pimpl_->storage_.Read(content, uuid, Orthanc::FileContentType_Unknown); ++#endif ++ + ok = (content.size() == size); + } + catch (std::runtime_error&) ===================================== debian/patches/series ===================================== @@ -1 +1,2 @@ cmake +orthanc-framework View it on GitLab: https://salsa.debian.org/med-team/orthanc-webviewer/-/compare/ac067ead54dd93de950f5392e994f94a37b9cb59...8a000aa8f88532f2590a1f8f6da116cedde63e9f -- View it on GitLab: https://salsa.debian.org/med-team/orthanc-webviewer/-/compare/ac067ead54dd93de950f5392e994f94a37b9cb59...8a000aa8f88532f2590a1f8f6da116cedde63e9f You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
