From dd6cdd6aff080992e09e5ed74213adb8ffbb525b Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 21 Jul 2011 10:57:19 -0400 Subject: Fix Qt compilation on Lion. Closes #5566. --- Library/Formula/qt.rb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Library/Formula') 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."], -- cgit v1.2.3