From nobody Tue Jun 21 16:38:30 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B949C87BAEC; Tue, 21 Jun 2022 16:38:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LSBzC2KMvz3Gq3; Tue, 21 Jun 2022 16:38:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655829511; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=F+gz4uw0guMx+IUqjAFqHWM17YImE7J9RFex5z+wWAI=; b=f+glXlW4gTDx1ELGrtUyTxMPHG2uD/w37+7+oQygOwoLQbY8usjuTfTfMhq3AYHRefQeKQ 0XBbjKZvX8wZFFjldV4wmG8V+RLTLTmsilLbvw9ITD73v8EUUyzeWmxHZGwnKs9dalUXoi bH4Y70RL2eWty3pZIED29nf4Yl91f0/169UmEfLaCzEiTsyun5AoFnS31kKxcdCEO5zDaV uNsWP8+Ercx8djI/NuKn5WPYoHirxtEssqvK4oCtnlMv1KBjKaxIEOqynsnoXFzwZ/OrQq fUn4h9fD89k82nsHvqnQBkRYRVu29nltrf5j0QdMc5Rgl7ruJwsMo0P3703q7Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A0C90155FF; Tue, 21 Jun 2022 16:38:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25LGcUh9060847; Tue, 21 Jun 2022 16:38:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25LGcU9i060846; Tue, 21 Jun 2022 16:38:30 GMT (envelope-from git) Date: Tue, 21 Jun 2022 16:38:30 GMT Message-Id: <202206211638.25LGcU9i060846@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 6cfaec81b65d - main - math/py-numexpr: Fix build with py-numpy 1.23.0+ List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6cfaec81b65d3107f99b41a075608c3d0ec87b5f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655829511; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=F+gz4uw0guMx+IUqjAFqHWM17YImE7J9RFex5z+wWAI=; b=Mb38+LtfhNzE87NRE2ubbel/8/72H4xQEDQVT3TdQIa7GD8k4yhOa+q3IgT5pfXYEgjDQR PnYfqZal3x+FCwtFjJf1t5uOg3wZlkQ4g0ZPg02vCmWFe6LgI29YvdPxMDJf7u30dRikoq TK1bOS9P2A/WqhhhzneRy8igKmKsS+7IzCpwsSD+lqdWuYCY07+c426yoHvt0rw2hhvj6l E7MiF2HgUrHJWzhSjfT/TIjw7I3OsD35pefjLyD+/efq7AnafaVFzBCa4wMXfpzGD+oXZK TOSMSoFDYDakN3TXrXg+DJdlgEr3M/r7LK61Ay0TkgS8/e3fDYbtGskjYiNdag== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655829511; a=rsa-sha256; cv=none; b=Zk+NKRCVwFDE61INqSmkCjKDU/9J/BG3uf8JRZBp255ogXlLdUxCTIemkbVD35c3FTnYJm LvjiVgPGBS5b7K2hyqcc1XVuHZZBksH/Cxkfqgff+yV0GTEyJLXMsiFK1Luc8Zfh33MTKJ trfXufoP4QwfxQ/ZsTiYz3bwaCOVFTpP2hjHi6pBZakJC8K2nCoc2ep1UD5USMKT1BqjBI lwoR8po9Pj6p99G+HcNqCkdAProyh1E2vJq2QPTYYUrEDzqPxPwrC4iUouZ2U4e+5xLXEC 1Ro7iv1vhrWQUsMIhcwEM7SpSQeBRbCBCGHsbxmFQKgNaq6ZzaoeBwGkfzLpDw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=6cfaec81b65d3107f99b41a075608c3d0ec87b5f commit 6cfaec81b65d3107f99b41a075608c3d0ec87b5f Author: Po-Chuan Hsieh AuthorDate: 2022-06-21 16:34:26 +0000 Commit: Po-Chuan Hsieh 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 | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 000000000000..6fd9735b9231 --- /dev/null +++ b/math/py-numexpr/files/patch-numexpr-interpreter.cpp @@ -0,0 +1,11 @@ +--- numexpr/interpreter.cpp.orig 2018-07-12 17:49:43 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|NPY_ARRAY_WRITEBACKIFCOPY); + if (a == NULL) { + goto fail; + }