diff options
| author | Mike McQuaid | 2012-01-18 00:13:33 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2012-01-18 00:14:00 +0000 |
| commit | c83f629d2202fec986c96f71ad7290087fab0007 (patch) | |
| tree | 5f9ad11e9f3eea8319b80a06f7a8cc45cafb2555 /Library/Formula | |
| parent | 00975467b32c2ec47235720170a5db09abc38f79 (diff) | |
| download | homebrew-c83f629d2202fec986c96f71ad7290087fab0007.tar.bz2 | |
Add upstreamed patch to Qt.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/qt.rb | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Library/Formula/qt.rb b/Library/Formula/qt.rb index a3fe36df1..2b3575fbc 100644 --- a/Library/Formula/qt.rb +++ b/Library/Formula/qt.rb @@ -23,14 +23,17 @@ class Qt < Formula depends_on "d-bus" if ARGV.include? '--with-qtdbus' depends_on 'sqlite' if MacOS.leopard? + def patches + [ + # Fix compilation with llvm-gcc. Remove for 4.8.1. + "https://qt.gitorious.org/qt/qt/commit/448ab7cd150ab7bb7d12bcac76bc2ce1c72298bd?format=patch" + ] + end + def install # Needed for Qt 4.8.0 due to attempting to link moc with gcc. ENV['LD'] = ENV['CXX'] - inreplace "src/corelib/tools/qstring.cpp", - "# ifdef __SSE4_2__", - "# if defined(__SSE4_2__) && defined(_SIDD_UWORD_OPS)" - ENV.x11 ENV.append "CXXFLAGS", "-fvisibility=hidden" args = ["-prefix", prefix, |
