aboutsummaryrefslogtreecommitdiff
path: root/perl/mod_perl/mod_perl.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/mod_perl/mod_perl.SlackBuild')
-rw-r--r--perl/mod_perl/mod_perl.SlackBuild18
1 files changed, 17 insertions, 1 deletions
diff --git a/perl/mod_perl/mod_perl.SlackBuild b/perl/mod_perl/mod_perl.SlackBuild
index aad0f0d67f7d..26985edb1ec2 100644
--- a/perl/mod_perl/mod_perl.SlackBuild
+++ b/perl/mod_perl/mod_perl.SlackBuild
@@ -71,7 +71,23 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Thanks to ARCH Linux
-patch -p1 < $CWD/undefined_symbol.patch
+sed -i -e '1098,1102d' Apache-Test/lib/Apache/TestRun.pm
+sed -i '51,56c push @INC, "xs/tables/current24";' lib/ModPerl/MapUtil.pm
+sed -i -e '66d' src/modules/perl/modperl_sys.c
+
+patch -p1 < $CWD/mod_perl-2.0.11-Do-not-use-deprecated-ap_get_server_version-in-Serve.patch
+patch -p1 < $CWD/mod_perl-2.0.11-Fix-build-with-perl-5.33.7.patch
+
+# Remove failing tests, CPAN RT#118919, CPAN RT#132919
+for F in \
+ ModPerl-Registry/t/closure.t \
+ ModPerl-Registry/t/special_blocks.t \
+ t/filter/in_bbs_inject_header.t \
+ t/filter/TestFilter/in_bbs_inject_header.pm \
+; do
+ rm "$F"
+ sed -i -e '\,^'"$F"',d' MANIFEST
+done
perl \
Makefile.PL \