pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/py-numba Use alloca.h only for __sun.
details: https://anonhg.NetBSD.org/pkgsrc/rev/938877b78652
branches: trunk
changeset: 389287:938877b78652
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Dec 27 15:06:19 2018 +0000
description:
Use alloca.h only for __sun.
diffstat:
math/py-numba/distinfo | 3 ++-
math/py-numba/patches/patch-numba_npyufunc_workqueue.c | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (31 lines):
diff -r 84e5ae0798ff -r 938877b78652 math/py-numba/distinfo
--- a/math/py-numba/distinfo Thu Dec 27 15:05:27 2018 +0000
+++ b/math/py-numba/distinfo Thu Dec 27 15:06:19 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2018/12/09 20:25:12 adam Exp $
+$NetBSD: distinfo,v 1.4 2018/12/27 15:06:19 joerg Exp $
SHA1 (numba-0.41.0.tar.gz) = 7b6d35972de33b44f8db0ae7b649b6548594ba46
RMD160 (numba-0.41.0.tar.gz) = 96cceef83a00128aff88caef7ec5e3b1a223e691
SHA512 (numba-0.41.0.tar.gz) = 111a123bbfd86cf11b78fc280162f2d89a529b5036b5e017acb4c0221e7f247202930177d133d5b6372728283c7d78d9c59737cfc01208015b948a48d44e6dd2
Size (numba-0.41.0.tar.gz) = 1538159 bytes
+SHA1 (patch-numba_npyufunc_workqueue.c) = 0bcbeff869174265a2d776f847e880a99676d812
diff -r 84e5ae0798ff -r 938877b78652 math/py-numba/patches/patch-numba_npyufunc_workqueue.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/py-numba/patches/patch-numba_npyufunc_workqueue.c Thu Dec 27 15:06:19 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-numba_npyufunc_workqueue.c,v 1.1 2018/12/27 15:06:19 joerg Exp $
+
+--- numba/npyufunc/workqueue.c.orig 2018-12-25 21:11:57.183814489 +0000
++++ numba/npyufunc/workqueue.c
+@@ -19,7 +19,10 @@ race condition.
+ /* PThread */
+ #include <pthread.h>
+ #include <unistd.h>
++#include <stdlib.h>
++#ifdef __sun
+ #include <alloca.h>
++#endif
+ #define NUMBA_PTHREAD
+ #endif
+
Home |
Main Index |
Thread Index |
Old Index