aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorLeo Franchi2012-09-26 18:54:30 -0400
committerMax Howell2012-09-28 09:11:33 -0400
commit19fde81dbecdb5ad31c8535f0c84a87991b07e37 (patch)
treeb333b7da1f9da150d00d77d7965460605478de39 /Library/Formula
parent54f302a89e3628cf26f7532d7bec3178da04efd1 (diff)
downloadhomebrew-19fde81dbecdb5ad31c8535f0c84a87991b07e37.tar.bz2
Add QCA patch to allow compiling with clang
Closes #15144. Signed-off-by: Max Howell <mxcl@me.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/qca.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/qca.rb b/Library/Formula/qca.rb
index 36176a70d..29025b98a 100644
--- a/Library/Formula/qca.rb
+++ b/Library/Formula/qca.rb
@@ -7,6 +7,12 @@ class Qca < Formula
depends_on 'qt'
+ def patches
+ # Fix for clang adhering strictly to standard, see http://clang.llvm.org/compatibility.html#dep_lookup_bases
+ # See upstream report: https://bugs.kde.org/show_bug.cgi?id=307470
+ 'https://gist.github.com/raw/3789382/516de8476304822634db5f305e209420eadd623d/qca-2.0.3-clang-fix'
+ end
+
def install
system "./configure", "--prefix=#{prefix}", "--disable-tests"
system "make install"