mame: remove Xcode 9 patch

This commit is contained in:
Perry Chou 2017-09-27 17:35:43 +08:00 committed by FX Coudert
parent 309a8d0ca2
commit 7402a83c0f

View file

@ -25,7 +25,7 @@ class Mame < Formula
depends_on "portaudio"
depends_on "utf8proc"
# Needs compiler and library support C++14.
# Need C++ compiler and standard library support C++14.
needs :cxx14
# jpeg 9 compatibility
@ -34,14 +34,6 @@ class Mame < Formula
sha256 "be8095e1b519f17ac4b9e6208f2d434e47346d8b4a8faf001b68749aac3efd20"
end
# Patch for Xcode 9: https://github.com/mamedev/mame/issues/2598
if DevelopmentTools.clang_build_version >= 900
patch do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/7ab58e7967/mame/xcode9.patch"
sha256 "2d7d0ffa9adbee780ce584403f4c2a7386b5edb097321efafc1778fc0200573d"
end
end
def install
inreplace "scripts/src/osd/sdl.lua", "--static", ""
system "make", "USE_LIBSDL=1",