From bb2035c527e86a6a832e49711761ab62ef83065f Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Thu, 28 Mar 2013 14:04:52 -0700 Subject: opencv: patch for encoding issues Closes #18801. --- Library/Formula/opencv.rb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/opencv.rb b/Library/Formula/opencv.rb index ace807063..63b0a32c3 100644 --- a/Library/Formula/opencv.rb +++ b/Library/Formula/opencv.rb @@ -35,6 +35,10 @@ class Opencv < Formula # you don't need unless you're doing video analysis, and some of it isn't # in Homebrew anyway. Will depend on openexr if it's installed. + # Fix non-ASCII characters breaking in Java 1.7 + # https://github.com/Itseez/opencv/pull/718 + def patches; DATA; end + def install args = std_cmake_args + %w[ -DCMAKE_OSX_DEPLOYMENT_TARGET= @@ -102,3 +106,21 @@ class Opencv < Formula EOS end end + +__END__ +diff --git a/modules/java/build.xml.in b/modules/java/build.xml.in +index 98ba2e3..c1c1854 100644 +--- a/modules/java/build.xml.in ++++ b/modules/java/build.xml.in +@@ -8,8 +8,9 @@ + + + ++ + + + + +- +\ No newline at end of file ++ -- cgit v1.2.3