A patch is available upstream, see https://github.com/apache/mod_perl/commit/916376b4559d194ca618ce52c5a937fb000350be A new release is being prepared according to upstream, see: http://mail-archives.apache.org/mod_mbox/perl-modperl/202111.mbox/%3CCADED%3DK5tAR6ZCc8zQ8kxm7jf1jhvmuyuD9_wXeHfNvaC8WrA8A%40mail.gmail.com%3E
I tested the patch on some system, works fine.
Kurt, ship it asap! Dima, on behalf of ports-secteam
A commit in branch main references this bug: 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 .../files/patch-src_modules_perl_modperl__perl.c (new) | 11 +++++++++++ www/mod_perl2/pkg-descr | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-)
A commit in branch 2021Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f5ba47a03127e37e636233060da7b96b4c1c9085 commit f5ba47a03127e37e636233060da7b96b4c1c9085 Author: Kurt Jaeger <pi@FreeBSD.org> AuthorDate: 2021-12-18 14:06:32 +0000 Commit: Kurt Jaeger <pi@FreeBSD.org> CommitDate: 2021-12-18 16:15:15 +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 (cherry picked from commit fb780db214a3f007d5ccc5596e6762e94c6f95c2) .../files/patch-src_modules_perl_modperl__perl.c (new) | 11 +++++++++++ www/mod_perl2/pkg-descr | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-)