summaryrefslogtreecommitdiff
path: root/dev-perl/Exception-Base/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-02 00:00:17 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-02 00:00:17 +0100
commitf5ef7f2371babf22c2c3fad17108692b09e4c98e (patch)
tree7f195ab30a74fa23e6dd24307d67d0890714d093 /dev-perl/Exception-Base/files
parent3d12b65aa1b4bb8b02b1f8d3e77bccf230b79a09 (diff)
gentoo auto-resync : 02:05:2024 - 00:00:17
Diffstat (limited to 'dev-perl/Exception-Base/files')
-rw-r--r--dev-perl/Exception-Base/files/Exception-Base-0.2501-perl-5.38.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-perl/Exception-Base/files/Exception-Base-0.2501-perl-5.38.patch b/dev-perl/Exception-Base/files/Exception-Base-0.2501-perl-5.38.patch
new file mode 100644
index 000000000000..64168cfa39a8
--- /dev/null
+++ b/dev-perl/Exception-Base/files/Exception-Base-0.2501-perl-5.38.patch
@@ -0,0 +1,15 @@
+https://bugs.gentoo.org/928246
+https://github.com/dex4er/perl-Exception-Base/issues/5
+
+--- a/t/tlib/Exception/BaseTest.pm
++++ b/t/tlib/Exception/BaseTest.pm
+@@ -569,7 +569,8 @@
+ $self->assert_matches(qr/String at /, $obj);
+
+ # smart matching for Perl 5.10
+- if ($] >= 5.010) {
++ # Deprecation warning added in 5.37.10
++ if ($] >= 5.010 && $] < 5.037010) {
+ no if $] >= 5.018, warnings => 'experimental::smartmatch';
+ eval q{
+ $self->assert_num_equals(1, 'String' ~~ $obj);