Date: Mon, 6 Oct 2025 11:24:31 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 3325dbe6f133 - main - graphics/openexr: Fix build with openjph 0.23.0+ Message-ID: <202510061124.596BOVfv090016@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=3325dbe6f13323cd0eeeed35d03d045e2e413881 commit 3325dbe6f13323cd0eeeed35d03d045e2e413881 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2025-10-06 10:21:45 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2025-10-06 10:21:45 +0000 graphics/openexr: Fix build with openjph 0.23.0+ - Add BUILD_DEPENDS check Approved by: portmgr (blanket) Obtained from: https://github.com/AcademySoftwareFoundation/openexr/pull/2122 --- graphics/openexr/Makefile | 3 ++- graphics/openexr/files/patch-openjph | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/graphics/openexr/Makefile b/graphics/openexr/Makefile index 74944d3740ed..c037c6ea41b4 100644 --- a/graphics/openexr/Makefile +++ b/graphics/openexr/Makefile @@ -34,7 +34,8 @@ WWW= https://www.openexr.com/ LICENSE= BSD3CLAUSE -BUILD_DEPENDS?= help2man:misc/help2man +BUILD_DEPENDS?= help2man:misc/help2man \ + openjph>=0.23.0:graphics/openjph # exact libImath version required to avoid hard-to-debug issues # but this is due to Imath and OpenEXR being close in terms of their # release engineering, no other port should version pin Imath diff --git a/graphics/openexr/files/patch-openjph b/graphics/openexr/files/patch-openjph new file mode 100644 index 000000000000..a0f2516764cd --- /dev/null +++ b/graphics/openexr/files/patch-openjph @@ -0,0 +1,23 @@ +Obtained from: https://github.com/AcademySoftwareFoundation/openexr/pull/2122 + +--- src/lib/OpenEXRCore/internal_ht.cpp.orig 2025-09-05 17:30:35 UTC ++++ src/lib/OpenEXRCore/internal_ht.cpp +@@ -7,12 +7,12 @@ + #include <string> + #include <fstream> + +-#include <ojph_arch.h> +-#include <ojph_file.h> +-#include <ojph_params.h> +-#include <ojph_mem.h> +-#include <ojph_codestream.h> +-#include <ojph_message.h> ++#include <openjph/ojph_arch.h> ++#include <openjph/ojph_file.h> ++#include <openjph/ojph_params.h> ++#include <openjph/ojph_mem.h> ++#include <openjph/ojph_codestream.h> ++#include <openjph/ojph_message.h> + + #include "openexr_decode.h" + #include "openexr_encode.h"home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510061124.596BOVfv090016>
