From nobody Thu Oct 03 10:27:30 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XK7Cl2h3nz5Y6gh; Thu, 03 Oct 2024 10:27:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XK7Ck60DNz4CrN; Thu, 3 Oct 2024 10:27:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727951250; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NsOTQtgimcXV5rk5bVdCo4GV6EIpNqy3IgF2ctxYkf4=; b=NUSK5H4HYbZMiO2IdISwRRcWo1gcNIfPM+1khtcRySEuaYWcS4RQ5xOkYL8fPzUcvBkjR3 1wxSe/Y9+WwcKDjjMxWu3If+Y7vkw5UpXxDAAcXq0P/hgBWPvqhsql0pxTZRxqBJEoFWvB 0ZpNL0xwAqPkjJgpeur/wdlnInRPH8DJ+kN67J3ioPHETSfNDn0s9p81XrGDVG+LushmOn MoN9h5Xev5nsHsJHFAcU54TQmq860uodsIAp4Mk3Yo60l/Y0PcC3pJZ8iySoqfecxQzEsP HgRvY896Oj8OOGlJWzIWIbFebRYmjN6FwV/XMnJOoidBRnqThUXweU1wBUDIoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727951250; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NsOTQtgimcXV5rk5bVdCo4GV6EIpNqy3IgF2ctxYkf4=; b=CXdsJoNpX6Io7nnKdCrmxSmxtHVgKA6h191H+cglMSav2emCngNt5POipCb+rgfLZ1FGYp w3Dx1NmHTviHECMNw2UitOtSKFFCrJtbn3xs94WUcC0xmtIS/tcN2uFMZXYgjWc0WSBZmQ R6TZOvetA6J26o1gCdpRn+auFV9uuqFUSHO2jJsLzvXZIU6wpUN11QKn5dBerCS/nnxs1S i4pcEE3XUOjz+1V5aoCJ6jKXWriIKh66LQeAylv3HjagO+VRqH8FGv2Q7omJ/yF8d719mH bvXoB4S0eyw8YDh5dv6GS2f7KRJPtvU+AQ3AfPBP3YcZMucJlsmkY6LsRBCbPQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727951250; a=rsa-sha256; cv=none; b=MKzdVc5FOfgekS8zLH/EkjQz4CT/1jAMbQbFWvoxoJeWsOvpPqnImJagFWtzwOyOpdqPQh +JFR0WTBZMIzpyGa0zoFJW1bAmPpOkw+ZIDqNV8/0n3YVOUoU+4yq4R4BdRE6lbcm5XsZx uIwxjKMCt9Z1hxIL5Y3LH2FfKlVxpWZqoSkKptsqrRANYMDlt1gvRxCoLPub6XzIsA9GBY DU7+tnXXLM9GklhuWdig2qCdDI1l80+2Y/1yW9gfHuugQ53bevoiyh/MCbxO6UFQ5kWcjZ PJYcn4NMm+hzzjh1mLRz9Wfsd9ocgwOVotYepfcZd9Pb4u5m8cbdAVeiSdmBBg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XK7Ck5Z4yzmTS; Thu, 3 Oct 2024 10:27:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 493ARUNJ042146; Thu, 3 Oct 2024 10:27:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 493ARU55042143; Thu, 3 Oct 2024 10:27:30 GMT (envelope-from git) Date: Thu, 3 Oct 2024 10:27:30 GMT Message-Id: <202410031027.493ARU55042143@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dima Panov Subject: git: e40868a34df2 - main - science/orthanc-dicomweb: unbreak build with boost-1.85 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fluffy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e40868a34df2cefac8a549f04774216995eae957 Auto-Submitted: auto-generated The branch main has been updated by fluffy: URL: https://cgit.FreeBSD.org/ports/commit/?id=e40868a34df2cefac8a549f04774216995eae957 commit e40868a34df2cefac8a549f04774216995eae957 Author: Dima Panov AuthorDate: 2024-10-02 23:42:18 +0000 Commit: Dima Panov CommitDate: 2024-10-03 10:24:57 +0000 science/orthanc-dicomweb: unbreak build with boost-1.85 With hat: office Sponsored by: Future Crew, LLC --- science/orthanc-dicomweb/Makefile | 2 +- ..._Orthanc-1.11.0_OrthancFramework_Sources_SystemToolbox.cpp | 11 +++++++++++ ...anc-1.11.0_OrthancServer_Plugins_Engine_PluginsManager.cpp | 11 +++++++++++ ...OrthancServer_Plugins_Samples_ModalityWorklists_Plugin.cpp | 11 +++++++++++ ...hanc-1.11.0_OrthancServer_Sources_OrthancConfiguration.cpp | 11 +++++++++++ 5 files changed, 45 insertions(+), 1 deletion(-) diff --git a/science/orthanc-dicomweb/Makefile b/science/orthanc-dicomweb/Makefile index a3da463d7be8..ba4dd496d175 100644 --- a/science/orthanc-dicomweb/Makefile +++ b/science/orthanc-dicomweb/Makefile @@ -1,6 +1,6 @@ PORTNAME= orthanc-dicomweb DISTVERSION= 1.8 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= science MASTER_SITES= https://www.orthanc-server.com/downloads/get.php?path=/plugin-dicom-web/:main \ https://www.orthanc-server.com/downloads/get.php?path=/orthanc/:framework \ diff --git a/science/orthanc-dicomweb/files/patch-ThirdPartyDownloads_Orthanc-1.11.0_OrthancFramework_Sources_SystemToolbox.cpp b/science/orthanc-dicomweb/files/patch-ThirdPartyDownloads_Orthanc-1.11.0_OrthancFramework_Sources_SystemToolbox.cpp new file mode 100644 index 000000000000..be3a52257299 --- /dev/null +++ b/science/orthanc-dicomweb/files/patch-ThirdPartyDownloads_Orthanc-1.11.0_OrthancFramework_Sources_SystemToolbox.cpp @@ -0,0 +1,11 @@ +--- ThirdPartyDownloads/Orthanc-1.11.0/OrthancFramework/Sources/SystemToolbox.cpp.orig 2022-05-09 09:19:44 UTC ++++ ThirdPartyDownloads/Orthanc-1.11.0/OrthancFramework/Sources/SystemToolbox.cpp +@@ -728,7 +728,7 @@ namespace Orthanc + + MimeType SystemToolbox::AutodetectMimeType(const std::string& path) + { +- std::string extension = boost::filesystem::extension(path); ++ std::string extension = boost::filesystem::path(path).extension().string(); + Toolbox::ToLowerCase(extension); + + // http://en.wikipedia.org/wiki/Mime_types diff --git a/science/orthanc-dicomweb/files/patch-ThirdPartyDownloads_Orthanc-1.11.0_OrthancServer_Plugins_Engine_PluginsManager.cpp b/science/orthanc-dicomweb/files/patch-ThirdPartyDownloads_Orthanc-1.11.0_OrthancServer_Plugins_Engine_PluginsManager.cpp new file mode 100644 index 000000000000..7e84c746faa1 --- /dev/null +++ b/science/orthanc-dicomweb/files/patch-ThirdPartyDownloads_Orthanc-1.11.0_OrthancServer_Plugins_Engine_PluginsManager.cpp @@ -0,0 +1,11 @@ +--- ThirdPartyDownloads/Orthanc-1.11.0/OrthancServer/Plugins/Engine/PluginsManager.cpp.orig 2022-05-09 09:19:44 UTC ++++ ThirdPartyDownloads/Orthanc-1.11.0/OrthancServer/Plugins/Engine/PluginsManager.cpp +@@ -292,7 +292,7 @@ namespace Orthanc + } + else + { +- std::string extension = boost::filesystem::extension(it->path()); ++ std::string extension = it->path().extension().string(); + Toolbox::ToLowerCase(extension); + + if (extension == PLUGIN_EXTENSION) diff --git a/science/orthanc-dicomweb/files/patch-ThirdPartyDownloads_Orthanc-1.11.0_OrthancServer_Plugins_Samples_ModalityWorklists_Plugin.cpp b/science/orthanc-dicomweb/files/patch-ThirdPartyDownloads_Orthanc-1.11.0_OrthancServer_Plugins_Samples_ModalityWorklists_Plugin.cpp new file mode 100644 index 000000000000..dad50da54856 --- /dev/null +++ b/science/orthanc-dicomweb/files/patch-ThirdPartyDownloads_Orthanc-1.11.0_OrthancServer_Plugins_Samples_ModalityWorklists_Plugin.cpp @@ -0,0 +1,11 @@ +--- ThirdPartyDownloads/Orthanc-1.11.0/OrthancServer/Plugins/Samples/ModalityWorklists/Plugin.cpp.orig 2022-05-09 09:19:44 UTC ++++ ThirdPartyDownloads/Orthanc-1.11.0/OrthancServer/Plugins/Samples/ModalityWorklists/Plugin.cpp +@@ -163,7 +163,7 @@ OrthancPluginErrorCode Callback(OrthancPluginWorklistA + if (type == fs::regular_file || + type == fs::reparse_file) // cf. BitBucket issue #11 + { +- std::string extension = fs::extension(it->path()); ++ std::string extension = it->path().extension().string(); + std::transform(extension.begin(), extension.end(), extension.begin(), tolower); // Convert to lowercase + + if (extension == ".wl") diff --git a/science/orthanc-dicomweb/files/patch-ThirdPartyDownloads_Orthanc-1.11.0_OrthancServer_Sources_OrthancConfiguration.cpp b/science/orthanc-dicomweb/files/patch-ThirdPartyDownloads_Orthanc-1.11.0_OrthancServer_Sources_OrthancConfiguration.cpp new file mode 100644 index 000000000000..9df1a25a54a7 --- /dev/null +++ b/science/orthanc-dicomweb/files/patch-ThirdPartyDownloads_Orthanc-1.11.0_OrthancServer_Sources_OrthancConfiguration.cpp @@ -0,0 +1,11 @@ +--- ThirdPartyDownloads/Orthanc-1.11.0/OrthancServer/Sources/OrthancConfiguration.cpp.orig 2022-05-09 09:19:44 UTC ++++ ThirdPartyDownloads/Orthanc-1.11.0/OrthancServer/Sources/OrthancConfiguration.cpp +@@ -113,7 +113,7 @@ namespace Orthanc + { + if (!is_directory(it->status())) + { +- std::string extension = boost::filesystem::extension(it->path()); ++ std::string extension = it->path().extension().string(); + Toolbox::ToLowerCase(extension); + + if (extension == ".json")