aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/liblastfm.rb
diff options
context:
space:
mode:
authornibbles 2bits2012-06-20 11:10:53 -0700
committerAdam Vandenberg2012-06-22 22:01:35 -0700
commit432d67a73ac72d1d7c60cc7066036f3d48a49edb (patch)
tree5e9337b32f6fb44636d4cf059783a128648e9b18 /Library/Formula/liblastfm.rb
parent624e06544539b64e08d65145ae3c3f1a2682ebd1 (diff)
downloadhomebrew-432d67a73ac72d1d7c60cc7066036f3d48a49edb.tar.bz2
liblastfm: add fails_with :clang
Liblastfm-0.3.3 fails to compile with clang. Add a `fails_with :clang` block. Add the upstream bug report in the comments. Fixes #12886 Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/liblastfm.rb')
-rw-r--r--Library/Formula/liblastfm.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/liblastfm.rb b/Library/Formula/liblastfm.rb
index 8e2137d45..c7da8046e 100644
--- a/Library/Formula/liblastfm.rb
+++ b/Library/Formula/liblastfm.rb
@@ -9,6 +9,12 @@ class Liblastfm < Formula
depends_on 'fftw'
depends_on 'libsamplerate'
+ # See issue #12886. Reported in: https://github.com/mxcl/liblastfm/issues/14
+ fails_with :clang do
+ build 318
+ cause 'error: reference to non-static member function must be called'
+ end
+
def install
system "./configure", "--release", "--prefix", prefix
system "make"