From c223b5ff9f9b674ffd1bc8c4955766482b370a69 Mon Sep 17 00:00:00 2001 From: dkwo Date: Wed, 20 Mar 2024 19:12:44 -0400 Subject: [PATCH] biber: update to 2.19 --- .../patches/0001-Adapt_to_Perl_5.36.patch | 40 ------------------- srcpkgs/biber/template | 7 ++-- 2 files changed, 3 insertions(+), 44 deletions(-) delete mode 100644 srcpkgs/biber/patches/0001-Adapt_to_Perl_5.36.patch diff --git a/srcpkgs/biber/patches/0001-Adapt_to_Perl_5.36.patch b/srcpkgs/biber/patches/0001-Adapt_to_Perl_5.36.patch deleted file mode 100644 index 895813c1f29cd3..00000000000000 --- a/srcpkgs/biber/patches/0001-Adapt_to_Perl_5.36.patch +++ /dev/null @@ -1,40 +0,0 @@ -From d9e961710074d266ad6bdf395c98868d91952088 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= -Date: Wed, 25 May 2022 12:41:59 +0200 -Subject: [PATCH] Adapt to Perl 5.36 - -A developmental release of Perl 5.36.0 fails to run tests with: - - $ perl -Ilib t/basic-misc.t - 1..72 - Can't modify undef operator in scalar assignment at lib/Biber/Section.pm line 433, near "undef;" - Compilation failed in require at lib/Biber.pm line 24. - BEGIN failed--compilation aborted at lib/Biber.pm line 24. - Compilation failed in require at t/basic-misc.t line 11. - BEGIN failed--compilation aborted at t/basic-misc.t line 11. - # Looks like your test exited with 255 before it could output anything. - -This is because of a missing semicolon between commands in -del_everykeys(). The new perl is more strict and raises a compile-time -error: - - $ perl -e '$a = undef $b = undef;' - Can't modify undef operator in scalar assignment at -e line 1, near "undef;" - Execution of -e aborted due to compilation errors. ---- - lib/Biber/Section.pm | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/Biber/Section.pm b/lib/Biber/Section.pm -index 03ed69a51..a78942f57 100644 ---- a/lib/Biber/Section.pm -+++ b/lib/Biber/Section.pm -@@ -429,7 +429,7 @@ sub add_everykey { - - sub del_everykeys { - my $self = shift; -- $self->{everykey} = undef -+ $self->{everykey} = undef; - $self->{everykey_lc} = undef; - return; - } diff --git a/srcpkgs/biber/template b/srcpkgs/biber/template index 4389e0d474c3e2..63ba6c98e0d4e6 100644 --- a/srcpkgs/biber/template +++ b/srcpkgs/biber/template @@ -1,8 +1,7 @@ # Template file for 'biber' pkgname=biber -reverts="2.18_1" -version=2.16 -revision=3 +version=2.19 +revision=1 build_style=perl-ModuleBuild hostmakedepends="perl-Module-Build" makedepends="perl-ExtUtils-LibBuilder" @@ -54,4 +53,4 @@ license="Artistic-2.0" homepage="http://biblatex-biber.sourceforge.net" changelog="https://raw.githubusercontent.com/plk/biber/dev/Changes" distfiles="https://github.com/plk/biber/archive/v${version}.tar.gz" -checksum=57111ebc6d0d1933e55d3fe1a92f8ef57c602388ae83598a8073c8a77fd811e2 +checksum=1c1266bc8adb1637c4c59e23c47d919c5a38da4e53544a3c22c21de4a68fc9fe