From f0ee97521a9968793e1eb30d6584296feebace42 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 21 May 2021 15:42:53 +0100 Subject: mod_perl alignment fix with perl-5.33.7 and above --- .../916376b4559d194ca618ce52c5a937fb000350be.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 www-apache/mod_perl/916376b4559d194ca618ce52c5a937fb000350be.patch diff --git a/www-apache/mod_perl/916376b4559d194ca618ce52c5a937fb000350be.patch b/www-apache/mod_perl/916376b4559d194ca618ce52c5a937fb000350be.patch new file mode 100644 index 0000000..5b754ab --- /dev/null +++ b/www-apache/mod_perl/916376b4559d194ca618ce52c5a937fb000350be.patch @@ -0,0 +1,25 @@ +From 916376b4559d194ca618ce52c5a937fb000350be Mon Sep 17 00:00:00 2001 +From: Steve Hay +Date: Tue, 20 Apr 2021 13:55:29 +0000 +Subject: [PATCH] Fix build for perl >= 5.33.7 + +Patch by Leon Timmermans from https://github.com/Perl/perl5/issues/18617 + +git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1889014 13f79535-47bb-0310-9956-ffa450edef68 +--- + src/modules/perl/modperl_perl.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/modules/perl/modperl_perl.c b/src/modules/perl/modperl_perl.c +index fe0f484f..9ec744f9 100644 +--- a/src/modules/perl/modperl_perl.c ++++ b/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; -- cgit v1.2.3