aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2011-07-21 10:57:19 -0400
committerMike McQuaid2011-07-21 10:59:06 -0400
commitdd6cdd6aff080992e09e5ed74213adb8ffbb525b (patch)
treeb0d31b9237e1a11614e0e6bd7115169bc352522f
parent40b1a2a0d5e5c51c8a7b427f096edff63bdb597b (diff)
downloadhomebrew-dd6cdd6aff080992e09e5ed74213adb8ffbb525b.tar.bz2
Fix Qt compilation on Lion.
Closes #5566.
-rw-r--r--Library/Formula/qt.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Formula/qt.rb b/Library/Formula/qt.rb
index a02ec4659..ef6c89c9e 100644
--- a/Library/Formula/qt.rb
+++ b/Library/Formula/qt.rb
@@ -10,6 +10,13 @@ class Qt < Formula
head 'git://gitorious.org/qt/qt.git', :branch => 'master'
+ def patches
+ # Fixes compilation on 10.7 or with llvm-gcc
+ # Bug report: https://bugreports.qt.nokia.com/browse/QTBUG-20496
+ # Merge request: https://qt.gitorious.org/qt/qt/merge_requests/1304
+ "https://qt.gitorious.org/+kdab-developers/qt/kdab-for-upstream/commit/1537d131e59e4fb43001299cfbd747c521fa1888?format=patch"
+ end
+
def options
[
['--with-qtdbus', "Enable QtDBus module."],