biber: removed old patch

This commit is contained in:
Tim Biermann 2024-05-21 00:11:08 +02:00
parent b70e006449
commit a7b23a51ba
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 3 additions and 45 deletions

View File

@ -1,6 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3/dK6s9R0kErhw3rcyF1z5aGf2uFFA5OFQnNnxEpXxGSSGnPivpcqFRsyW6td5PPcmg/tFEePAKi8myciOSkRwI=
SHA256 (Pkgfile) = 17c712ee6d452e690b2aa24b43cf3089f5c9bdf5a33085081795d08b4a646229
RWSagIOpLGJF36nagQYJd4Gp0oVwsBzvzYR97WinFKEmBq4mUQQQG4VosjlrzB8SkWa1VNh9Wo6HJh17qvt7GC38wNL5Hp9ufgE=
SHA256 (Pkgfile) = 845970388c6107db6df18681e2234e5b68e8d242677a5be8c3b9f677edf015a5
SHA256 (.footprint) = 9f5881d20498274226db0b107c3b8d21c80124a8f3fd6a85c88f05ad442fb5b9
SHA256 (biber-2.19.tar.gz) = 1c1266bc8adb1637c4c59e23c47d919c5a38da4e53544a3c22c21de4a68fc9fe
SHA256 (perl5.36.patch) = 9d40d6c346770bc509f4e251a17da652b21c5069168102d8117b2b5236f6918d

View File

@ -6,8 +6,7 @@
name=biber
version=2.19
release=1
source=(https://github.com/plk/biber/archive/v$version/$name-$version.tar.gz
perl5.36.patch)
source=(https://github.com/plk/biber/archive/v$version/$name-$version.tar.gz)
build() {
cd $name-$version

View File

@ -1,40 +0,0 @@
From d9e961710074d266ad6bdf395c98868d91952088 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
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;
}