[98534] trunk/dports/lang/gcc48
jeremyhu at macports.org
jeremyhu at macports.org
Sun Oct 7 20:42:15 PDT 2012
Revision: 98534
http://trac.macports.org//changeset/98534
Author: jeremyhu at macports.org
Date: 2012-10-07 20:42:15 -0700 (Sun, 07 Oct 2012)
Log Message:
-----------
gcc48: Bump to latest snapshot and include a fix for configure to get libstdc++ to use nanosleep.
Modified Paths:
--------------
trunk/dports/lang/gcc48/Portfile
Added Paths:
-----------
trunk/dports/lang/gcc48/files/libstdc++-configure-timespec.patch
Modified: trunk/dports/lang/gcc48/Portfile
===================================================================
--- trunk/dports/lang/gcc48/Portfile 2012-10-08 02:54:35 UTC (rev 98533)
+++ trunk/dports/lang/gcc48/Portfile 2012-10-08 03:42:15 UTC (rev 98534)
@@ -6,9 +6,7 @@
name gcc48
subport libstdcxx-devel {}
-version 4.8-20120930
-# reset revision in libstdcxx-devel upon bump
-revision 1
+version 4.8-20121007
platforms darwin
categories lang
maintainers mww openmaintainer
@@ -27,8 +25,8 @@
distname gcc-${version}
-checksums rmd160 5940f008835bfe6eef6b91673da14359598e47f9 \
- sha256 a5fe63ac539933edc9912394a6755f53d914e53ca63f0cc0eea6aa9753838189
+checksums rmd160 718b1de5d33dfe57b662770f929ae86ed4098cf9 \
+ sha256 37513817bb6e84c4af1eaf36e95e90de08e793440d0fbf7357f2c15011818514
supported_archs i386 x86_64
@@ -39,6 +37,7 @@
depends_skip_archcheck-append gcc_select ld64 cctools
+patchfiles libstdc++-configure-timespec.patch
patch.dir ${workpath}/gcc-${version}
set major 4.8
@@ -109,9 +108,6 @@
if {${subport} == "libstdcxx-devel"} {
conflicts libstdcxx
- # delete this revision as well when bumping base version
- revision 2
-
patchfiles-append force-static-gcc.patch
depends_run-delete port:${subport}
Added: trunk/dports/lang/gcc48/files/libstdc++-configure-timespec.patch
===================================================================
--- trunk/dports/lang/gcc48/files/libstdc++-configure-timespec.patch (rev 0)
+++ trunk/dports/lang/gcc48/files/libstdc++-configure-timespec.patch 2012-10-08 03:42:15 UTC (rev 98534)
@@ -0,0 +1,38 @@
+--- libstdc++-v3/configure.orig 2012-10-07 16:00:53.000000000 -0700
++++ libstdc++-v3/configure 2012-10-07 16:03:16.000000000 -0700
+@@ -19721,9 +19721,10 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
+ int
+ main ()
+ {
+-#if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
+- timespec tp;
+- #endif
++#if !defined(_POSIX_MONOTONIC_CLOCK) || _POSIX_MONOTONIC_CLOCK <= 0
++#error _POSIX_MONOTONIC_CLOCK is undefined
++#endif
++ struct timespec tp;
+ clock_gettime(CLOCK_MONOTONIC, &tp);
+
+ ;
+@@ -19754,9 +19755,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
+ int
+ main ()
+ {
+-#if _POSIX_TIMERS > 0
+- timespec tp;
+- #endif
++ struct timespec tp;
+ clock_gettime(CLOCK_REALTIME, &tp);
+
+ ;
+@@ -19787,9 +19786,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
+ int
+ main ()
+ {
+-#if _POSIX_TIMERS > 0
+- timespec tp;
+- #endif
++ struct timespec tp;
+ nanosleep(&tp, 0);
+
+ ;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121007/d39d9695/attachment-0001.html>
More information about the macports-changes
mailing list