aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2012-04-28 10:16:57 -0700
committerAdam Vandenberg2012-04-28 10:16:57 -0700
commit67584d45264bd6e03dab798d6e26d5b12354f40c (patch)
treeabe2b514a8f1f690ab892d384c72083660cdd5be
parent3902e4f4bd0fe55e0f707e8bbb8adbc270e113d0 (diff)
downloadhomebrew-67584d45264bd6e03dab798d6e26d5b12354f40c.tar.bz2
libpar2 fails with clang
See https://github.com/mxcl/homebrew/issues/11926
-rw-r--r--Library/Formula/libpar2.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Formula/libpar2.rb b/Library/Formula/libpar2.rb
index c46b37eee..a3bfe1532 100644
--- a/Library/Formula/libpar2.rb
+++ b/Library/Formula/libpar2.rb
@@ -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}"