public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jitka Plesnikova <jplesnik@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/mod_perl] epel9: Do not use deprecated do_open9() (CPAN RT#148451)
Date: Fri, 27 Nov 2026 22:43:12 GMT	[thread overview]
Message-ID: <179581939291.1.181505314423227623.rpms-mod_perl-f0ec280eabca@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-11-27 22:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179581939291.1.181505314423227623.rpms-mod_perl-f0ec280eabca@fedoraproject.org \
    --to=jplesnik@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox