diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2023-03-21 16:32:14 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2023-03-31 05:35:55 +0000 |
commit | ed3615dc540d23f3dabf763648160696ce202f45 (patch) | |
tree | f29ba63da0ee666185ffd70c8f0ded1ff59c4649 /user/perl-type-tiny | |
parent | 1060ee5eceaa0bd6b6fb7897edc4871d14f2f970 (diff) | |
download | packages-ed3615dc540d23f3dabf763648160696ce202f45.tar.gz packages-ed3615dc540d23f3dabf763648160696ce202f45.tar.bz2 packages-ed3615dc540d23f3dabf763648160696ce202f45.tar.xz packages-ed3615dc540d23f3dabf763648160696ce202f45.zip |
user/perl-type-tiny: upgrade to 2.002001
Diffstat (limited to 'user/perl-type-tiny')
-rw-r--r-- | user/perl-type-tiny/APKBUILD | 11 | ||||
-rw-r--r-- | user/perl-type-tiny/fix-32-bit-regression.patch | 35 |
2 files changed, 4 insertions, 42 deletions
diff --git a/user/perl-type-tiny/APKBUILD b/user/perl-type-tiny/APKBUILD index 9f8417c03..9b51ffa15 100644 --- a/user/perl-type-tiny/APKBUILD +++ b/user/perl-type-tiny/APKBUILD @@ -5,8 +5,8 @@ _pkgreal=Type-Tiny _author=TOBYINK _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} -pkgver=2.000001 -pkgrel=1 +pkgver=2.002001 +pkgrel=0 pkgdesc="Tiny Moo(se) compatible type constraint" url="https://metacpan.org/release/Type-Tiny" arch="noarch" @@ -14,9 +14,7 @@ license="Artistic-1.0-Perl OR GPL-1.0+" depends="perl perl-exporter-tiny" makedepends="perl-dev" subpackages="$pkgname-doc" -source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz - fix-32-bit-regression.patch - " +source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { @@ -33,5 +31,4 @@ package() { find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -sha512sums="0805b9de9728883a03078adfc0f499b66a4d715481ac0df7c6fdead2d898116730bf231e5bb7091b0a7096166a8aa8dde2040fa42357fd62904800d20453690e Type-Tiny-2.000001.tar.gz -da709a491b3ed659bd2b0b26555447e8b4508592c390c848395a376a977489fcb9c8805cc45f2e44235d9d609516a212d53312a7757252a8cbf87da5a85f5f6f fix-32-bit-regression.patch" +sha512sums="a0c507e0dfbfdb0416a123fbe65a39603028e5d71dfdd2d66290309e6e4818c4d996dcfddccb898a9cc37dbbe19dafea342b246b28e2539475e30cef276e1a49 Type-Tiny-2.002001.tar.gz" diff --git a/user/perl-type-tiny/fix-32-bit-regression.patch b/user/perl-type-tiny/fix-32-bit-regression.patch deleted file mode 100644 index 4819b1b5f..000000000 --- a/user/perl-type-tiny/fix-32-bit-regression.patch +++ /dev/null @@ -1,35 +0,0 @@ -Upstream: https://github.com/tobyink/p5-type-tiny/issues/128 - -From 98304a7a34bff67c2b3d36b089f31f3585cc7455 Mon Sep 17 00:00:00 2001 -From: Toby Inkster <mail@tobyinkster.co.uk> -Date: Fri, 20 Jan 2023 11:14:37 +0000 -Subject: [PATCH] Bug fix - ---- - lib/Type/Tie.pm | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -diff --git a/lib/Type/Tie.pm b/lib/Type/Tie.pm -index 45b5ec35..61291503 100644 ---- a/lib/Type/Tie.pm -+++ b/lib/Type/Tie.pm -@@ -144,17 +144,16 @@ use Scalar::Util (); - $tmp_clone_types{$refaddr} ||= [ $type, 0 ]; - ++$tmp_clone_types{$refaddr}[1]; - -- return ( pack( 'j', $refaddr ), $o->_REF ); -+ return ( $refaddr, $o->_REF ); - } - - sub STORABLE_thaw { -- my ( $o, $cloning, $packedRefaddr, $o2 ) = @_; -+ my ( $o, $cloning, $refaddr, $o2 ) = @_; - Carp::croak( "Storable::thaw only supported for dclone-ing" ) - unless $cloning; - - $o->_THAW( $o2 ); # implement in child classes - -- my $refaddr = unpack( 'j', $packedRefaddr ); - my $type = $tmp_clone_types{$refaddr}[0]; - --$tmp_clone_types{$refaddr}[1] - or delete $tmp_clone_types{$refaddr}; |