aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-04-23 20:27:58 -0700
committerAdam Vandenberg2012-04-23 20:28:28 -0700
commitef0b4f3d83527ff13dcc4755752f164c64290490 (patch)
tree26aedead4b566b7dce95daef2f91feb1d96c3e70 /Library/Formula
parent3ec2247a4c9a1aa8e35627bd27ad5636507fb7a4 (diff)
downloadhomebrew-ef0b4f3d83527ff13dcc4755752f164c64290490.tar.bz2
szl: fails with clang
Fixes #11610
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/szl.rb10
1 files changed, 9 insertions, 1 deletions
diff --git a/Library/Formula/szl.rb b/Library/Formula/szl.rb
index 1cf3b09a9..628b92150 100644
--- a/Library/Formula/szl.rb
+++ b/Library/Formula/szl.rb
@@ -1,8 +1,8 @@
require 'formula'
class Szl < Formula
- url 'http://szl.googlecode.com/files/szl-1.0.tar.gz'
homepage 'http://code.google.com/p/szl/'
+ url 'http://szl.googlecode.com/files/szl-1.0.tar.gz'
md5 'd25f73b2adf4b92229d8b451685506d1'
depends_on 'binutils' # For objdump
@@ -10,6 +10,14 @@ class Szl < Formula
depends_on 'protobuf' # for protoc
depends_on 'pcre'
+ fails_with :clang do
+ build 318
+ cause <<-EOS.undent
+ engine/symboltable.cc:47:7: error: qualified reference to 'Proc' is a constructor name rather than a type wherever a constructor can be declared
+ Proc::Proc* SymbolTable::init_proc_ = NULL;
+ EOS
+ end
+
def install
ENV['OBJDUMP'] = "#{HOMEBREW_PREFIX}/bin/gobjdump"
system "./configure", "--disable-dependency-tracking",