tesseract: fix head build (#13616)

This commit is contained in:
Atsuyoshi SUZUKI 2017-05-17 02:51:13 +09:00 committed by FX Coudert
parent 9d554c7019
commit 03c9e2e3cf

View file

@ -68,10 +68,12 @@ class Tesseract < Formula
# remove on next release, > 3.05.00 # remove on next release, > 3.05.00
# upstream fix for building with OpenCL enabled # upstream fix for building with OpenCL enabled
# https://github.com/tesseract-ocr/tesseract/pull/814 # https://github.com/tesseract-ocr/tesseract/pull/814
unless build.head?
patch do patch do
url "https://github.com/tesseract-ocr/tesseract/commit/b18cad4.patch" url "https://github.com/tesseract-ocr/tesseract/commit/b18cad4.patch"
sha256 "10c59baa54c3406fcd03f36cd0f1e3cc2ba150f082d14f919274a541b3cff7b2" sha256 "10c59baa54c3406fcd03f36cd0f1e3cc2ba150f082d14f919274a541b3cff7b2"
end end
end
def install def install
if build.head? if build.head?