mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-26 19:09:48 -05:00
nzbget: fails with clang 500
This commit is contained in:
1 parent
3c7665b97a
commit
ddddf5750d
1 file changed
+2
-8
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user