From ddddf5750d39d5c518c66755c116a052d0b14111 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 16 Nov 2013 09:59:13 -0600 Subject: nzbget: fails with clang 500 --- Library/Formula/nzbget.rb | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'Library') diff --git a/Library/Formula/nzbget.rb b/Library/Formula/nzbget.rb index f1a001758..ecb92bc8e 100644 --- a/Library/Formula/nzbget.rb +++ b/Library/Formula/nzbget.rb @@ -5,13 +5,6 @@ class Libpar2 < Formula url 'http://downloads.sourceforge.net/project/parchive/libpar2/0.2/libpar2-0.2.tar.gz' sha1 '4b3da928ea6097a8299aadafa703fc6d59bdfb4b' - fails_with :clang do - build 425 - cause <<-EOS.undent - ./par2fileformat.h:87:25: error: flexible array member 'entries' of non-POD element type 'FILEVERIFICATIONENTRY []' - EOS - end - def patches # Patch libpar2 - bugfixes and ability to cancel par2 repair "https://gist.github.com/raw/4576230/e722f2113195ee9b8ee67c1c424aa3f2085b1066/libpar2-0.2-nzbget.patch" @@ -29,10 +22,11 @@ class Nzbget < Formula depends_on 'libsigc++' fails_with :clang do - build 425 + build 500 cause <<-EOS.undent Configure errors out when testing the libpar2 headers because Clang does not support flexible arrays of non-POD types. + ./par2fileformat.h:87:25: error: flexible array member 'entries' of non-POD element type 'FILEVERIFICATIONENTRY []' EOS end -- cgit v1.2.3