wok-current view apache-mod-perl/stuff/perl-5.34.0.patch @ rev 25765

Fix config_files for xorg-xf86-input-evdev and xorg-xf86-input-synaptics
author Stanislas Leduc <shann@slitaz.org>
date Wed Apr 02 12:28:44 2025 +0000 (3 months ago)
parents
children
line source
1 --- a/src/modules/perl/modperl_perl.c
2 +++ b/src/modules/perl/modperl_perl.c
3 @@ -268,7 +268,7 @@
4 #ifdef MP_NEED_HASH_SEED_FIXUP
5 if (MP_init_hash_seed_set) {
6 #if MP_PERL_VERSION_AT_LEAST(5, 17, 6)
7 - memcpy(&PL_hash_seed, &MP_init_hash_seed,
8 + memcpy(PL_hash_seed, &MP_init_hash_seed,
9 sizeof(PL_hash_seed) > sizeof(MP_init_hash_seed) ?
10 sizeof(MP_init_hash_seed) : sizeof(PL_hash_seed));
11 PL_hash_seed_set = MP_init_hash_seed_set;