[51706] trunk/dports/devel/gmp
mcalhoun at macports.org
mcalhoun at macports.org
Mon Jun 1 00:13:17 PDT 2009
Revision: 51706
http://trac.macports.org/changeset/51706
Author: mcalhoun at macports.org
Date: 2009-06-01 00:13:16 -0700 (Mon, 01 Jun 2009)
Log Message:
-----------
gmp: Stop configure script from causing a crash on PowerPC systems.
Fixes #9053.
No revision increase required.
Modified Paths:
--------------
trunk/dports/devel/gmp/Portfile
Added Paths:
-----------
trunk/dports/devel/gmp/files/patch-config.guess.diff
Modified: trunk/dports/devel/gmp/Portfile
===================================================================
--- trunk/dports/devel/gmp/Portfile 2009-06-01 06:04:37 UTC (rev 51705)
+++ trunk/dports/devel/gmp/Portfile 2009-06-01 07:13:16 UTC (rev 51706)
@@ -84,3 +84,8 @@
lappend merger_configure_env(x86_64) CC_FOR_BUILD=${configure.cc} CPP_FOR_BUILD=${configure.cpp}
}
}
+
+platform powerpc {
+ # See http://trac.macports.org/ticket/9053
+ patchfiles-append patch-config.guess.diff
+}
Added: trunk/dports/devel/gmp/files/patch-config.guess.diff
===================================================================
--- trunk/dports/devel/gmp/files/patch-config.guess.diff (rev 0)
+++ trunk/dports/devel/gmp/files/patch-config.guess.diff 2009-06-01 07:13:16 UTC (rev 51706)
@@ -0,0 +1,10 @@
+--- config.guess.orig 2009-05-12 08:12:12.000000000 +0200
++++ config.guess 2009-05-21 10:24:48.000000000 +0200
+@@ -355,6 +355,7 @@
+ unsigned (*fun)();
+ unsigned pvr;
+
++ return 0;
+ /* a separate "fun" variable is necessary for gcc 2.95.2 on MacOS,
+ it gets a compiler error on a combined cast and call */
+ fun = (unsigned (*)()) getpvr.a;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090601/b4aaa79d/attachment.html>
More information about the macports-changes
mailing list