From 5c60dd30df6603df87eb2c0e566fbfd39913dce72f441f034b2eca3006d86eb3 Mon Sep 17 00:00:00 2001 From: Axel Braun Date: Tue, 19 Dec 2023 08:54:11 +0000 Subject: [PATCH] Accepting request 1133895 from home:DocB:Orthanc fix build issue due to libboost 1.84 OBS-URL: https://build.opensuse.org/request/show/1133895 OBS-URL: https://build.opensuse.org/package/show/graphics/orthanc?expand=0&rev=58 --- libboost.diff | 31 +++++++++++++++++++++++++++++++ orthanc.changes | 5 +++++ orthanc.spec | 5 +++-- 3 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 libboost.diff diff --git a/libboost.diff b/libboost.diff new file mode 100644 index 0000000..226594a --- /dev/null +++ b/libboost.diff @@ -0,0 +1,31 @@ +--- a/OrthancFramework/Sources/Images/Font.cpp Mon Dec 18 09:52:12 2023 +0100 ++++ b/OrthancFramework/Sources/Images/Font.cpp Mon Dec 18 10:44:11 2023 +0100 +@@ -37,6 +37,7 @@ + #include "Image.h" + #include "ImageProcessing.h" + ++#include + #include + #include + #include + +--- a/OrthancFramework/Sources/Images/PamWriter.cpp Mon Dec 18 09:52:12 2023 +0100 ++++ b/OrthancFramework/Sources/Images/PamWriter.cpp Mon Dec 18 10:44:11 2023 +0100 +@@ -28,6 +28,7 @@ + #include "../OrthancException.h" + #include "../Toolbox.h" + ++#include + #include + + +--- a/OrthancServer/Sources/Search/ISqlLookupFormatter.cpp Mon Dec 18 09:52:12 2023 +0100 ++++ b/OrthancServer/Sources/Search/ISqlLookupFormatter.cpp Mon Dec 18 10:44:11 2023 +0100 +@@ -38,6 +38,7 @@ + + #include "DatabaseConstraint.h" + ++#include + #include + #include + diff --git a/orthanc.changes b/orthanc.changes index c094654..ee4fc3e 100644 --- a/orthanc.changes +++ b/orthanc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Dec 18 14:13:12 UTC 2023 - Axel Braun + +- libboost.diff to fix build error with boost 1.84 + ------------------------------------------------------------------- Wed Jul 5 17:24:07 UTC 2023 - Axel Braun diff --git a/orthanc.spec b/orthanc.spec index e01d46e..13def77 100644 --- a/orthanc.spec +++ b/orthanc.spec @@ -24,7 +24,7 @@ Summary: RESTful DICOM server for healthcare and medical research License: GPL-3.0-or-later Group: Productivity/Graphics/Visualization/Other URL: https://www.orthanc-server.com/ -Source0: https://www.orthanc-server.com/downloads/get.php?path=/orthanc/Orthanc-%{version}.tar.gz +Source0: https://orthanc.uclouvain.be/downloads/sources/%{name}/Orthanc-%{version}.tar.gz Source1: orthanc.service Source2: orthanc-readme.SUSE Source3: serve-folders.json @@ -38,6 +38,7 @@ Source11: https://orthanc.osimis.io/ThirdPartyDownloads/dicom-web/axios-0. Source12: https://orthanc.osimis.io/ThirdPartyDownloads/jquery-3.4.1.min.js Source13: https://orthanc.osimis.io/ThirdPartyDownloads/dicom-web/vuejs-2.6.10.tar.gz +Patch0: libboost.diff BuildRequires: civetweb-devel BuildRequires: cmake >= 2.8.0 BuildRequires: curl-devel @@ -124,7 +125,7 @@ This package includes the source files for Orthanc. Use it in conjunction with t %prep %setup -q -n Orthanc-%{version} -## %autopatch -p1 +%autopatch -p1 cp %{S:1} %{S:2} .