[146902] trunk/dports/science/gmt5
takeshi at macports.org
takeshi at macports.org
Sun Mar 20 01:40:17 PDT 2016
Revision: 146902
https://trac.macports.org/changeset/146902
Author: takeshi at macports.org
Date: 2016-03-20 01:40:17 -0700 (Sun, 20 Mar 2016)
Log Message:
-----------
gmt5: fix the build failure for +universal, closing #50311
Modified Paths:
--------------
trunk/dports/science/gmt5/Portfile
Added Paths:
-----------
trunk/dports/science/gmt5/files/
trunk/dports/science/gmt5/files/patch-src-gmt_vector.c.diff
Modified: trunk/dports/science/gmt5/Portfile
===================================================================
--- trunk/dports/science/gmt5/Portfile 2016-03-20 01:57:07 UTC (rev 146901)
+++ trunk/dports/science/gmt5/Portfile 2016-03-20 08:40:17 UTC (rev 146902)
@@ -44,6 +44,7 @@
}
cmake.out_of_source yes
+patchfiles patch-src-gmt_vector.c.diff
# Mimic CMake's default FLAGS:
if {[variant_isset debug]} {
Added: trunk/dports/science/gmt5/files/patch-src-gmt_vector.c.diff
===================================================================
--- trunk/dports/science/gmt5/files/patch-src-gmt_vector.c.diff (rev 0)
+++ trunk/dports/science/gmt5/files/patch-src-gmt_vector.c.diff 2016-03-20 08:40:17 UTC (rev 146902)
@@ -0,0 +1,12 @@
+--- src/gmt_vector.c.orig 2015-11-07 07:47:16.000000000 +0900
++++ src/gmt_vector.c 2016-03-20 17:28:40.000000000 +0900
+@@ -690,7 +690,9 @@
+ /* Here we use Lapack */
+ int n = m_in, lda = m_in, info, lwork;
+ double wkopt, *work = NULL;
++#ifndef __APPLE__
+ extern int dsyev_ (char* jobz, char* uplo, int* n, double* a, int* lda, double* w, double* work, int* lwork, int* info);
++#endif
+ GMT_UNUSED(n_in); /* Since we are actually only doing square matrices... */
+ GMT_UNUSED(v);
+ GMT_Report (GMT->parent, GMT_MSG_VERBOSE, "GMT_svdcmp: Using Lapack dsyev\n");
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160320/fba3dd3e/attachment.html>
More information about the macports-changes
mailing list