Bug 264724

Summary: math/py-numexpr: Fix build with upcoming math/numpy 1.23.0
Product: Ports & Packages Reporter: Wen Heping <wen>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Only Me CC: python
Priority: --- Keywords: needs-qa
Version: LatestFlags: bugzilla: maintainer-feedback? (sunpoet)
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Add a patch to fix build with coming numpy-1.23.0 none

Description Wen Heping freebsd_committer freebsd_triage 2022-06-17 02:35:44 UTC
Created attachment 234741 [details]
Add a patch to fix build with coming numpy-1.23.0

Add a patch to fix build with coming numpy-1.23.0
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-06-21 16:39:31 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6cfaec81b65d3107f99b41a075608c3d0ec87b5f

commit 6cfaec81b65d3107f99b41a075608c3d0ec87b5f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-21 16:34:26 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-21 16:36:35 +0000

    math/py-numexpr: Fix build with py-numpy 1.23.0+

    PR:             264724
    Reported by:    wen
    Reference:      https://numpy.org/doc/stable/reference/c-api/array.html#c.NPY_ARRAY_WRITEBACKIFCOPY

 math/py-numexpr/files/patch-numexpr-interpreter.cpp (new) | 11 +++++++++++
 1 file changed, 11 insertions(+)
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2022-06-21 18:10:13 UTC
Committed. Thanks!