diff options
author | Stig Palmquist <stig@stig.io> | 2021-08-13 15:10:35 +0200 |
---|---|---|
committer | Stig Palmquist <stig@stig.io> | 2021-08-13 15:16:35 +0200 |
commit | c4095d0e4129dd7914a885a0f4088b2ff8f0b2c5 (patch) | |
tree | 803ea690f35a316812b21772591fb3da7200f516 /pkgs/development/perl-modules | |
parent | 5e5e7444496a3cf47e8aa5844ef10bee9a0a627d (diff) |
perlPackages.mod_perl2: fix build on perl-5.34.0
Diffstat (limited to 'pkgs/development/perl-modules')
-rw-r--r-- | pkgs/development/perl-modules/mod_perl2-PL_hash_seed.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/development/perl-modules/mod_perl2-PL_hash_seed.patch b/pkgs/development/perl-modules/mod_perl2-PL_hash_seed.patch new file mode 100644 index 000000000000..a8aac88de319 --- /dev/null +++ b/pkgs/development/perl-modules/mod_perl2-PL_hash_seed.patch @@ -0,0 +1,13 @@ +From https://github.com/Perl/perl5/issues/18617#issuecomment-822056978 by Leont + +--- a/src/modules/perl/modperl_perl.c ++++ a/src/modules/perl/modperl_perl.c +@@ -268,7 +268,7 @@ + #ifdef MP_NEED_HASH_SEED_FIXUP + if (MP_init_hash_seed_set) { + #if MP_PERL_VERSION_AT_LEAST(5, 17, 6) +- memcpy(&PL_hash_seed, &MP_init_hash_seed, ++ memcpy(PL_hash_seed, &MP_init_hash_seed, + sizeof(PL_hash_seed) > sizeof(MP_init_hash_seed) ? + sizeof(MP_init_hash_seed) : sizeof(PL_hash_seed)); + PL_hash_seed_set = MP_init_hash_seed_set; |