[98368] trunk/dports/lang

jeremyhu at macports.org jeremyhu at macports.org
Wed Oct 3 13:11:19 PDT 2012


Revision: 98368
          http://trac.macports.org//changeset/98368
Author:   jeremyhu at macports.org
Date:     2012-10-03 13:11:19 -0700 (Wed, 03 Oct 2012)
Log Message:
-----------
gcc4[678]: Fix typo with stdccxx-time, revbump/fix for newer cloog (#36418)

Modified Paths:
--------------
    trunk/dports/lang/gcc46/Portfile
    trunk/dports/lang/gcc47/Portfile
    trunk/dports/lang/gcc48/Portfile

Added Paths:
-----------
    trunk/dports/lang/gcc46/files/gcc-4.6-cloog_lang_c.patch

Modified: trunk/dports/lang/gcc46/Portfile
===================================================================
--- trunk/dports/lang/gcc46/Portfile	2012-10-03 19:58:54 UTC (rev 98367)
+++ trunk/dports/lang/gcc46/Portfile	2012-10-03 20:11:19 UTC (rev 98368)
@@ -6,7 +6,7 @@
 name                gcc46
 epoch               1
 version             4.6.3
-revision            8
+revision            9
 platforms           darwin
 categories          lang
 maintainers         mww openmaintainer
@@ -50,6 +50,9 @@
 
 depends_skip_archcheck-append gcc_select ld64 cctools
 
+patchfiles          gcc-4.6-cloog_lang_c.patch
+patch.dir           ${workpath}/gcc-${version}
+
 set major           4.6
 
 worksrcdir          build
@@ -82,9 +85,11 @@
                     --with-mpc=${prefix} \
                     --with-ppl=${prefix} \
                     --with-cloog=${prefix} --enable-cloog-backend=isl \
+                    --disable-cloog-version-check \
                     --enable-stage1-checking \
                     --disable-multilib \
                     --enable-lto \
+                    --enable-libstdcxx-time \
                     --with-as=${prefix}/bin/as \
                     --with-ld=${prefix}/bin/ld \
                     --with-ar=${prefix}/bin/ar \

Added: trunk/dports/lang/gcc46/files/gcc-4.6-cloog_lang_c.patch
===================================================================
--- trunk/dports/lang/gcc46/files/gcc-4.6-cloog_lang_c.patch	                        (rev 0)
+++ trunk/dports/lang/gcc46/files/gcc-4.6-cloog_lang_c.patch	2012-10-03 20:11:19 UTC (rev 98368)
@@ -0,0 +1,22 @@
+--- gcc/graphite-clast-to-gimple.c	(revision 186481)
++++ gcc/graphite-clast-to-gimple.c	(working copy)
+@@ -40,6 +40,10 @@
+ #include "graphite-dependences.h"
+ #include "graphite-cloog-compat.h"
+ 
++#ifndef CLOOG_LANGUAGE_C
++#define CLOOG_LANGUAGE_C LANGUAGE_C
++#endif
++
+ /* This flag is set when an error occurred during the translation of
+    CLAST to Gimple.  */
+ static bool gloog_error;
+@@ -1367,7 +1371,7 @@
+   /* Change cloog output language to C.  If we do use FORTRAN instead, cloog
+      will stop e.g. with "ERROR: unbounded loops not allowed in FORTRAN.", if
+      we pass an incomplete program to cloog.  */
+-  options->language = LANGUAGE_C;
++  options->language = CLOOG_LANGUAGE_C;
+ 
+   /* Enable complex equality spreading: removes dummy statements
+      (assignments) in the generated code which repeats the

Modified: trunk/dports/lang/gcc47/Portfile
===================================================================
--- trunk/dports/lang/gcc47/Portfile	2012-10-03 19:58:54 UTC (rev 98367)
+++ trunk/dports/lang/gcc47/Portfile	2012-10-03 20:11:19 UTC (rev 98368)
@@ -9,7 +9,7 @@
 epoch               1
 
 version             4.7.2
-revision            1
+revision            2
 platforms           darwin
 categories          lang
 maintainers         mww openmaintainer
@@ -91,7 +91,7 @@
                     --enable-stage1-checking \
                     --disable-multilib \
                     --enable-lto \
-                    --enable-libstdccxx-time \
+                    --enable-libstdcxx-time \
                     --with-as=${prefix}/bin/as \
                     --with-ld=${prefix}/bin/ld \
                     --with-ar=${prefix}/bin/ar \

Modified: trunk/dports/lang/gcc48/Portfile
===================================================================
--- trunk/dports/lang/gcc48/Portfile	2012-10-03 19:58:54 UTC (rev 98367)
+++ trunk/dports/lang/gcc48/Portfile	2012-10-03 20:11:19 UTC (rev 98368)
@@ -7,6 +7,7 @@
 subport             libstdcxx-devel {}
 
 version             4.8-20120930
+revision            1
 platforms           darwin
 categories          lang
 maintainers         mww openmaintainer
@@ -72,7 +73,7 @@
                     --enable-stage1-checking \
                     --disable-multilib \
                     --enable-lto \
-                    --enable-libstdccxx-time \
+                    --enable-libstdcxx-time \
                     --with-as=${prefix}/bin/as \
                     --with-ld=${prefix}/bin/ld \
                     --with-ar=${prefix}/bin/ar \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121003/6027fbf0/attachment.html>


More information about the macports-changes mailing list