From nobody Tue Jan 25 17:25:51 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 7FBA01985977; Tue, 25 Jan 2022 17:25:51 +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 4Jjtzg3CGvz4tX1; Tue, 25 Jan 2022 17:25:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643131551; 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=7N06iNvbe78Myfs4OaEDRB1dYZ7seXwB6ThlwE+mgn4=; b=S4YbFUpkrsNhUZFQoxOAsBB3eeliSV/60nkg5T3D+nlzUMMFjlGslKV3i7U80y2y3jci8E Mf78RME2rCaj3/OWgItjJ1JManmmib5q8KVP/uEVKWBUFipVxrXNtFxnH5gFiO6KKgzyLF ngVeEp3zVenDTozQ/2n0GuBaSEQw9kAxfOusOw1PN2Cr3eJFgGU4reqR1KaiKHko2TLzUS iM8imqhzPqcW2ERnY4G19rbtipePeNDIy9+4y170Rfv6YNEh8ZJzrdcgOVtd79bVFOFOu4 UcqiI7Agp+DTjv6dOCf6w0LP1ErCqtbxVn2WNCVL+vL11g34NxlcDuAeryyIcw== 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 49F025A70; Tue, 25 Jan 2022 17:25:51 +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 20PHPplm015258; Tue, 25 Jan 2022 17:25:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20PHPpIV015257; Tue, 25 Jan 2022 17:25:51 GMT (envelope-from git) Date: Tue, 25 Jan 2022 17:25:51 GMT Message-Id: <202201251725.20PHPpIV015257@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 425d326baae5 - main - graphics/opencv: fix VSX detection 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: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 425d326baae5e13371f784481571914f4ccd1601 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643131551; 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=7N06iNvbe78Myfs4OaEDRB1dYZ7seXwB6ThlwE+mgn4=; b=fOjjPC+tP0zpmVFFeT1J02m2A8iveS9+wBsrhwmGCoqLGsj1Ni1SEm59RtH8++SJxt3D/T ak0kkCU7aXCsPuDmvWJpU/i/n5kVkOitxculgLS+s/FU4d2TzdDy9eb2FXAgnMs/A3AGrp BKj3rWp7HZwzrSfgFE5XZkMpJTl1BndsjWfcE944w3bf5zIVpet7DozXyg7/8cRSHrBE68 IH06SJ8gTAajVoAyxz4t5xDf4I0IXkCchiMEfY4vEmAoqCDRJjUsOpRR9oMtnDVDmZw6d9 1m/P0K/9XRFuaWXfYIqa+NIws3abgI8T897fwl7VqCd0hof3iglKPWxo2xu3EA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643131551; a=rsa-sha256; cv=none; b=VaZmwetOQleohJ6aPi7r/7DmjbG9s50H0qTIF6dbSoqTo2Esj2+AvsspHTlQfEVuHlt2tM +g//Mvca0rC18YStGVQCelvYrlsIyPCaHsI2tDoSTj9DTiZd2YE2RUof+gBy4TapnU6q/G b6Uf+3qddd7wqHo8oIgUMvnh41saV8u532CVocKNkYxXVYzRQIU8RNS23a5dAL3nuXbNfx iobEKAccMa1td+VCQDAX79yMN8c2Mq9wxwPXRTq+m+XQKsFytz07ATBPsAvglpZFcBG8mf PYKXIP5xiAgUiAeKVTadbkO12ZkHdw9YPH/mGQ14iNeQk/52gUGX34LkSKdRiw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=425d326baae5e13371f784481571914f4ccd1601 commit 425d326baae5e13371f784481571914f4ccd1601 Author: Piotr Kubaj AuthorDate: 2022-01-25 17:22:48 +0000 Commit: Piotr Kubaj CommitDate: 2022-01-25 17:22:48 +0000 graphics/opencv: fix VSX detection AT_HWCAP should be long. --- graphics/opencv/Makefile | 1 + graphics/opencv/files/patch-modules_core_src_system.cpp | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile index 51e55a2c1e86..da23130c99cb 100644 --- a/graphics/opencv/Makefile +++ b/graphics/opencv/Makefile @@ -1,5 +1,6 @@ PORTNAME= opencv DISTVERSION= 4.5.5 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= tcberner@FreeBSD.org diff --git a/graphics/opencv/files/patch-modules_core_src_system.cpp b/graphics/opencv/files/patch-modules_core_src_system.cpp new file mode 100644 index 000000000000..b4f88573d9cb --- /dev/null +++ b/graphics/opencv/files/patch-modules_core_src_system.cpp @@ -0,0 +1,11 @@ +--- modules/core/src/system.cpp.orig 2022-01-25 17:17:25 UTC ++++ modules/core/src/system.cpp +@@ -630,7 +630,7 @@ struct HWFeatures + } + } + #elif (defined __ppc64__ || defined __PPC64__) && defined __FreeBSD__ +- unsigned int hwcap = 0; ++ unsigned long hwcap = 0; + elf_aux_info(AT_HWCAP, &hwcap, sizeof(hwcap)); + if (hwcap & PPC_FEATURE_HAS_VSX) { + elf_aux_info(AT_HWCAP2, &hwcap, sizeof(hwcap));