Received: by mail.netbsd.org (Postfix, from userid 605) id 4C11484F26; Thu, 23 Jun 2022 13:48:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 8525184E8D for ; Thu, 23 Jun 2022 13:48:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id JoKgWsGE2h8e for ; Thu, 23 Jun 2022 13:48:05 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id F346C84CE3 for ; Thu, 23 Jun 2022 13:48:04 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 191BCFB1A; Thu, 23 Jun 2022 13:50:06 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1655992206211410" MIME-Version: 1.0 Date: Thu, 23 Jun 2022 13:50:06 +0000 From: "Havard Eidnes" Subject: CVS commit: pkgsrc/devel/py-pyvex To: pkgsrc-changes@NetBSD.org Reply-To: he@netbsd.org X-Mailer: log_accum Message-Id: <20220623135006.191BCFB1A@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1655992206211410 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: he Date: Thu Jun 23 13:50:06 UTC 2022 Modified Files: pkgsrc/devel/py-pyvex: distinfo Added Files: pkgsrc/devel/py-pyvex/patches: patch-pyvex__c_pyvex.c Log Message: devel/py-pyvex: detect powerpc and handle it as 32-bit ppc. The code already has handling, so this seems to be an oversight. Does not distinguish between 32-bit and 64-bit powerpc. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/py-pyvex/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-pyvex/patches/patch-pyvex__c_pyvex.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1655992206211410 Content-Disposition: inline Content-Length: 1842 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/py-pyvex/distinfo diff -u pkgsrc/devel/py-pyvex/distinfo:1.8 pkgsrc/devel/py-pyvex/distinfo:1.9 --- pkgsrc/devel/py-pyvex/distinfo:1.8 Wed May 11 09:44:19 2022 +++ pkgsrc/devel/py-pyvex/distinfo Thu Jun 23 13:50:05 2022 @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.8 2022/05/11 09:44:19 jperkin Exp $ +$NetBSD: distinfo,v 1.9 2022/06/23 13:50:05 he Exp $ BLAKE2s (pyvex-9.0.7491.tar.gz) = e06baf6f9dd6b0771f82a7bf8a2fa4cdd4ae80352e12e8d6b2cd83a1cf9af289 SHA512 (pyvex-9.0.7491.tar.gz) = 20db00e889af9477511b85ee3347d82ba2241ffcb064101645697c40fe6cf65d982a7921931f358b91721ba965ab0781d24200e17b4ab528874775b2c3ae0ed2 @@ -7,3 +7,4 @@ BLAKE2s (vex-0.0.0.tar.gz) = 4ddaeb29fa4 SHA512 (vex-0.0.0.tar.gz) = 917ffe7f0ec53d9f455aee390b302788227bab7369631e9a7032415a968d5d0720eeda2580d069416c53f2e40b8427c55a960c428726a43e51e430a7c64d97e4 Size (vex-0.0.0.tar.gz) = 3590889 bytes SHA1 (patch-pyvex__c_Makefile) = b638b1e6e0aa20d8faf15b8b7c3ca12408e42262 +SHA1 (patch-pyvex__c_pyvex.c) = ee53fff745a735fba2119bfaa7e7729bfca3d712 Added files: Index: pkgsrc/devel/py-pyvex/patches/patch-pyvex__c_pyvex.c diff -u /dev/null pkgsrc/devel/py-pyvex/patches/patch-pyvex__c_pyvex.c:1.1 --- /dev/null Thu Jun 23 13:50:06 2022 +++ pkgsrc/devel/py-pyvex/patches/patch-pyvex__c_pyvex.c Thu Jun 23 13:50:05 2022 @@ -0,0 +1,16 @@ +$NetBSD: patch-pyvex__c_pyvex.c,v 1.1 2022/06/23 13:50:05 he Exp $ + +Initial attempt at doing powerpc as well. +Overlooked here? The code has other mentions of the arch... + +--- pyvex_c/pyvex.c.orig 2021-05-18 20:52:08.000000000 +0000 ++++ pyvex_c/pyvex.c +@@ -172,6 +172,8 @@ int vex_init() { + #elif __s390x__ + vta.arch_host = VexArchS390X; + vai_host.hwcaps = VEX_HWCAPS_S390X_LDISP; ++#elif __powerpc__ ++ vta.arch_host = VexArchPPC32; + #else + #error "Unsupported host arch" + #endif --_----------=_1655992206211410--