pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-pyvex devel/py-pyvex: detect powerpc and hand...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6f53d7fe0e37
branches:  trunk
changeset: 381013:6f53d7fe0e37
user:      he <he%pkgsrc.org@localhost>
date:      Thu Jun 23 13:50:05 2022 +0000

description:
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.

diffstat:

 devel/py-pyvex/distinfo                       |   3 ++-
 devel/py-pyvex/patches/patch-pyvex__c_pyvex.c |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r f7043f3e33ab -r 6f53d7fe0e37 devel/py-pyvex/distinfo
--- a/devel/py-pyvex/distinfo   Thu Jun 23 09:34:02 2022 +0000
+++ b/devel/py-pyvex/distinfo   Thu Jun 23 13:50:05 2022 +0000
@@ -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 @@
 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
diff -r f7043f3e33ab -r 6f53d7fe0e37 devel/py-pyvex/patches/patch-pyvex__c_pyvex.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pyvex/patches/patch-pyvex__c_pyvex.c     Thu Jun 23 13:50:05 2022 +0000
@@ -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



Home | Main Index | Thread Index | Old Index