aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorflo <flo@FreeBSD.org>2016-04-24 16:09:27 +0800
committerflo <flo@FreeBSD.org>2016-04-24 16:09:27 +0800
commit5e4067bcd75a6f319efb504906fc495ea0c965a4 (patch)
tree4b48208e373a6275cbb8764aa3fea6389eab4bf3 /math
parente1b08dada247286d47f6d7db55aa983dbb18294d (diff)
downloadfreebsd-ports-gnome-5e4067bcd75a6f319efb504906fc495ea0c965a4.tar.gz
freebsd-ports-gnome-5e4067bcd75a6f319efb504906fc495ea0c965a4.tar.zst
freebsd-ports-gnome-5e4067bcd75a6f319efb504906fc495ea0c965a4.zip
Update to 0.2.18
PR: 208790 Submitted by: phd_kimberlite@yahoo.co.jp (maintainer), dieterich@ogolem.org Sponsored by: Essen Linuxhotel Hackathon 2016
Diffstat (limited to 'math')
-rw-r--r--math/openblas/Makefile7
-rw-r--r--math/openblas/distinfo4
-rw-r--r--math/openblas/files/patch-driver_others_blas__server.c6
-rw-r--r--math/openblas/files/patch-driver_others_memory.c8
4 files changed, 12 insertions, 13 deletions
diff --git a/math/openblas/Makefile b/math/openblas/Makefile
index 2002f55f01e1..53510d55f110 100644
--- a/math/openblas/Makefile
+++ b/math/openblas/Makefile
@@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= openblas
-PORTVERSION= 0.2.15
+PORTVERSION= 0.2.18
DISTVERSIONPREFIX= v
-PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= math
MASTER_SITES= GH NL/lapack/timing/:lapack_tmg
@@ -115,8 +114,8 @@ post-patch:
${WRKSRC}/lapack-netlib/SRC/Makefile \
${WRKSRC}/lapack-netlib/SRC/VARIANTS/Makefile \
${WRKSRC}/lapack-netlib/TESTING/MATGEN/Makefile \
- ${WRKSRC}/lapack-netlib/lapacke/src/Makefile \
- ${WRKSRC}/lapack-netlib/lapacke/utils/Makefile \
+ ${WRKSRC}/lapack-netlib/LAPACKE/src/Makefile \
+ ${WRKSRC}/lapack-netlib/LAPACKE/utils/Makefile \
${WRKSRC}/reference/Makefile
${REINPLACE_CMD} -e "s+(ARCH)+(ARCH_)+" \
-e 's+%%LDFLAGS%%+${LDFLAGS}+' \
diff --git a/math/openblas/distinfo b/math/openblas/distinfo
index 9da55791ca74..63378e966688 100644
--- a/math/openblas/distinfo
+++ b/math/openblas/distinfo
@@ -1,5 +1,5 @@
-SHA256 (openblas/xianyi-OpenBLAS-v0.2.15_GH0.tar.gz) = 73c40ace5978282224e5e122a41c8388c5a19e65a6f2329c2b7c0b61bacc9044
-SIZE (openblas/xianyi-OpenBLAS-v0.2.15_GH0.tar.gz) = 9966585
+SHA256 (openblas/xianyi-OpenBLAS-v0.2.18_GH0.tar.gz) = 7d9f8d4ea4a65ab68088f3bb557f03a7ac9cb5036ef2ba30546c3a28774a4112
+SIZE (openblas/xianyi-OpenBLAS-v0.2.18_GH0.tar.gz) = 10689322
SHA256 (openblas/large.tgz) = f328d88b7fa97722f271d7d0cfea1c220e0f8e5ed5ff01d8ef1eb51d6f4243a1
SIZE (openblas/large.tgz) = 2595
SHA256 (openblas/timing.tgz) = 999c65f8ea8bd4eac7f1c7f3463d4946917afd20a997807300fe35d70122f3af
diff --git a/math/openblas/files/patch-driver_others_blas__server.c b/math/openblas/files/patch-driver_others_blas__server.c
index 8fd9a73f2278..199ba825026b 100644
--- a/math/openblas/files/patch-driver_others_blas__server.c
+++ b/math/openblas/files/patch-driver_others_blas__server.c
@@ -1,11 +1,11 @@
---- driver/others/blas_server.c.orig 2015-10-27 20:44:50 UTC
+--- driver/others/blas_server.c.orig 2016-04-12 19:29:19 UTC
+++ driver/others/blas_server.c
@@ -70,7 +70,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF
/*********************************************************************/
#include "common.h"
--#if defined(OS_LINUX) || defined(OS_NETBSD) || defined(OS_DARWIN) || defined(OS_ANDROID)
-+#if defined(OS_LINUX) || defined(OS_NETBSD) || defined(OS_DARWIN) || defined(OS_ANDROID) || defined(OS_FREEBSD)
+-#if defined(OS_LINUX) || defined(OS_NETBSD) || defined(OS_DARWIN) || defined(OS_ANDROID) || defined(OS_SUNOS)
++#if defined(OS_LINUX) || defined(OS_NETBSD) || defined(OS_DARWIN) || defined(OS_ANDROID) || defined(OS_SUNOS) || defined(OS_FREEBSD)
#include <dlfcn.h>
#include <signal.h>
#include <sys/resource.h>
diff --git a/math/openblas/files/patch-driver_others_memory.c b/math/openblas/files/patch-driver_others_memory.c
index 7ee47816fd8d..4dbbb1d80c0a 100644
--- a/math/openblas/files/patch-driver_others_memory.c
+++ b/math/openblas/files/patch-driver_others_memory.c
@@ -1,13 +1,13 @@
Passing a priority level to constructor/destructor only works on GCC >= 4.3.0;
improve the upstream check so that the build works with base GCC.
---- driver/others/memory.c.orig 2015-10-27 20:44:50 UTC
+--- driver/others/memory.c.orig 2016-04-12 19:29:19 UTC
+++ driver/others/memory.c
-@@ -142,7 +142,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+@@ -144,7 +144,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF
#if defined(_MSC_VER) && !defined(__clang__)
#define CONSTRUCTOR __cdecl
#define DESTRUCTOR __cdecl
--#elif defined(OS_DARWIN) && defined(C_GCC)
-+#elif defined(OS_DARWIN) || (defined(C_GCC) && ((__GNUC__ == 4) && (__GNUC_MINOR__ < 3)))
+-#elif (defined(OS_DARWIN) || defined(OS_SUNOS)) && defined(C_GCC)
++#elif (defined(OS_DARWIN) || defined(OS_SUNOS)) || (defined(C_GCC) && ((__GNUC__ == 4) && (__GNUC_MINOR__ < 3)))
#define CONSTRUCTOR __attribute__ ((constructor))
#define DESTRUCTOR __attribute__ ((destructor))
#else