[83631] trunk/dports/sysutils/pstree/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Thu Sep 8 01:38:58 PDT 2011


Revision: 83631
          http://trac.macports.org/changeset/83631
Author:   jeremyhu at macports.org
Date:     2011-09-08 01:38:56 -0700 (Thu, 08 Sep 2011)
Log Message:
-----------
pstree: Work around a string alignment bug in clang

Modified Paths:
--------------
    trunk/dports/sysutils/pstree/Portfile

Modified: trunk/dports/sysutils/pstree/Portfile
===================================================================
--- trunk/dports/sysutils/pstree/Portfile	2011-09-08 08:31:34 UTC (rev 83630)
+++ trunk/dports/sysutils/pstree/Portfile	2011-09-08 08:38:56 UTC (rev 83631)
@@ -4,6 +4,7 @@
 
 name			pstree
 version			2.33
+revision		1
 categories		sysutils
 maintainers		mww
 description		pstree shows the output of the ps command as a tree
@@ -17,6 +18,13 @@
                     sha1    2f29ea2618cb6fd90529a543a94ed89b79db58b8 \
                     rmd160  4514485622955b66b162c1db2c1a454eda2df86d
 
+# http://llvm.org/pr10514
+# <rdar://problem/10015171>
+if {${configure.compiler} == "clang"} {
+	configure.cflags-delete -O2
+	configure.cflags-append -O1
+}
+
 variant universal	{}
 
 pre-extract {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110908/da0870d2/attachment-0001.html>


More information about the macports-changes mailing list