aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2012-04-03 13:10:36 -0500
committerJack Nagel2012-04-03 13:10:36 -0500
commiteaca40e933f3300e647f0126121aabf4db2521a4 (patch)
tree59c8bb9005a0a684873cbdd2c7809ccefa9d2db7 /Library
parente61797a975affbeb457ce8293f68992c86527396 (diff)
downloadhomebrew-eaca40e933f3300e647f0126121aabf4db2521a4.tar.bz2
hiredis: fails with clang
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/hiredis.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Formula/hiredis.rb b/Library/Formula/hiredis.rb
index 13a11c5c3..562b5c42e 100644
--- a/Library/Formula/hiredis.rb
+++ b/Library/Formula/hiredis.rb
@@ -6,6 +6,14 @@ class Hiredis < Formula
sha1 'a54dd2b31cb39bc05bf88538c688bf50f8c6c9c7'
head 'https://github.com/antirez/hiredis.git'
+ fails_with :clang do
+ build 318
+ cause <<-EOS.undent
+ argument to 'va_arg' is of incomplete type 'void'
+ This is fixed in HEAD, and can be removed for the next release.
+ EOS
+ end unless ARGV.build_head?
+
def install
# Architecture isn't detected correctly on 32bit Snow Leopard without help
ENV["OBJARCH"] = MacOS.prefer_64_bit? ? "-arch x86_64" : "-arch i386"