libpar2 fails with clang

See https://github.com/mxcl/homebrew/issues/11926
This commit is contained in:
Adam Vandenberg 2012-04-28 10:16:57 -07:00
parent dda1ec27bd
commit aae6d65ff7

View file

@ -8,6 +8,13 @@ class Libpar2 < Formula
depends_on 'pkg-config' => :build
depends_on 'libsigc++'
fails_with :clang do
build '318'
cause <<-EOS.undent
./par2fileformat.h:87:25: error: flexible array member 'entries' of non-POD element type 'FILEVERIFICATIONENTRY []'
EOS
end
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"