diff --git a/perl-5.31.3-Configure-Include-stdlib.h-in-futimes-check.patch b/perl-5.31.3-Configure-Include-stdlib.h-in-futimes-check.patch new file mode 100644 index 0000000..0ceb4e0 --- /dev/null +++ b/perl-5.31.3-Configure-Include-stdlib.h-in-futimes-check.patch @@ -0,0 +1,30 @@ +From 425077e4b85509df2907be6c103d54c0687c7647 Mon Sep 17 00:00:00 2001 +From: Florian Weimer +Date: Mon, 9 Sep 2019 19:35:47 +0200 +Subject: [PATCH 1/2] Configure: Include in futimes check +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Needed for the exit function. + +Signed-off-by: Petr Písař +--- + Configure | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Configure b/Configure +index 818deb8378..7aa03d6aed 100755 +--- a/Configure ++++ b/Configure +@@ -14091,6 +14091,7 @@ $cat >try.c < + #include + #include ++#include + + int main () + { +-- +2.21.0 + diff --git a/perl-5.31.3-Florian-Weimer-is-now-a-perl-author.patch b/perl-5.31.3-Florian-Weimer-is-now-a-perl-author.patch new file mode 100644 index 0000000..e213e5e --- /dev/null +++ b/perl-5.31.3-Florian-Weimer-is-now-a-perl-author.patch @@ -0,0 +1,28 @@ +From da006e4432402cea01c9018743467314377e3c1e Mon Sep 17 00:00:00 2001 +From: Tony Cook +Date: Tue, 10 Sep 2019 10:44:10 +1000 +Subject: [PATCH 2/2] Florian Weimer is now a perl author +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Petr Písař +--- + AUTHORS | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/AUTHORS b/AUTHORS +index a2b6d8c15a..a554cfc045 100644 +--- a/AUTHORS ++++ b/AUTHORS +@@ -418,6 +418,7 @@ Fergal Daly + Fingle Nark + Florent Guillaume + Florian Ragwitz ++Florian Weimer + François Désarménien + François Perrad + Frank Crawford +-- +2.21.0 + diff --git a/perl.spec b/perl.spec index 3ec91fa..6771543 100644 --- a/perl.spec +++ b/perl.spec @@ -292,6 +292,10 @@ Patch59: perl-5.31.3-Supply-missing-right-brace-in-regex-example.patch # fixed after 5.31.3 Patch60: perl-5.31.3-perl-134390-don-t-leak-the-SV-we-just-created-on-an-.patch +# Fix a detection for futimes, RT#134432, fixed after 5.31.3 +Patch61: perl-5.31.3-Configure-Include-stdlib.h-in-futimes-check.patch +Patch62: perl-5.31.3-Florian-Weimer-is-now-a-perl-author.patch + # Link XS modules to libperl.so with EU::CBuilder on Linux, bug #960048 Patch200: perl-5.16.3-Link-XS-modules-to-libperl.so-with-EU-CBuilder-on-Li.patch @@ -2884,6 +2888,8 @@ git am < %{PATCH58} rm -rf .git # Perl tests examine a git repository %patch59 -p1 %patch60 -p1 +%patch61 -p1 +%patch62 -p1 %patch200 -p1 %patch201 -p1 @@ -2951,6 +2957,8 @@ perl -x patchlevel.h \ 'Fedora Patch58: Fix a buffer overflow when compiling a regular expression with many branches (RT#134329)' \ 'Fedora Patch59: Correct a misspelling in perlrebackslash documentation (RT#134395)' \ 'Fedora Patch60: Fix a memory leak when matching a UTF-8 regular expression (RT#134329)' \ + 'Fedora Patch61: Fix a detection for futimes (RT#134432)' \ + 'Fedora Patch62: Fix a detection for futimes (RT#134432)' \ 'Fedora Patch200: Link XS modules to libperl.so with EU::CBuilder on Linux' \ 'Fedora Patch201: Link XS modules to libperl.so with EU::MM on Linux' \ %{nil} @@ -5198,6 +5206,7 @@ popd %changelog * Wed Sep 11 2019 Petr Pisar - 4:5.30.0-446 - Fix a memory leak when matching a UTF-8 regular expression (RT#134329) +- Fix a detection for futimes (RT#134432) * Mon Sep 02 2019 Petr Pisar - 4:5.30.0-445 - Adjust spec file to rpm-build-4.15.0-0.rc1.1