Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37882434
en ru br
ALT Linux repos
S:2.0.11-alt3
5.0: 2.0.4-alt1
4.1: 2.0.3-alt5
4.0: 2.0.3-alt5

Group :: System/Servers
RPM: apache2-mod_perl

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: mod_perl-2.0.11-fix_building_with_perl-5.33.7.patch
Download


------------------------------------------------------------------------
r1889014 | stevehay | 2021-04-20 15:55:29 +0200 (Út, 20 dub 2021) | 3 lines
Fix build for perl >= 5.33.7
Patch by Leon Timmermans <fawaka@gmail.com> from https://github.com/Perl/perl5/issues/18617
Index: src/modules/perl/modperl_perl.c
===================================================================
--- src/modules/perl/modperl_perl.c	(revision 1889013)
+++ src/modules/perl/modperl_perl.c	(revision 1889014)
@@ -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;
------------------------------------------------------------------------
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin