harfbuzz: fix building on newer clang

Closes #41090.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
This commit is contained in:
Misty De Meo 2019-06-18 16:09:33 -07:00
parent a89eb884b6
commit 8eae077f06
No known key found for this signature in database
GPG key ID: 76CF846A2F674B2C

View file

@ -34,6 +34,19 @@ class Harfbuzz < Formula
sha256 "9535d35dab9e002963eef56757c46881f6b3d3b27db24eefcc80929781856c77"
end
# Fixes building on clang with -Wextra-semi-stmt.
# Both patches are in master, should be in the next release.
# https://github.com/harfbuzz/harfbuzz/pull/1783
patch do
url "https://github.com/harfbuzz/harfbuzz/commit/10bac21bb5b25cf20c2198934e99e444625dfd97.patch?full_index=1"
sha256 "7392a5cf71d922105a978e7074f918d20ade6c4e83f864d73b6f12d50ffeefd6"
end
patch do
url "https://github.com/harfbuzz/harfbuzz/commit/e710888188ff3285a162c25c89d886d9535d9f02.patch?full_index=1"
sha256 "eaf09af93510f2d13d640d44da3a055b7f08fe5b9d48ef9f4ef2a3adfdbc8b07"
end
def install
args = %W[
--disable-dependency-tracking