diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /sci-mathematics/polymake/files | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
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; |