[31893] trunk/dports/lang/apple-gcc40

mww at macports.org mww at macports.org
Tue Dec 11 05:52:50 PST 2007


Revision: 31893
          http://trac.macosforge.org/projects/macports/changeset/31893
Author:   mww at macports.org
Date:     2007-12-11 05:52:46 -0800 (Tue, 11 Dec 2007)

Log Message:
-----------
version 5465

Modified Paths:
--------------
    trunk/dports/lang/apple-gcc40/Portfile

Added Paths:
-----------
    trunk/dports/lang/apple-gcc40/files/
    trunk/dports/lang/apple-gcc40/files/patch-config-darwin.h

Modified: trunk/dports/lang/apple-gcc40/Portfile
===================================================================
--- trunk/dports/lang/apple-gcc40/Portfile	2007-12-11 10:29:42 UTC (rev 31892)
+++ trunk/dports/lang/apple-gcc40/Portfile	2007-12-11 13:52:46 UTC (rev 31893)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name			apple-gcc40
-version			5363
+version			5465
 categories		lang
 platforms		darwin
 maintainers		mww
@@ -14,7 +14,7 @@
 homepage		http://developer.apple.com/documentation/DeveloperTools/gcc-4.0/gcc/
 master_sites		http://www.opensource.apple.com/darwinsource/tarballs/other/
 distname		gcc-${version}
-checksums		sha1 0d9712d2b092c64c8b42757d6e135a2ef6f046e0
+checksums		sha1 7452d5a5a8f8b125cf2ab31781c78da9b6d84bbe
 
 post-extract { file mkdir ${workpath}/build }
 
@@ -33,6 +33,7 @@
 configure.env		PATH="/bin:/usr/bin:/sbin:/usr/sbin"
 
 platform darwin 8 {
+	patchfiles		patch-config-darwin.h
 	configure.compiler	gcc-4.0
 }
 

Added: trunk/dports/lang/apple-gcc40/files/patch-config-darwin.h
===================================================================
--- trunk/dports/lang/apple-gcc40/files/patch-config-darwin.h	                        (rev 0)
+++ trunk/dports/lang/apple-gcc40/files/patch-config-darwin.h	2007-12-11 13:52:46 UTC (rev 31893)
@@ -0,0 +1,22 @@
+--- gcc/config/darwin.h	(revision 41769)
++++ gcc/config/darwin.h	(working copy)
+@@ -957,15 +957,15 @@
+   } while (0)
+ 
+ /* APPLE LOCAL begin mainline */
+-#undef  ASM_OUTPUT_ALIGNED_COMMON
+-#define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGN)		\
++#undef  ASM_OUTPUT_COMMON
++#define ASM_OUTPUT_COMMON(FILE, NAME, SIZE, ALIGN)			\
+   do {									\
+     unsigned HOST_WIDE_INT _new_size = (SIZE);				\
+     fprintf ((FILE), ".comm ");						\
+     assemble_name ((FILE), (NAME));					\
+     if (_new_size == 0) _new_size = 1;					\
+-    fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",		\
+-	     _new_size, floor_log2 ((ALIGN) / BITS_PER_UNIT));		\
++    fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED"\n",		\
++	     _new_size);						\
+   } while (0)
+ 
+ /* The maximum alignment which the object file format can support in

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071211/7979c060/attachment.html


More information about the macports-changes mailing list