CPAN author MLEHMANN ignores Perl versions newer than 5.22, so

disable Perl feature signatures in patch.  Take maintainer.
This commit is contained in:
bluhm
2024-12-24 16:13:47 +00:00
parent 72f2025f7c
commit 870cabe3c2
8 changed files with 83 additions and 28 deletions
+1
View File
@@ -1,6 +1,7 @@
COMMENT = concise binary object representation COMMENT = concise binary object representation
DISTNAME = CBOR-XS-1.87 DISTNAME = CBOR-XS-1.87
REVISION = 0
CPAN_AUTHOR = MLEHMANN CPAN_AUTHOR = MLEHMANN
CATEGORIES = converters CATEGORIES = converters
+13
View File
@@ -0,0 +1,13 @@
MLEHMANN ignores Perl newer than 5.22, disable feature signatures
Index: XS.pm
--- XS.pm.orig
+++ XS.pm
@@ -64,6 +64,7 @@ vice versa.
package CBOR::XS;
+no feature 'signatures';
use common::sense;
our $VERSION = 1.87;
+10 -5
View File
@@ -2,17 +2,22 @@ COMMENT = JSON serialising/deserialising, done correctly and fast
DISTNAME = JSON-XS-4.03 DISTNAME = JSON-XS-4.03
EPOCH = 1 EPOCH = 1
REVISION = 0
CPAN_AUTHOR = MLEHMANN
CATEGORIES = converters CATEGORIES = converters
MAINTAINER = Alexander Bluhm <bluhm@openbsd.org>
# Perl # Perl
PERMIT_PACKAGE = Yes PERMIT_PACKAGE = Yes
WANTLIB += c perl WANTLIB = c perl
MODULES = cpan MODULES = cpan
BUILD_DEPENDS = devel/p5-Canary-Stability BUILD_DEPENDS = devel/p5-Canary-Stability
RUN_DEPENDS = converters/p5-Types-Serialiser \ RUN_DEPENDS = converters/p5-Types-Serialiser \
devel/p5-common-sense devel/p5-common-sense
.include <bsd.port.mk> .include <bsd.port.mk>
+13
View File
@@ -0,0 +1,13 @@
MLEHMANN ignores Perl newer than 5.22, disable feature signatures
Index: XS.pm
--- XS.pm.orig
+++ XS.pm
@@ -87,6 +87,7 @@ stuff). Or you can combine those features in whatever
package JSON::XS;
+no feature 'signatures';
use common::sense;
our $VERSION = '4.03';
+9 -4
View File
@@ -1,15 +1,20 @@
COMMENT = simple data types for common serialisation formats COMMENT = simple data types for common serialisation formats
MODULES = cpan
PKG_ARCH = *
DISTNAME = Types-Serialiser-1.01 DISTNAME = Types-Serialiser-1.01
REVISION = 0
CPAN_AUTHOR = MLEHMANN
CATEGORIES = converters CATEGORIES = converters
CPAN_AUTHOR = MLEHMANN MAINTAINER = Alexander Bluhm <bluhm@openbsd.org>
# Perl # Perl
PERMIT_PACKAGE = Yes PERMIT_PACKAGE = Yes
RUN_DEPENDS = devel/p5-common-sense MODULES = cpan
RUN_DEPENDS = devel/p5-common-sense
PKG_ARCH = *
.include <bsd.port.mk> .include <bsd.port.mk>
@@ -0,0 +1,13 @@
MLEHMANN ignores Perl newer than 5.22, disable feature signatures
Index: Serialiser.pm
--- Serialiser.pm.orig
+++ Serialiser.pm
@@ -17,6 +17,7 @@ different implementations so they become interoperable
package Types::Serialiser;
+no feature 'signatures';
use common::sense; # required to suppress annoying warnings
our $VERSION = '1.01';
+4
View File
@@ -1,9 +1,13 @@
COMMENT = asynchronous Input/Output COMMENT = asynchronous Input/Output
DISTNAME = IO-AIO-4.81 DISTNAME = IO-AIO-4.81
REVISION = 0
CPAN_AUTHOR = MLEHMANN
CATEGORIES = devel CATEGORIES = devel
MAINTAINER = Alexander Bluhm <bluhm@openbsd.org>
# Perl # Perl
PERMIT_PACKAGE = Yes PERMIT_PACKAGE = Yes
+20 -19
View File
@@ -1,3 +1,5 @@
MLEHMANN ignores Perl newer than 5.22, disable feature signatures
indirect method invocation is deprecated indirect method invocation is deprecated
Index: AIO.pm Index: AIO.pm
@@ -12,16 +14,15 @@ Index: AIO.pm
=head1 DESCRIPTION =head1 DESCRIPTION
@@ -166,6 +166,8 @@ result in a runtime error). @@ -168,6 +168,7 @@ package IO::AIO;
package IO::AIO;
+no feature 'signatures';
+
use Carp (); use Carp ();
+no feature 'signatures';
use common::sense; use common::sense;
@@ -931,15 +933,15 @@ sub aio_load($$;$) {
use base 'Exporter';
@@ -931,15 +932,15 @@ sub aio_load($$;$) {
my $grp = aio_group $cb; my $grp = aio_group $cb;
aioreq_pri $pri; aioreq_pri $pri;
@@ -41,7 +42,7 @@ Index: AIO.pm
$grp $grp
} }
@@ -970,62 +972,62 @@ sub aio_copy($$;$) { @@ -970,62 +971,62 @@ sub aio_copy($$;$) {
my $grp = aio_group $cb; my $grp = aio_group $cb;
aioreq_pri $pri; aioreq_pri $pri;
@@ -120,7 +121,7 @@ Index: AIO.pm
$grp $grp
} }
@@ -1049,21 +1051,21 @@ sub aio_move($$;$) { @@ -1049,21 +1050,21 @@ sub aio_move($$;$) {
my $grp = aio_group $cb; my $grp = aio_group $cb;
aioreq_pri $pri; aioreq_pri $pri;
@@ -147,7 +148,7 @@ Index: AIO.pm
$grp $grp
} }
@@ -1137,7 +1139,7 @@ sub aio_scandir($$;$) { @@ -1137,7 +1138,7 @@ sub aio_scandir($$;$) {
# get a wd object # get a wd object
aioreq_pri $pri; aioreq_pri $pri;
@@ -156,7 +157,7 @@ Index: AIO.pm
$_[0] $_[0]
or return $grp->result (); or return $grp->result ();
@@ -1145,7 +1147,7 @@ sub aio_scandir($$;$) { @@ -1145,7 +1146,7 @@ sub aio_scandir($$;$) {
# stat once # stat once
aioreq_pri $pri; aioreq_pri $pri;
@@ -165,7 +166,7 @@ Index: AIO.pm
return $grp->result () if $_[0]; return $grp->result () if $_[0];
my $now = time; my $now = time;
my $hash1 = join ":", (stat _)[0,1,3,7,9]; my $hash1 = join ":", (stat _)[0,1,3,7,9];
@@ -1160,7 +1162,7 @@ sub aio_scandir($$;$) { @@ -1160,7 +1161,7 @@ sub aio_scandir($$;$) {
# read the directory entries # read the directory entries
aioreq_pri $pri; aioreq_pri $pri;
@@ -174,7 +175,7 @@ Index: AIO.pm
my ($entries, $flags) = @_ my ($entries, $flags) = @_
or return $grp->result (); or return $grp->result ();
@@ -1214,7 +1216,7 @@ sub aio_scandir($$;$) { @@ -1214,7 +1215,7 @@ sub aio_scandir($$;$) {
# stat the dir another time # stat the dir another time
aioreq_pri $pri; aioreq_pri $pri;
@@ -183,7 +184,7 @@ Index: AIO.pm
my $hash2 = join ":", (stat _)[0,1,3,7,9]; my $hash2 = join ":", (stat _)[0,1,3,7,9];
my $ndirs; my $ndirs;
@@ -1231,43 +1233,43 @@ sub aio_scandir($$;$) { @@ -1231,43 +1232,43 @@ sub aio_scandir($$;$) {
my (@dirs, @nondirs); my (@dirs, @nondirs);
@@ -241,7 +242,7 @@ Index: AIO.pm
$grp $grp
} }
@@ -1289,20 +1291,20 @@ sub aio_rmtree($;$) { @@ -1289,20 +1290,20 @@ sub aio_rmtree($;$) {
my $grp = aio_group $cb; my $grp = aio_group $cb;
aioreq_pri $pri; aioreq_pri $pri;
@@ -269,7 +270,7 @@ Index: AIO.pm
$grp $grp
} }
@@ -1419,20 +1421,20 @@ sub aio_pathsync($;$) { @@ -1419,20 +1420,20 @@ sub aio_pathsync($;$) {
my $grp = aio_group $cb; my $grp = aio_group $cb;
aioreq_pri $pri; aioreq_pri $pri;
@@ -295,7 +296,7 @@ Index: AIO.pm
$grp $grp
} }
@@ -1568,7 +1570,7 @@ Example: @@ -1568,7 +1569,7 @@ Example:
print "all stats done\n"; print "all stats done\n";
}; };
@@ -304,7 +305,7 @@ Index: AIO.pm
(aio_stat ...), (aio_stat ...),
(aio_stat ...), (aio_stat ...),
...; ...;
@@ -1766,14 +1768,14 @@ C<IO::AIO::REQ> objects: @@ -1766,14 +1767,14 @@ C<IO::AIO::REQ> objects:
$grp->add (aio_unlink "..."); $grp->add (aio_unlink "...");
@@ -323,7 +324,7 @@ Index: AIO.pm
This makes it very easy to create composite requests (see the source of This makes it very easy to create composite requests (see the source of
C<aio_move> for an application) that work and feel like simple requests. C<aio_move> for an application) that work and feel like simple requests.
@@ -1808,6 +1810,8 @@ finished will the the group itself finish. @@ -1808,6 +1809,8 @@ finished will the the group itself finish.
=item add $grp ... =item add $grp ...
@@ -332,7 +333,7 @@ Index: AIO.pm
=item $grp->add (...) =item $grp->add (...)
Add one or more requests to the group. Any type of L<IO::AIO::REQ> can Add one or more requests to the group. Any type of L<IO::AIO::REQ> can
@@ -1877,7 +1881,7 @@ Example: @@ -1877,7 +1880,7 @@ Example:
my $file = pop @files my $file = pop @files
or return; or return;