aboutsummaryrefslogtreecommitdiffstats
path: root/community/openblas/0001-Use-strsignal-instead-of-sys_siglist.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-09-05 07:26:36 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-09-05 07:26:36 +0000
commit56b5df514414b2f79aa87992b645954e970df09e (patch)
treec26ba8d3e024779607b0c42e8089ef41bf1a2ec0 /community/openblas/0001-Use-strsignal-instead-of-sys_siglist.patch
parentecfc04f3961ec4ffa2c972bd72253ba1a03a3c1e (diff)
downloadaports-56b5df514414b2f79aa87992b645954e970df09e.tar.gz
aports-56b5df514414b2f79aa87992b645954e970df09e.tar.bz2
aports-56b5df514414b2f79aa87992b645954e970df09e.tar.xz
community/openblas: upgrade to 0.2.19
Diffstat (limited to 'community/openblas/0001-Use-strsignal-instead-of-sys_siglist.patch')
-rw-r--r--community/openblas/0001-Use-strsignal-instead-of-sys_siglist.patch35
1 files changed, 0 insertions, 35 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
-