The test XS-APItest/t/printf.t was fixed by gcc-12.0.1-0.6.fc36

This commit is contained in:
Jitka Plesnikova 2022-02-07 16:15:08 +01:00
parent 4751b01e52
commit abb08767a7
2 changed files with 4 additions and 19 deletions

View File

@ -1,12 +0,0 @@
diff -up perl-5.34.0/ext/XS-APItest/APItest.xs.longdouble perl-5.34.0/ext/XS-APItest/APItest.xs
--- perl-5.34.0/ext/XS-APItest/APItest.xs.longdouble 2022-02-02 08:36:19.847253094 +0100
+++ perl-5.34.0/ext/XS-APItest/APItest.xs 2022-02-02 08:36:37.421344783 +0100
@@ -2334,7 +2334,7 @@ print_double(val)
int
have_long_double()
CODE:
-#ifdef HAS_LONG_DOUBLE
+#if defined(HAS_LONG_DOUBLE) && defined(USE_LONG_DOUBLE)
RETVAL = 1;
#else
RETVAL = 0;

View File

@ -104,7 +104,7 @@ License: GPL+ or Artistic
Epoch: %{perl_epoch} Epoch: %{perl_epoch}
Version: %{perl_version} Version: %{perl_version}
# release number must be even higher, because dual-lived modules will be broken otherwise # release number must be even higher, because dual-lived modules will be broken otherwise
Release: 484%{?dist} Release: 485%{?dist}
Summary: Practical Extraction and Report Language Summary: Practical Extraction and Report Language
Url: https://www.perl.org/ Url: https://www.perl.org/
Source0: https://www.cpan.org/src/5.0/perl-%{perl_version}.tar.xz Source0: https://www.cpan.org/src/5.0/perl-%{perl_version}.tar.xz
@ -174,9 +174,6 @@ Patch14: perl-5.35.1-Fix-GDBM_File-to-compile-with-version-1.20-and-earli
Patch15: perl-5.35.1-Raise-version-number-in-ext-GDBM_File-GDBM_File.pm.patch Patch15: perl-5.35.1-Raise-version-number-in-ext-GDBM_File-GDBM_File.pm.patch
Patch16: perl-5.35.1-Fix-definition-of-ITEM_NOT_FOUND-for-pre-1.13-versio.patch Patch16: perl-5.35.1-Fix-definition-of-ITEM_NOT_FOUND-for-pre-1.13-versio.patch
# Fix test XS-APItest/t/printf.t failing with GCC 12 on ppc64le
Patch17: perl-5.34.0-Fix-XS-APItest-with-GCC12.patch
# Link XS modules to libperl.so with EU::CBuilder on Linux, bug #960048 # 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 Patch200: perl-5.16.3-Link-XS-modules-to-libperl.so-with-EU-CBuilder-on-Li.patch
@ -4204,9 +4201,6 @@ you're not running VMS, this module does nothing.
%patch14 -p1 %patch14 -p1
%patch15 -p1 %patch15 -p1
%patch16 -p1 %patch16 -p1
%ifarch ppc64le
%patch17 -p1
%endif
%patch200 -p1 %patch200 -p1
%patch201 -p1 %patch201 -p1
@ -7006,6 +7000,9 @@ popd
# Old changelog entries are preserved in CVS. # Old changelog entries are preserved in CVS.
%changelog %changelog
* Mon Feb 07 2022 Jitka Plesnikova <jplesnik@redhat.com> - 4:5.34.0-485
- The test XS-APItest/t/printf.t was fixed by gcc-12.0.1-0.6.fc36
* Wed Feb 02 2022 Jitka Plesnikova <jplesnik@redhat.com> - 4:5.34.0-484 * Wed Feb 02 2022 Jitka Plesnikova <jplesnik@redhat.com> - 4:5.34.0-484
- Fix failing test XS-APItest/t/printf.t (bug#2046802) - Fix failing test XS-APItest/t/printf.t (bug#2046802)
- Disable package notes to prevent perl-* build breakage - Disable package notes to prevent perl-* build breakage