From nobody Sun Dec 18 08:22:56 2022 X-Original-To: dev-commits-ports-all@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 4NZbSJ4skpz1Gs4p; Sun, 18 Dec 2022 08:22:56 +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 4NZbSJ4NKSz3ChY; Sun, 18 Dec 2022 08:22:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671351776; 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=cDxS/c4ykmu48paIAbSxPQSRN+G4Ct6nzVQ07TAZX0s=; b=QrU/+xW0UDxzFmwTUnnPkT14qNPFa1swwvacos973CxVavuq7WThVhxnS8nFqXyQ2FA1Gg rOrOq17DcbXXOCfaTHL4MwyI5sp8W8rPkTjorTEjCsLRwWdRxsxmMw8ghXuOSZAUDnNo14 CBmlGZTshMeA1oZUySAoqo3H9+QTp955f0ystFGQq4hsPckCfp8PjWLFUHETku/oPWxIKc akzLN65k3dqmcUoVwf5G7y6fABei3Z7r63/f93TJTbB4icM7cbmFxEYCaPzDW54mAEkysl dz5SulXkDA25T8PHIHkVh2XaRPD2XTkQ9s9Cnjxr9R4h6hAB8Owep0Qh9/fRIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671351776; 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=cDxS/c4ykmu48paIAbSxPQSRN+G4Ct6nzVQ07TAZX0s=; b=vaG8vRQpnEzM5Ig2BPqQ8F0d26diebvruMc/mjHVpEPsCJutDo8AnpYN1m8KUndBN8JBoo VLoZNptAu/ENRHAGrNHQraAMZzREM5h3+dbNCyD7FaI2slpC/1L8OFtRj2zXSMwdY2FUvb U/Z8rL9L5weYgGdTsD5sTocx+UjmnXOfIjU95P+61JIkL9qTZw053RtClWT+U0Lm0bnJGN cPhsvJQy/UJBrQpiXn6iHUgOcuX+g7CbX0uqzYRsF9eS52nk2e2ZKSBbRoeAbRekO8EVTD oy9IoJ1GjuY6gmBIutj0omY7ZtAM2EJHJE3lXNm/+cdibMaqFOocRFJhnNxfaw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671351776; a=rsa-sha256; cv=none; b=JTyyUTV1a29xQiDnkX9ew7H04Edd3H4Gf8uqBZYfH5RZqCoX1NxzN9COBs/55/VIYMa7h7 ZgTgg5mDjQKa+a3WsOZjWjVhkNvQlbU8wE1z/D2LeZTE0EK14eN9oYTbIXvfwZhbM74/No 46Qf9A2mxDSS32eHZU215AdwxOVW4lN82aQqpc7qtcIRUQ9mNzEM1HfEjhZZDHlw/Uhe2s IEO67uIzcHop2Tf1GqeBYA7+RuaiEGqAAsISyd8hBZv6Ed73ACj96t9SAhDRFSZgIgOXUS CnT+sIKJi+ArokWDrZJqoZPQl2fi+YMLvFgnW/k6TlxShIx2Ht2HtlSqSYwfaw== 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 4NZbSJ3Q8Zz1NpW; Sun, 18 Dec 2022 08:22:56 +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 2BI8MuG9003042; Sun, 18 Dec 2022 08:22:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BI8Muuw003041; Sun, 18 Dec 2022 08:22:56 GMT (envelope-from git) Date: Sun, 18 Dec 2022 08:22:56 GMT Message-Id: <202212180822.2BI8Muuw003041@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Tobias C. Berner" Subject: git: ad5770499313 - main - devel/shiboken2: explicitely disable numpy support List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tcberner X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ad57704993134060ee354695c4da6ab56923383b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=ad57704993134060ee354695c4da6ab56923383b commit ad57704993134060ee354695c4da6ab56923383b Author: Tobias C. Berner AuthorDate: 2022-12-18 08:19:46 +0000 Commit: Tobias C. Berner CommitDate: 2022-12-18 08:19:46 +0000 devel/shiboken2: explicitely disable numpy support Build failure due to numpy being present in the environment: [...] error: use of undeclared identifier 'NPY_ARRAY_UPDATEIFCOPY' if ((flags & NPY_ARRAY_UPDATEIFCOPY) != 0) ^ [...] Reported by: rhurlin --- devel/shiboken2/files/patch-libshiboken_CMakeLists.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/devel/shiboken2/files/patch-libshiboken_CMakeLists.txt b/devel/shiboken2/files/patch-libshiboken_CMakeLists.txt new file mode 100644 index 000000000000..29b837c54b4e --- /dev/null +++ b/devel/shiboken2/files/patch-libshiboken_CMakeLists.txt @@ -0,0 +1,13 @@ +--- libshiboken/CMakeLists.txt.orig 2020-11-11 12:51:30 UTC ++++ libshiboken/CMakeLists.txt +@@ -72,7 +72,9 @@ signature/signature_helper.cpp + signature/signature_helper.cpp + ) + +-get_numpy_location() ++if (WANT_NUMPY) ++ get_numpy_location() ++endif() + + if (NOT "${PYTHON_NUMPY_LOCATION}" STREQUAL "") + list(APPEND libshiboken_SRC sbknumpyarrayconverter.cpp)