[arch-commits] Commit in polymake/trunk (PKGBUILD perl-5.36.patch)
Antonio Rojas
arojas at gemini.archlinux.org
Sun Jul 17 16:32:13 UTC 2022
Date: Sunday, July 17, 2022 @ 16:32:12
Author: arojas
Revision: 1254319
Update to 4.7
Modified:
polymake/trunk/PKGBUILD
Deleted:
polymake/trunk/perl-5.36.patch
-----------------+
PKGBUILD | 15 ++++-----------
perl-5.36.patch | 16 ----------------
2 files changed, 4 insertions(+), 27 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-17 16:21:28 UTC (rev 1254318)
+++ PKGBUILD 2022-07-17 16:32:12 UTC (rev 1254319)
@@ -1,8 +1,8 @@
# Maintainer: Antonio Rojas <arojas at archlinux.org>
pkgname=polymake
-pkgver=4.6
-pkgrel=6
+pkgver=4.7
+pkgrel=1
_perlver=`perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]).".".($v->[2]);'`
pkgdesc='Open source software for research in polyhedral geometry'
arch=(x86_64)
@@ -12,16 +12,9 @@
perl-term-readline-gnu perl-term-readkey perl-json sympol perl=$_perlver)
makedepends=(ninja cddlib ant boost bliss libnsl jdk8-openjdk permlib nauty)
optdepends=('java-runtime: java module')
-source=(https://polymake.org/lib/exe/fetch.php/download/polymake-${pkgver/.r/r}-minimal.tar.bz2
- perl-5.36.patch)
-sha256sums=('423a44ddef11eaea8457ab15dd5d86ddb7a8bcc6c9bb11776f9e2958d7dcf9d0'
- '497d447f3371858382e29b3b1149d09560d7be4847c5709b34cc83c043077c21')
+source=(https://polymake.org/lib/exe/fetch.php/download/polymake-${pkgver/.r/r}-minimal.tar.bz2)
+sha256sums=('d6abfede022c6ccd711e1d364b7c9b91cbd590a4b73990cd3567c9b769f26e61')
-prepare() {
- cd polymake-$pkgver
- patch -Np1 -i ../perl-5.36.patch
-}
-
build() {
cd polymake-$pkgver
./configure \
Deleted: perl-5.36.patch
===================================================================
--- perl-5.36.patch 2022-07-17 16:21:28 UTC (rev 1254318)
+++ perl-5.36.patch 2022-07-17 16:32:12 UTC (rev 1254319)
@@ -1,16 +0,0 @@
-diff --git a/lib/core/src/perl/RefHash.xxs b/lib/core/src/perl/RefHash.xxs
-index 42ee53cd..5cc3f73f 100644
---- a/lib/core/src/perl/RefHash.xxs
-+++ b/lib/core/src/perl/RefHash.xxs
-@@ -71,7 +71,11 @@ SV* tmp_keysv::set(SV* keysv)
- Copy(obj.keyp, HEK_KEY(hekp), sizeof(SV*), char);
- HEK_LEN(hekp) = sizeof(SV*);
- HEK_HASH(hekp) = U32(obj.keyl >> 4); // hash value
-+#if PerlVersion >= 5360
-+ HEK_FLAGS(hekp) = HVhek_NOTSHARED;
-+#else
- HEK_FLAGS(hekp) = HVhek_UNSHARED;
-+#endif
- sv.sv_any = &xpv;
- sv.sv_refcnt = 1;
- sv.sv_flags = SVt_PVIV | SVf_IVisUV | SVf_POK | SVp_POK | PmFlagsForHashKey;
More information about the arch-commits
mailing list