diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-09-05 07:26:36 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-09-05 07:26:36 +0000 |
commit | 56b5df514414b2f79aa87992b645954e970df09e (patch) | |
tree | c26ba8d3e024779607b0c42e8089ef41bf1a2ec0 /community/openblas | |
parent | ecfc04f3961ec4ffa2c972bd72253ba1a03a3c1e (diff) | |
download | aports-56b5df514414b2f79aa87992b645954e970df09e.tar.bz2 aports-56b5df514414b2f79aa87992b645954e970df09e.tar.xz |
community/openblas: upgrade to 0.2.19
Diffstat (limited to 'community/openblas')
-rw-r--r-- | community/openblas/0001-Use-strsignal-instead-of-sys_siglist.patch | 35 | ||||
-rw-r--r-- | community/openblas/APKBUILD | 14 |
2 files changed, 5 insertions, 44 deletions
diff --git a/community/openblas/0001-Use-strsignal-instead-of-sys_siglist.patch b/community/openblas/0001-Use-strsignal-instead-of-sys_siglist.patch deleted file mode 100644 index 6032fc0173..0000000000 --- a/community/openblas/0001-Use-strsignal-instead-of-sys_siglist.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 518435f376fb7b1a1972ea44cd932f1314f34cbf Mon Sep 17 00:00:00 2001 -From: Isaac Dunham <ibid.ag@gmail.com> -Date: Sat, 26 Mar 2016 21:37:36 -0700 -Subject: [PATCH] Use strsignal() instead of sys_siglist[]. - -musl libc only implements strsignal(). -POSIX 2008 requires strsignal() but not sys_siglist[], and glibc, -the BSDs, Solaris, and OS X support both. -I'm not sure about the status on mingw; as far as I can tell, they -define strsignal(x) as sys_siglist[x]. - -Also use snprintf() because it's not strictly guaranteed that signal -descriptions be any particular length. -I'm not aware of any signal descriptions over 114 bytes long, so this -is mostly paranoia. ---- - utest/ctest.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/utest/ctest.h b/utest/ctest.h -index a62103f..1deea32 100644 ---- a/utest/ctest.h -+++ b/utest/ctest.h -@@ -637,7 +637,7 @@ static void *find_symbol(struct ctest *test, const char *fname) - static void sighandler(int signum) - { - char msg[128]; -- sprintf(msg, "[SIGNAL %d: %s]", signum, sys_siglist[signum]); -+ snprintf(msg, sizeof(msg), "[SIGNAL %d: %s]", signum, strsignal(signum)); - color_print(ANSI_BRED, msg); - fflush(stdout); - --- -2.7.4 - diff --git a/community/openblas/APKBUILD b/community/openblas/APKBUILD index 40bc5a7c4f..dc5f38a308 100644 --- a/community/openblas/APKBUILD +++ b/community/openblas/APKBUILD @@ -3,8 +3,8 @@ # Maintainer: Isaac Dunham <ibid.ag@gmail.com> pkgname=openblas _pkgname=OpenBLAS -pkgver=0.2.18 -pkgrel=3 +pkgver=0.2.19 +pkgrel=0 pkgdesc="A fast BSD-licensed BLAS based on gotoBLAS2, with LAPACK" url="http://www.openblas.net" arch="all" @@ -14,7 +14,6 @@ depends_dev="gfortran" makedepends="$depends_dev perl linux-headers" subpackages="$pkgname-dev $pkgname-doc" source="$pkgname-$pkgver.tar.gz::http://github.com/xianyi/$_pkgname/archive/v$pkgver.tar.gz - 0001-Use-strsignal-instead-of-sys_siglist.patch " builddir="$srcdir/$_pkgname-$pkgver" _builddir64="$builddir-64" @@ -98,9 +97,6 @@ ilp64() { mv "$pkgdir"/usr/lib/libopenblas64_* "$subpkgdir"/usr/lib/ } -md5sums="805e7f660877d588ea7e3792cda2ee65 openblas-0.2.18.tar.gz -ddce6ae8c2af85ebdd14e9150960d1c6 0001-Use-strsignal-instead-of-sys_siglist.patch" -sha256sums="7d9f8d4ea4a65ab68088f3bb557f03a7ac9cb5036ef2ba30546c3a28774a4112 openblas-0.2.18.tar.gz -4e662d5dd5d03e0067c856d3c359d4306a8fb1ad66c2a70a7cf851decf5fdea3 0001-Use-strsignal-instead-of-sys_siglist.patch" -sha512sums="224990959ead6247613519f52447c31968170349a0040e746862b948c851166499050f5db7cefc66f9c1695262457980ae8d0e49b14f3442267f2a43f5a14e47 openblas-0.2.18.tar.gz -d3dd7cad2c0bc5414642cf51a46bc57e681c4449bd829bf304c743c44c53f29d90ba0c43233bf5a7cce3e6b057d1c1cef27d0ccffecb50125993b34c913477c8 0001-Use-strsignal-instead-of-sys_siglist.patch" +md5sums="28c998054fd377279741c6f0b9ea7941 openblas-0.2.19.tar.gz" +sha256sums="9c40b5e4970f27c5f6911cb0a28aa26b6c83f17418b69f8e5a116bb983ca8557 openblas-0.2.19.tar.gz" +sha512sums="7081a8540b8037c0d4d6db0ec4b51277856c0e0f4e2575671984e5deb3482102da8936c43691087c8475d67070f89ac6925e4867ead60802aa2a29e8517e7495 openblas-0.2.19.tar.gz" |