public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mod_perl] epel9: Do not use deprecated do_open9() (CPAN RT#148451)
@ 2026-11-27 22:43 Jitka Plesnikova
0 siblings, 0 replies; only message in thread
From: Jitka Plesnikova @ 2026-11-27 22:43 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/mod_perl
Branch : epel9
Commit : f0ec280eabca2b53d07b57b6d63d8f9cdf668e05
Author : Jitka Plesnikova <jplesnik@redhat.com>
Date : 2023-06-01T13:02:09+02:00
Stats : +20/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/mod_perl/c/f0ec280eabca2b53d07b57b6d63d8f9cdf668e05?branch=epel9
Log:
Do not use deprecated do_open9() (CPAN RT#148451)
---
diff --git a/mod_perl-2.0.12-Stop-using-do_open9.patch b/mod_perl-2.0.12-Stop-using-do_open9.patch
new file mode 100644
index 0000000..8e606a1
--- /dev/null
+++ b/mod_perl-2.0.12-Stop-using-do_open9.patch
@@ -0,0 +1,14 @@
+diff -up mod_perl-2.0.12/src/modules/perl/modperl_io.c.orig mod_perl-2.0.12/src/modules/perl/modperl_io.c
+--- mod_perl-2.0.12/src/modules/perl/modperl_io.c.orig 2023-06-01 12:34:06.696214838 +0200
++++ mod_perl-2.0.12/src/modules/perl/modperl_io.c 2023-06-01 12:33:22.802841353 +0200
+@@ -116,8 +116,8 @@ modperl_io_perlio_override_stdhandle(pTH
+ save_gp(handle, 1);
+
+ sv_setref_pv(sv, "Apache2::RequestRec", (void*)r);
+- status = do_open9(handle, mode == O_RDONLY ? "<:Apache2" : ">:Apache2",
+- 9, FALSE, mode, 0, (PerlIO *)NULL, sv, 1);
++ status = do_openn(handle, mode == O_RDONLY ? "<:Apache2" : ">:Apache2",
++ 9, FALSE, mode, 0, (PerlIO *)NULL, &sv, 1);
+ if (status == 0) {
+ Perl_croak(aTHX_ "Failed to open STD%s: %" SVf,
+ mode == O_RDONLY ? "IN" : "OUT", get_sv("!", TRUE));
diff --git a/mod_perl.spec b/mod_perl.spec
index f498bb0..d38f5a2 100644
--- a/mod_perl.spec
+++ b/mod_perl.spec
@@ -14,7 +14,7 @@
Name: mod_perl
Version: 2.0.12
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: An embedded Perl interpreter for the Apache HTTP Server
# other files: ASL 2.0
## Not in binary packages
@@ -34,6 +34,8 @@ Patch0: mod_perl-2.0.12-Convert-documentation-to-UTF-8.patch
Patch1: mod_perl-2.0.4-inline.patch
# Do not use deprecated ap_get_server_version(), CPAN RT#124972
Patch2: mod_perl-2.0.11-Do-not-use-deprecated-ap_get_server_version-in-Serve.patch
+# Do not use deprecated do_open9(), CPAN RT#148451
+Patch3: mod_perl-2.0.12-Stop-using-do_open9.patch
BuildRequires: apr-devel >= 1.2.0
BuildRequires: apr-util-devel
@@ -321,6 +323,9 @@ fi
%changelog
+* Thu Jun 01 2023 Jitka Plesnikova <jplesnik@redhat.com> - 2.0.12-7
+- Do not use deprecated do_open9() (CPAN RT#148451)
+
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.12-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-27 22:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27 22:43 [rpms/mod_perl] epel9: Do not use deprecated do_open9() (CPAN RT#148451) Jitka Plesnikova
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox