commit:     006f7231973f49059e9340f4a13c4b893c35d048
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 23 08:41:57 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 23 08:41:57 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=006f7231

dev-perl/Unicode-UTF8: adjust test count for 32-bit

Closes: https://bugs.gentoo.org/927591
Bug: https://bugs.gentoo.org/925365
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/Unicode-UTF8-0.620.0-32-bit.patch         | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/dev-perl/Unicode-UTF8/files/Unicode-UTF8-0.620.0-32-bit.patch 
b/dev-perl/Unicode-UTF8/files/Unicode-UTF8-0.620.0-32-bit.patch
index 9c243c9d106a..9eb0702c6abc 100644
--- a/dev-perl/Unicode-UTF8/files/Unicode-UTF8-0.620.0-32-bit.patch
+++ b/dev-perl/Unicode-UTF8/files/Unicode-UTF8-0.620.0-32-bit.patch
@@ -50,3 +50,24 @@ Subject: [PATCH 2/2] fixup! Fix 080_super.t for 32-bit
              push @SUPER, $i;
          }
 
+--- a/t/080_super.t
++++ b/t/080_super.t
+@@ -5,10 +5,17 @@ use strict;
+ use warnings;
+ use lib 't';
+ 
+-use Test::More tests => 1537;
++use Test::More;
+ use Util       qw[throws_ok];
+ 
+ BEGIN {
++    if ($Config{ivsize} > 4) {
++        plan tests => 1537;
++    }
++    else {
++        plan tests => 1025;
++    }
++
+     use_ok('Unicode::UTF8', qw[ encode_utf8 ]);
+ }
+ 

Reply via email to