[87723] trunk/dports/aqua/qtiplot
nicos at macports.org
nicos at macports.org
Fri Dec 2 08:48:53 PST 2011
Revision: 87723
http://trac.macports.org/changeset/87723
Author: nicos at macports.org
Date: 2011-12-02 08:48:51 -0800 (Fri, 02 Dec 2011)
Log Message:
-----------
qtiplot: workaround for hanging in Lion (ticket #30761)
Modified Paths:
--------------
trunk/dports/aqua/qtiplot/Portfile
Added Paths:
-----------
trunk/dports/aqua/qtiplot/files/patch-disable-O2.diff
Modified: trunk/dports/aqua/qtiplot/Portfile
===================================================================
--- trunk/dports/aqua/qtiplot/Portfile 2011-12-02 09:43:19 UTC (rev 87722)
+++ trunk/dports/aqua/qtiplot/Portfile 2011-12-02 16:48:51 UTC (rev 87723)
@@ -36,6 +36,12 @@
patch-qti.sip.diff \
patch-scripting.pri.diff
+#Workaround as qtiplot build-phase hangs indefinitely on
+#Lion (ticket #30761)
+platform darwin 11 {
+ patchfiles-append patch-disable-O2.diff
+}
+
use_zip yes
universal_variant no
Added: trunk/dports/aqua/qtiplot/files/patch-disable-O2.diff
===================================================================
--- trunk/dports/aqua/qtiplot/files/patch-disable-O2.diff (rev 0)
+++ trunk/dports/aqua/qtiplot/files/patch-disable-O2.diff 2011-12-02 16:48:51 UTC (rev 87723)
@@ -0,0 +1,15 @@
+--- qtiplot/qtiplot.pro.orig 2011-11-03 00:55:25.000000000 +0800
++++ qtiplot/qtiplot.pro 2011-12-02 23:11:03.000000000 +0800
+@@ -232,3 +232,12 @@
+ RC_FILE = qtiplot.rc
+ include(../3rdparty/QtSolutions/qtbrowserplugin/src/qtbrowserplugin.pri)
+ }
++
++#
++# ticket #30761: qtiplot build-phase hangs indefinitely (compiling SymbolDialog.cpp)
++# bug reproduction: Mac OS X 10.7.2, Xcode 4.2.1, llvm-gcc-4.2 --version:
++# i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
++# workaround: disable -O2 flag
++#
++QMAKE_CFLAGS_RELEASE -= -O2
++QMAKE_CXXFLAGS_RELEASE -= -O2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111202/3eeeb58d/attachment.html>
More information about the macports-changes
mailing list