[113940] trunk/dports/math/OpenBLAS

nicos at macports.org nicos at macports.org
Mon Nov 25 22:08:03 PST 2013


Revision: 113940
          https://trac.macports.org/changeset/113940
Author:   nicos at macports.org
Date:     2013-11-25 22:08:03 -0800 (Mon, 25 Nov 2013)
Log Message:
-----------
openblas: patch bug from lapack 3.4.2 (see http://icl.cs.utk.edu/lapack-forum/viewtopic.php?f=2&t=2284)

Modified Paths:
--------------
    trunk/dports/math/OpenBLAS/Portfile

Added Paths:
-----------
    trunk/dports/math/OpenBLAS/files/patch-lapacke.h.diff

Modified: trunk/dports/math/OpenBLAS/Portfile
===================================================================
--- trunk/dports/math/OpenBLAS/Portfile	2013-11-26 06:06:34 UTC (rev 113939)
+++ trunk/dports/math/OpenBLAS/Portfile	2013-11-26 06:08:03 UTC (rev 113940)
@@ -7,7 +7,7 @@
 
 github.setup        xianyi OpenBLAS 0.2.8 v
 
-revision            1
+revision            2
 categories          math science
 license             BSD
 maintainers         nicos openmaintainer
@@ -19,7 +19,8 @@
 # for the user processor
 archive_sites
 
-patchfiles          patch-libnoarch.diff
+patchfiles          patch-libnoarch.diff \
+                    patch-lapacke.h.diff
 
 checksums           rmd160  5f08d211f20a46c77eda4ff212201e684a2baf14 \
                     sha256  048986f4e0a8d480c5e6d439915738f3298f2629d6a399a1ddb16e1629b07901

Added: trunk/dports/math/OpenBLAS/files/patch-lapacke.h.diff
===================================================================
--- trunk/dports/math/OpenBLAS/files/patch-lapacke.h.diff	                        (rev 0)
+++ trunk/dports/math/OpenBLAS/files/patch-lapacke.h.diff	2013-11-26 06:08:03 UTC (rev 113940)
@@ -0,0 +1,24 @@
+--- lapack-netlib/lapacke/include/lapacke.h.orig	2013-08-01 08:53:12.000000000 +0900
++++ lapack-netlib/lapacke/include/lapacke.h	2013-11-26 12:44:25.000000000 +0900
+@@ -41,10 +41,6 @@
+ #include "lapacke_config.h"
+ #endif
+ 
+-#ifdef __cplusplus
+-extern "C" {
+-#endif /* __cplusplus */
+-
+ #include <stdlib.h>
+ 
+ #ifndef lapack_int
+@@ -142,6 +138,10 @@
+ 
+ #include "lapacke_mangling.h"
+ 
++#ifdef __cplusplus
++extern "C" {
++#endif /* __cplusplus */
++
+ #define LAPACK_lsame LAPACK_GLOBAL(lsame,LSAME)
+ lapack_logical LAPACK_lsame( char* ca,  char* cb,
+                               lapack_int lca, lapack_int lcb );
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131125/4ef48ea4/attachment-0001.html>


More information about the macports-changes mailing list