Clang 4 requires this patch too

This commit is contained in:
Max Howell 2012-02-26 14:06:03 +00:00
parent 415910391f
commit ac67a32803

View file

@ -11,7 +11,7 @@ class Ragel < Formula
md5 'f4423e0d8a6538dd4e61498fcfad3cec'
def install
if ENV.compiler == :clang and MacOS.clang_version.to_f == 3.1
if ENV.compiler == :clang
# fix build with clang
inreplace ["aapl/avlcommon.h", "aapl/bstcommon.h", "aapl/bubblesort.h", "aapl/mergesort.h"], /([^:.])(compare)/, '\1this->\2'
# fix build with libc++