[62767] trunk/dports/math/atlas

jameskyle at macports.org jameskyle at macports.org
Sat Jan 16 12:19:11 PST 2010


Revision: 62767
          http://trac.macports.org/changeset/62767
Author:   jameskyle at macports.org
Date:     2010-01-16 12:19:08 -0800 (Sat, 16 Jan 2010)
Log Message:
-----------
Added patches to build properly on G4 arches. Fix for ticket #22378

Modified Paths:
--------------
    trunk/dports/math/atlas/Portfile
    trunk/dports/math/atlas/files/Portfile

Added Paths:
-----------
    trunk/dports/math/atlas/files/patch-ATL_AVgcc-fix.diff
    trunk/dports/math/atlas/files/patch-archinfo_freebsd.c.diff

Modified: trunk/dports/math/atlas/Portfile
===================================================================
--- trunk/dports/math/atlas/Portfile	2010-01-16 19:55:53 UTC (rev 62766)
+++ trunk/dports/math/atlas/Portfile	2010-01-16 20:19:08 UTC (rev 62767)
@@ -29,6 +29,9 @@
 distfiles           ${atlasdist}:atlas \
                     ${lapackdist}:lapack
 
+patchfiles          patch-ATL_AVgcc-fix.diff \
+                    patch-archinfo_freebsd.c.diff
+
 checksums           atlas${version}.tar.bz2 \
                     md5     6c13be94a87178e7582111c08e9503bc \
                     sha1    c7546210df4796457d9e96a00444adc4c0f2e77f \

Modified: trunk/dports/math/atlas/files/Portfile
===================================================================
--- trunk/dports/math/atlas/files/Portfile	2010-01-16 19:55:53 UTC (rev 62766)
+++ trunk/dports/math/atlas/files/Portfile	2010-01-16 20:19:08 UTC (rev 62767)
@@ -1,4 +1,4 @@
-# $Id$
+# $Id: Portfile 52257 2009-06-13 05:10:01Z jameskyle at macports.org $
 
 PortSystem          1.0
 

Added: trunk/dports/math/atlas/files/patch-ATL_AVgcc-fix.diff
===================================================================
--- trunk/dports/math/atlas/files/patch-ATL_AVgcc-fix.diff	                        (rev 0)
+++ trunk/dports/math/atlas/files/patch-ATL_AVgcc-fix.diff	2010-01-16 20:19:08 UTC (rev 62767)
@@ -0,0 +1,17 @@
+--- CONFIG/src/SpewMakeInc.c.orig	2009-02-18 19:47:37.000000000 +0100
++++ CONFIG/src/SpewMakeInc.c	2009-12-15 22:05:56.000000000 +0100
+@@ -579,11 +579,11 @@
+ /*
+  * Need up update handling of apple vs. gnu gcc for altivec
+  */
+-#if 0
++/*#if 0
+    if (ISAX == ISA_AV && strstr(CC, "gcc") && strstr(MCC, "gcc") &&
+-       !GccIsApple(CC))
++       !GccIsApple(CC))*/
+       fprintf(fpout, " -DATL_%s -DATL_AVgcc", ISAXNAM[ISAX]);
+-#endif
++/*#endif*/
+    fprintf(fpout, "\n\n");
+ 
+    fprintf(fpout,

Added: trunk/dports/math/atlas/files/patch-archinfo_freebsd.c.diff
===================================================================
--- trunk/dports/math/atlas/files/patch-archinfo_freebsd.c.diff	                        (rev 0)
+++ trunk/dports/math/atlas/files/patch-archinfo_freebsd.c.diff	2010-01-16 20:19:08 UTC (rev 62767)
@@ -0,0 +1,11 @@
+--- CONFIG/src/backend/archinfo_freebsd.c.orig	2009-02-18 18:47:37.000000000 +0000
++++ CONFIG/src/backend/archinfo_freebsd.c	2010-01-01 11:45:22.000000000 +0000
+@@ -69,7 +69,7 @@
+             if (strstr(res,"c1,2")||strstr(res,"c3,1")||strstr(res,"c3,2")||
+                 strstr(res,"c3,3")||strstr(res,"c3,4")||strstr(res,"c3,5")||
+                 strstr(res,"c3,6")||strstr(res,"c4,2")||strstr(res,"c4,5")||
+-                strstr(res,"c5,1"))
++                strstr(res,"c5,1")||strstr(res,"c10,1"))
+                mach = PPCG4;
+             else if (strstr(res,"c11,2")|| strstr(res,"c12,1")||
+                      strstr(res,"c7,2") || strstr(res,"c7,3") ||
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100116/a7f00227/attachment.html>


More information about the macports-changes mailing list