nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 13 lines 577 B view raw
1From https://github.com/Perl/perl5/issues/18617#issuecomment-822056978 by Leont 2 3--- a/src/modules/perl/modperl_perl.c 4+++ a/src/modules/perl/modperl_perl.c 5@@ -268,7 +268,7 @@ 6 #ifdef MP_NEED_HASH_SEED_FIXUP 7 if (MP_init_hash_seed_set) { 8 #if MP_PERL_VERSION_AT_LEAST(5, 17, 6) 9- memcpy(&PL_hash_seed, &MP_init_hash_seed, 10+ memcpy(PL_hash_seed, &MP_init_hash_seed, 11 sizeof(PL_hash_seed) > sizeof(MP_init_hash_seed) ? 12 sizeof(MP_init_hash_seed) : sizeof(PL_hash_seed)); 13 PL_hash_seed_set = MP_init_hash_seed_set;