[96129] trunk/dports/x11/openmotif/Portfile

landonf at macports.org landonf at macports.org
Wed Aug 1 11:16:19 PDT 2012


Revision: 96129
          https://trac.macports.org/changeset/96129
Author:   landonf at macports.org
Date:     2012-08-01 11:16:15 -0700 (Wed, 01 Aug 2012)
Log Message:
-----------
Fix code generation issue with clang 4.0 (apple-421.0.57). OpenMotif breaks typepunning rules, resulting in broken code and a crash at build time.

Modified Paths:
--------------
    trunk/dports/x11/openmotif/Portfile

Modified: trunk/dports/x11/openmotif/Portfile
===================================================================
--- trunk/dports/x11/openmotif/Portfile	2012-08-01 17:33:26 UTC (rev 96128)
+++ trunk/dports/x11/openmotif/Portfile	2012-08-01 18:16:15 UTC (rev 96129)
@@ -51,6 +51,7 @@
     reinplace -E "/^LDFLAGS/s|\$| @LDFLAGS@|" ${worksrcpath}/lib/Xm/Makefile.in
 }
 
+configure.cflags -fno-strict-aliasing
 configure.args  --mandir=${prefix}/share/man	\
                 --enable-xft	\
                 --enable-jpeg	\
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120801/d6f31c21/attachment.html>


More information about the macports-changes mailing list