www/mod_perl2: fix build with perl >= 5.33.7
- patch from upstream916376b455
PR: 260511 Approved by: fluffy (cherry picked from commitfb780db214
)
This commit is contained in:
parent
113de59fd2
commit
f5ba47a031
11
www/mod_perl2/files/patch-src_modules_perl_modperl__perl.c
Normal file
11
www/mod_perl2/files/patch-src_modules_perl_modperl__perl.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/modules/perl/modperl_perl.c.orig 2019-10-05 11:04:42 UTC
|
||||
+++ src/modules/perl/modperl_perl.c
|
||||
@@ -268,7 +268,7 @@ void modperl_hash_seed_set(pTHX)
|
||||
#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;
|
@ -12,4 +12,4 @@ written for mod_perl, everything from persistent database connections, to
|
||||
templating sytems, to complete XML content delivery systems. Web sites like
|
||||
Slashdot and Wired Magazine use mod_perl.
|
||||
|
||||
WWW: http://perl.apache.org/
|
||||
WWW: https://perl.apache.org/
|
||||
|
Loading…
Reference in New Issue
Block a user