Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package orthanc-webviewer for 
openSUSE:Factory checked in at 2025-06-23 15:03:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/orthanc-webviewer (Old)
 and      /work/SRC/openSUSE:Factory/.orthanc-webviewer.new.7067 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "orthanc-webviewer"

Mon Jun 23 15:03:24 2025 rev:11 rq:1287586 version:2.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/orthanc-webviewer/orthanc-webviewer.changes      
2025-04-20 20:05:50.123751280 +0200
+++ 
/work/SRC/openSUSE:Factory/.orthanc-webviewer.new.7067/orthanc-webviewer.changes
    2025-06-23 15:03:49.870125036 +0200
@@ -1,0 +2,5 @@
+Sat Jun 21 16:25:37 UTC 2025 - Axel Braun <axel.br...@gmx.de>
+
+- cache.diff added to fix build issue with orthanc 1.12.8
+
+-------------------------------------------------------------------

New:
----
  cache.diff

----------(New B)----------
  New:
- cache.diff added to fix build issue with orthanc 1.12.8
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ orthanc-webviewer.spec ++++++
--- /var/tmp/diff_new_pack.lCyAts/_old  2025-06-23 15:03:50.722160582 +0200
+++ /var/tmp/diff_new_pack.lCyAts/_new  2025-06-23 15:03:50.726160749 +0200
@@ -34,6 +34,8 @@
 Source11:       orthanc-webviewer-readme.SUSE
 Source12:       webviewer.json
 
+Patch0:         cache.diff
+
 BuildRequires:  cmake
 %if 0%{?suse_version} == 1500 && 0%{?sle_version} > 150200
 BuildRequires:  gcc13-c++

++++++ cache.diff ++++++
--- a/Plugin/Cache/CacheManager.cpp     Tue Apr 15 13:46:42 2025 +0200
+++ b/Plugin/Cache/CacheManager.cpp     Sat Jun 14 09:09:56 2025 +0200
@@ -467,8 +467,14 @@
     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));
+      std::unique_ptr<Orthanc::IMemoryBuffer> buffer;
+
+#  if ORTHANC_FRAMEWORK_VERSION_IS_ABOVE(1, 12, 8)
+      pimpl_->storage_.ReadWhole(uuid, Orthanc::FileContentType_Unknown);
+#  else
+      pimpl_->storage_.Read(uuid, Orthanc::FileContentType_Unknown);
+#  endif
+
       buffer->MoveToString(content);
 #else
       pimpl_->storage_.Read(content, uuid, Orthanc::FileContentType_Unknown);

Reply via email to