aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/opencolorio.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/opencolorio.rb b/Library/Formula/opencolorio.rb
index 966b99b85..d870d37d6 100644
--- a/Library/Formula/opencolorio.rb
+++ b/Library/Formula/opencolorio.rb
@@ -16,6 +16,11 @@ class Opencolorio < Formula
option 'with-java', 'Build ocio with java bindings'
option 'with-docs', 'Build the documentation'
+ def patches
+ # Fix build with libc++
+ "https://github.com/imageworks/OpenColorIO/commit/ebd6efc036b6d0b17c869e3342f17f9c5ef8bbfc.patch"
+ end
+
def install
args = std_cmake_args
args << "-DOCIO_BUILD_JNIGLUE=ON" if build.with? 'java'