ports/devel/py-numba/files/patch-numba_npyufunc_workqueue.c
Yuri Victorovich b634401915 devel/py-numba: Update 0.38.0 -> 0.40.1
PR:		233232
Approved by:	dave@dal.ca (maintainer)
2018-11-20 21:07:51 +00:00

14 lines
300 B
C

--- numba/npyufunc/workqueue.c.orig 2018-11-14 22:14:35 UTC
+++ numba/npyufunc/workqueue.c
@@ -19,7 +19,11 @@ race condition.
/* PThread */
#include <pthread.h>
#include <unistd.h>
+#if defined(__FreeBSD__)
+#include <stdlib.h>
+#else
#include <alloca.h>
+#endif
#define NUMBA_PTHREAD
#endif