aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/nzbget.rb10
1 files changed, 2 insertions, 8 deletions
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