public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mod_perl] epel9: fix ftbs on i686, BZ 2261386
@ 2026-11-27 22:43 Andrew Bauer
  0 siblings, 0 replies; only message in thread
From: Andrew Bauer @ 2026-11-27 22:43 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/mod_perl
Branch : epel9
Commit : 6c11b3787d0ce965eb8096aa7662995ff6fc0eee
Author : Andrew Bauer <zonexpertconsulting@outlook.com>
Date   : 2024-02-02T11:55:36-06:00
Stats  : +18/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/mod_perl/c/6c11b3787d0ce965eb8096aa7662995ff6fc0eee?branch=epel9

Log:
fix ftbs on i686, BZ 2261386

---
diff --git a/mod_perl-32bit-ftbs.patch b/mod_perl-32bit-ftbs.patch
new file mode 100644
index 0000000..def0270
--- /dev/null
+++ b/mod_perl-32bit-ftbs.patch
@@ -0,0 +1,13 @@
+Index: src/modules/perl/modperl_common_util.c
+===================================================================
+--- a/src/modules/perl/modperl_common_util.c	(revision 1915494)
++++ b/src/modules/perl/modperl_common_util.c	(working copy)
+@@ -41,7 +41,7 @@
+ 
+ MP_INLINE static
+ int modperl_table_magic_copy(pTHX_ SV *sv, MAGIC *mg, SV *nsv,
+-                             const char *name, int namelen)
++                             const char *name, I32 namelen)
+ {
+     /* prefetch the value whenever we're iterating over the keys */
+     MAGIC *tie_magic = mg_find(nsv, PERL_MAGIC_tiedelem);

diff --git a/mod_perl.spec b/mod_perl.spec
index 45efb20..0c5a5be 100644
--- a/mod_perl.spec
+++ b/mod_perl.spec
@@ -14,7 +14,7 @@
 
 Name:           mod_perl
 Version:        2.0.13
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        An embedded Perl interpreter for the Apache HTTP Server
 # other files:                  ASL 2.0
 ## Not in binary packages
@@ -32,6 +32,7 @@ Source4:        perl.module.conf
 # Normalize documentation encoding
 Patch0:         mod_perl-2.0.12-Convert-documentation-to-UTF-8.patch
 Patch1:         mod_perl-2.0.4-inline.patch
+Patch2:         mod_perl-32bit-ftbs.patch
 
 BuildRequires:  apr-devel >= 1.2.0
 BuildRequires:  apr-util-devel
@@ -318,6 +319,9 @@ fi
 %endif
 
 %changelog
+* Fri Feb 02 2024 Andrew Bauer <zonexpertconsulting@outlook.com> - 2.0.13-4
+- fix ftbs on i686, BZ 2261386
+
 * Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.13-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_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: fix ftbs on i686, BZ 2261386 Andrew Bauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox