[80766] trunk/dports/devel/gmp
ryandesign at macports.org
ryandesign at macports.org
Sat Jul 16 16:16:03 PDT 2011
Revision: 80766
http://trac.macports.org/changeset/80766
Author: ryandesign at macports.org
Date: 2011-07-16 16:16:03 -0700 (Sat, 16 Jul 2011)
Log Message:
-----------
gmp: fix i7 support again; see #30211
Modified Paths:
--------------
trunk/dports/devel/gmp/Portfile
Added Paths:
-----------
trunk/dports/devel/gmp/files/patch-config.guess.i7.diff
Modified: trunk/dports/devel/gmp/Portfile
===================================================================
--- trunk/dports/devel/gmp/Portfile 2011-07-16 22:33:42 UTC (rev 80765)
+++ trunk/dports/devel/gmp/Portfile 2011-07-16 23:16:03 UTC (rev 80766)
@@ -36,6 +36,9 @@
# See #16634
patchfiles patch-gmp-h.in.diff
+# Sandy Bridge not recognized. See #28892, #30211
+patchfiles-append patch-config.guess.i7.diff
+
# llvm-gcc-4.2 fails make check
if {${configure.compiler} == "llvm-gcc-4.2"} {
configure.compiler clang
Copied: trunk/dports/devel/gmp/files/patch-config.guess.i7.diff (from rev 77717, trunk/dports/devel/gmp/files/patch-config.guess.i7.diff)
===================================================================
--- trunk/dports/devel/gmp/files/patch-config.guess.i7.diff (rev 0)
+++ trunk/dports/devel/gmp/files/patch-config.guess.i7.diff 2011-07-16 23:16:03 UTC (rev 80766)
@@ -0,0 +1,10 @@
+--- config.guess.orig 2010-02-06 05:43:13.000000000 -0700
++++ config.guess 2011-04-10 09:11:34.000000000 -0700
+@@ -742,6 +742,7 @@
+ else if (model == 0x25) modelstr = "corei"; /* WSM Clarkdale/Arrandale */
+ else if (model == 0x26) modelstr = "atom"; /* Lincroft */
+ else if (model == 0x27) modelstr = "atom"; /* Saltwell */
++ else if (model == 0x2a) modelstr = "corei"; /* SB */
+ else if (model == 0x2c) modelstr = "corei"; /* WSM Gulftown */
+ else if (model == 0x2e) modelstr = "corei"; /* NHM Beckton */
+ break;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110716/35a15689/attachment.html>
More information about the macports-changes
mailing list