# $FreeBSD$
PORTNAME= numba
DISTVERSION= 0.47.0
DISTVERSION= 0.51.2
PORTREVISION= 3
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
TIMESTAMP = 1578995274
TIMESTAMP = 1604791415
SHA256 (numba-0.47.0.tar.gz) = c0703df0a0ea2e29fbef7937d9849cc4734253066cb5820c5d6e0851876e3b0a
SHA256 (numba-0.51.2.tar.gz) = 16bd59572114adbf5f600ea383880d7b2071ae45477e84a24994e089ea390768
SIZE (numba-0.47.0.tar.gz) = 1935290
SIZE (numba-0.51.2.tar.gz) = 2059680
--- numba/npyufunc/workqueue.c.orig 2018-11-14 22:14:35 UTC
--- numba/np/ufunc/workqueue.c.orig 2020-11-07 23:26:52 UTC
+++ numba/npyufunc/workqueue.c
+++ numba/np/ufunc/workqueue.c
@@ -19,7 +19,11 @@ race condition.
@@ -27,7 +27,11 @@ race conditions.
/* PThread */
#include <pthread.h>
#include <unistd.h>
-#include <alloca.h>
+#if defined(__FreeBSD__)
+#include <stdlib.h>
+# include <stdlib.h>
+#else
#include <alloca.h>
+# include <alloca.h>
+#endif
#define NUMBA_PTHREAD
#include <sys/types.h>
#endif
#include <signal.h>