public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-re-engine-RE2] rawhide: Remove patch defining PERL_EXT, resolved in perl 5.44.0-RC2
Date: Wed, 05 Aug 2026 06:35:10 GMT	[thread overview]
Message-ID: <178591171048.1.4353704761807186966.rpms-perl-re-engine-RE2-70c747e0b003@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/perl-re-engine-RE2
            Branch : rawhide
            Commit : 70c747e0b00351cc605fab80804617dde5aaed6e
            Author : Petr Písař <ppisar@redhat.com>
            Date   : 2026-08-05T08:33:45+02:00
            Stats  : +4/-25 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/perl-re-engine-RE2/c/70c747e0b00351cc605fab80804617dde5aaed6e?branch=rawhide

            Log:
            Remove patch defining PERL_EXT, resolved in perl 5.44.0-RC2

The workaround is not needed any longer.

---
diff --git a/perl-re-engine-RE2.spec b/perl-re-engine-RE2.spec
index e279a7d..59d430d 100644
--- a/perl-re-engine-RE2.spec
+++ b/perl-re-engine-RE2.spec
@@ -1,7 +1,7 @@
 Name:           perl-re-engine-RE2
 Summary:        RE2 regex engine
 Version:        0.18
-Release:        17%{?dist}
+Release:        18%{?dist}
 # lib/re/engine/RE2.pm: GPL-1.0-or-later OR Artistic-1.0-Perl
 # ppport.h:             GPL-1.0-or-later OR Artistic-1.0-Perl
 # README:               GPL-1.0-or-later OR Artistic-1.0-Perl
@@ -112,8 +112,6 @@ Source0:        https://cpan.metacpan.org/authors/id/D/DG/DGL/re-engine-RE2-%{ve
 Patch0:         re-engine-RE2-0.18-Unbundle-re2.patch
 # Adapt to re2-20240702, bug #2304727, CPAN RT#83467
 Patch1:         re-engine-RE2-0.18-Use-C-17.patch
-# Adapt to changes in Perl 5.43.11
-Patch2:         re-engine-RE2-0.18-Adapt-to-perl-5.43.11.patch
 # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
 # (This is a leaf package on i686 because all dependent packages are noarch,
 # and noarch packages no longer build on i686.)
@@ -207,6 +205,9 @@ make test
 %{_libexecdir}/%{name}
 
 %changelog
+* Wed Aug 05 2026 Petr Pisar <ppisar@redhat.com> - 0.18-18
+- Remove patch defining PERL_EXT, resolved in perl 5.44.0-RC2 (Perl GH#24541)
+
 * Wed Jul 22 2026 Jitka Plesnikova <jplesnik@redhat.com> - 0.18-17
 - Perl 5.44 rebuild
 

diff --git a/re-engine-RE2-0.18-Adapt-to-perl-5.43.11.patch b/re-engine-RE2-0.18-Adapt-to-perl-5.43.11.patch
deleted file mode 100644
index fc2a5d0..0000000
--- a/re-engine-RE2-0.18-Adapt-to-perl-5.43.11.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Perl 5.43.11 restructured embed.pl code generation (commit 4d526fc8af) to
-properly enforce visibility flags in proto.h and embed.h. Functions flagged
-EXp in embed.fnc (reg_numbered_buff_fetch, reg_numbered_buff_store,
-reg_numbered_buff_length, reg_named_buff, reg_named_buff_iter) are now
-wrapped in #if defined(PERL_CORE) || defined(PERL_EXT), making their
-Perl_-prefixed declarations invisible to external XS modules.
-
-Since re-engine-RE2 uses these as function pointers in the regexp_engine
-struct, and is effectively a perl extension, define PERL_EXT to restore
-visibility.
-
-diff -up re-engine-RE2-0.18/Makefile.PL.orig re-engine-RE2-0.18/Makefile.PL
---- re-engine-RE2-0.18/Makefile.PL.orig	2026-06-10 17:20:23.781288442 +0200
-+++ re-engine-RE2-0.18/Makefile.PL	2026-06-10 17:19:42.453410603 +0200
-@@ -18,6 +18,7 @@ my %opt = (
-   VERSION_FROM       => 'lib/re/engine/RE2.pm',
-   ABSTRACT_FROM      => 'lib/re/engine/RE2.pm',
-   LICENSE            => 'perl',
-+  DEFINE             => '-DPERL_EXT',
-   LIBS               => '-lre2',
-   PMLIBDIRS          => ["lib"],
-   OBJECT             => join(" ", @objects),

                 reply	other threads:[~2026-08-05  6:35 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=178591171048.1.4353704761807186966.rpms-perl-re-engine-RE2-70c747e0b003@fedoraproject.org \
    --to=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