pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-pyvex



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.

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



Home | Main Index | Thread Index | Old Index