diff --git a/perl-5.33.0-ext-XS-APItest-t-utf8_warn_base.pl-Fix-a-couple-test.patch b/perl-5.33.0-ext-XS-APItest-t-utf8_warn_base.pl-Fix-a-couple-test.patch new file mode 100644 index 0000000..338f368 --- /dev/null +++ b/perl-5.33.0-ext-XS-APItest-t-utf8_warn_base.pl-Fix-a-couple-test.patch @@ -0,0 +1,38 @@ +From 73b535d23d98bd3bdc31a27da26222e2e56166ac Mon Sep 17 00:00:00 2001 +From: Karl Williamson +Date: Tue, 30 Jun 2020 13:58:50 -0600 +Subject: [PATCH] ext/XS-APItest/t/utf8_warn_base.pl: Fix a couple tests +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +These had invalid values, which didn't show up execpt on EBCDIC + +Signed-off-by: Petr Písař +--- + ext/XS-APItest/t/utf8_warn_base.pl | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/ext/XS-APItest/t/utf8_warn_base.pl b/ext/XS-APItest/t/utf8_warn_base.pl +index d86871cd0f..a0f732282e 100644 +--- a/ext/XS-APItest/t/utf8_warn_base.pl ++++ b/ext/XS-APItest/t/utf8_warn_base.pl +@@ -486,7 +486,6 @@ my @tests; + : I8_to_native( + "\xff\xa7\xbf\xbf\xbf\xbf\xbf\xbf\xbf\xbf\xbf\xbf\xbf\xbf"), + 0x7FFFFFFFFFFFFFFF, +- (isASCII) ? 1 : 2, + ], + [ "first 64 bit code point", + (isASCII) +@@ -525,7 +524,6 @@ my @tests; + I8_to_native( + "\xff\xa0\xa0\xa0\xa0\xa0\xa1\xa0\xa0\xa0\xa0\xa0\xa0\xa0"), + 0x800000000, +- 40000000 + ], + [ "requires at least 32 bits", + I8_to_native( +-- +2.25.4 + diff --git a/perl.spec b/perl.spec index 12ff860..fef1b80 100644 --- a/perl.spec +++ b/perl.spec @@ -173,6 +173,9 @@ Patch15: perl-5.33.0-sv.h-Wanted-UOK-but-said-IOK.patch # Fix SvTRUE() documentation, in upstream after 5.33.0 Patch16: perl-5.33.0-Update-pod-for-SvTRUE-to-indicate-single-param-evalu.patch +# Fix ext/XS-APItest/t/utf8_warn_base.pl tests, in upstream after 5.33.0 +Patch17: perl-5.33.0-ext-XS-APItest-t-utf8_warn_base.pl-Fix-a-couple-test.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 @@ -4175,6 +4178,7 @@ you're not running VMS, this module does nothing. %patch14 -p1 %patch15 -p1 %patch16 -p1 +%patch17 -p1 %patch200 -p1 %patch201 -p1 @@ -4198,6 +4202,7 @@ perl -x patchlevel.h \ 'Fedora Patch14: Do not use a C compiler reserved identifiers' \ 'Fedora Patch15: Fix SvUV_nomg() macro definition' \ 'Fedora Patch16: Fix SvTRUE() documentation' \ + 'Fedora Patch17: Fix ext/XS-APItest/t/utf8_warn_base.pl tests' \ '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} @@ -6919,6 +6924,7 @@ popd - Do not use a C compiler reserved identifiers - Fix SvUV_nomg() macro definition - Fix SvTRUE() documentation +- Fix ext/XS-APItest/t/utf8_warn_base.pl tests * Tue Jul 28 2020 Fedora Release Engineering - 4:5.32.0-458 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild