diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2022-06-15 11:56:50 -0400 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2022-06-15 15:29:24 -0400 |
commit | a5f294bb04f044d59923b582e097257559283028 (patch) | |
tree | cf097e704840ecd97b97eda6f2f849f63bc5a75c /sci-mathematics/polymake/files | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 5.18.4 (diff) | |
download | gentoo-a5f294bb04f044d59923b582e097257559283028.tar.gz gentoo-a5f294bb04f044d59923b582e097257559283028.tar.bz2 gentoo-a5f294bb04f044d59923b582e097257559283028.zip |
sci-mathematics/polymake: new revision with a few fixes.
* Build with perl-5.36. Thanks to Alessandro Barbieri for pointing out
the Fedora patch.
* Added a lower bound on sci-mathematics/normaliz (with USE=normaliz).
* Fixed a missing sci-mathematics/flint dependency that Toralf caught.
Closes: https://bugs.gentoo.org/839255
Closes: https://bugs.gentoo.org/851693
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'sci-mathematics/polymake/files')
-rw-r--r-- | sci-mathematics/polymake/files/polymake-4.6-perl-5.36.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sci-mathematics/polymake/files/polymake-4.6-perl-5.36.patch b/sci-mathematics/polymake/files/polymake-4.6-perl-5.36.patch new file mode 100644 index 000000000000..4a9d349ccb9a --- /dev/null +++ b/sci-mathematics/polymake/files/polymake-4.6-perl-5.36.patch @@ -0,0 +1,15 @@ +diff -up lib/core/src/perl/RefHash.xxs.orig lib/core/src/perl/RefHash.xxs +--- a/lib/core/src/perl/RefHash.xxs 2022-06-06 10:35:17.689807548 +0200 ++++ b/lib/core/src/perl/RefHash.xxs 2022-06-06 10:37:12.935663947 +0200 +@@ -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_UNSHARED; ++#else ++ HEK_FLAGS(hekp) = HVhek_NOTSHARED; ++#endif + sv.sv_any = &xpv; + sv.sv_refcnt = 1; + sv.sv_flags = SVt_PVIV | SVf_IVisUV | SVf_POK | SVp_POK | PmFlagsForHashKey; |