git: fb780db214a3 - main - www/mod_perl2: fix build with perl >= 5.33.7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 18 Dec 2021 14:07:49 UTC
The branch main has been updated by pi: URL: https://cgit.FreeBSD.org/ports/commit/?id=fb780db214a3f007d5ccc5596e6762e94c6f95c2 commit fb780db214a3f007d5ccc5596e6762e94c6f95c2 Author: Kurt Jaeger <pi@FreeBSD.org> AuthorDate: 2021-12-18 14:06:32 +0000 Commit: Kurt Jaeger <pi@FreeBSD.org> CommitDate: 2021-12-18 14:06:32 +0000 www/mod_perl2: fix build with perl >= 5.33.7 - patch from upstream https://github.com/apache/mod_perl/commit/916376b4559d194ca618ce52c5a937fb000350be PR: 260511 Approved by: fluffy --- www/mod_perl2/files/patch-src_modules_perl_modperl__perl.c | 11 +++++++++++ www/mod_perl2/pkg-descr | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/www/mod_perl2/files/patch-src_modules_perl_modperl__perl.c b/www/mod_perl2/files/patch-src_modules_perl_modperl__perl.c new file mode 100644 index 000000000000..2eb8ac9a7c10 --- /dev/null +++ b/www/mod_perl2/files/patch-src_modules_perl_modperl__perl.c @@ -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; diff --git a/www/mod_perl2/pkg-descr b/www/mod_perl2/pkg-descr index fb5030b336ca..b67dd8cb1540 100644 --- a/www/mod_perl2/pkg-descr +++ b/www/mod_perl2/pkg-descr @@ -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/