diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/libagg.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/libagg.rb b/Library/Formula/libagg.rb index 0bcfdf614..a3e1eb1d3 100644 --- a/Library/Formula/libagg.rb +++ b/Library/Formula/libagg.rb @@ -9,9 +9,21 @@ class Libagg < Formula depends_on 'pkg-config' => :build depends_on 'sdl' + fails_with :clang do + build 318 + cause <<-EOS.undent + AGG tries to return a const reference as a non-const reference, which is + rejected by clang 3.1 but accepted by gcc + EOS + end + def install ENV.x11 # For freetype + # AM_C_PROTOTYPES was removed in automake 1.12, as it's only needed for + # pre-ANSI compilers + inreplace 'configure.in', 'AM_C_PROTOTYPES', '' + # No configure script. We need to run autoreconf, and aclocal and automake # need some direction. ENV['ACLOCAL'] = "aclocal -I#{HOMEBREW_PREFIX}/share/aclocal" # To find SDL m4 files |
