Skip to content

Commit e274733

Browse files
ZhongRuoyudaeho-ro
authored andcommitted
openexr: revision bump (openjph 0.23.0)
1 parent 7ca57e1 commit e274733

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Formula/o/openexr.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ class Openexr < Formula
44
url "https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v3.4.0.tar.gz"
55
sha256 "d7b31637d7adc359f5e5a7517ba918cb5997bc1a4ae7a808ec874cdf91da93c0"
66
license "BSD-3-Clause"
7+
revision 1
78

89
bottle do
910
sha256 cellar: :any, arm64_tahoe: "0b87332a88c224b8090af828120ddbf32a054ebc5b854cf4f377e6c7e5064c99"
@@ -33,6 +34,9 @@ class Openexr < Formula
3334
link_overwrite "lib/libIlmThread.so"
3435

3536
def install
37+
# Workaround with `openjph` >= 0.23 that doesn't include the prefix for cmake files
38+
inreplace "src/lib/OpenEXRCore/internal_ht.cpp", "<ojph_", "<openjph/ojph_"
39+
3640
system "cmake", "-S", ".", "-B", "build", *std_cmake_args
3741
system "cmake", "--build", "build"
3842
system "cmake", "--install", "build"

0 commit comments

Comments
 (0)