FreeBSD Bugzilla – Attachment 234741 Details for
Bug 264724
math/py-numexpr: Fix build with upcoming math/numpy 1.23.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Add a patch to fix build with coming numpy-1.23.0
numexpr-2.8.1p1.diff.txt (text/plain), 1.08 KB, created by
Wen Heping
on 2022-06-17 02:35:44 UTC
(
hide
)
Description:
Add a patch to fix build with coming numpy-1.23.0
Filename:
MIME Type:
Creator:
Wen Heping
Created:
2022-06-17 02:35:44 UTC
Size:
1.08 KB
patch
obsolete
>diff --git a/math/py-numexpr/Makefile b/math/py-numexpr/Makefile >index 9eafb220ac..a483bab7e9 100644 >--- a/math/py-numexpr/Makefile >+++ b/math/py-numexpr/Makefile >@@ -2,6 +2,7 @@ > > PORTNAME= numexpr > PORTVERSION= 2.8.1 >+PORTREVISION= 1 > CATEGORIES= math python > MASTER_SITES= CHEESESHOP > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >diff --git a/math/py-numexpr/files/patch-numexpr_interpreter.cpp b/math/py-numexpr/files/patch-numexpr_interpreter.cpp >new file mode 100644 >index 0000000000..44b98584d6 >--- /dev/null >+++ b/math/py-numexpr/files/patch-numexpr_interpreter.cpp >@@ -0,0 +1,11 @@ >+--- numexpr/interpreter.cpp.orig 2022-06-17 02:02:49 UTC >++++ numexpr/interpreter.cpp >+@@ -1269,7 +1269,7 @@ NumExpr_run(NumExprObject *self, PyObject *args, PyObj >+ } >+ Py_INCREF(dtypes[0]); >+ a = (PyArrayObject *)PyArray_FromArray(operands[0], dtypes[0], >+- NPY_ARRAY_ALIGNED|NPY_ARRAY_UPDATEIFCOPY); >++ NPY_ARRAY_ALIGNED); >+ if (a == NULL) { >+ goto fail; >+ }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 264724
: 234741