From b88df25466aaec8b821b8a59b139a62ba2517030 Mon Sep 17 00:00:00 2001 From: markd Date: Wed, 30 Mar 2016 05:33:00 +0000 Subject: minimal fix for use with perl 5.22. bump PKGREVISION. --- print/p5-biblatex-biber/Makefile | 4 ++-- print/p5-biblatex-biber/distinfo | 3 ++- .../patches/patch-lib_Biber_LaTeX_Recode.pm | 24 ++++++++++++++++++++++ 3 files changed, 28 insertions(+), 3 deletions(-) create mode 100644 print/p5-biblatex-biber/patches/patch-lib_Biber_LaTeX_Recode.pm (limited to 'print/p5-biblatex-biber') diff --git a/print/p5-biblatex-biber/Makefile b/print/p5-biblatex-biber/Makefile index b91d9098362..98edf62b9c3 100644 --- a/print/p5-biblatex-biber/Makefile +++ b/print/p5-biblatex-biber/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.13 2015/07/12 18:56:27 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2016/03/30 05:33:00 markd Exp $ VER= 1.9 DISTNAME= biblatex-biber PKGNAME= p5-biblatex-biber-${VER} -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= print MASTER_SITES= http://sourceforge.net/projects/biblatex-biber/files/biblatex-biber/${VER}/ diff --git a/print/p5-biblatex-biber/distinfo b/print/p5-biblatex-biber/distinfo index 8707e88933a..58ad2ad48c6 100644 --- a/print/p5-biblatex-biber/distinfo +++ b/print/p5-biblatex-biber/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.3 2015/11/04 01:01:36 agc Exp $ +$NetBSD: distinfo,v 1.4 2016/03/30 05:33:00 markd Exp $ SHA1 (biblatex-biber-1.9/biblatex-biber.tar.gz) = cbdcf96c40ec38817576f5ea6e3457e7d9e9b703 RMD160 (biblatex-biber-1.9/biblatex-biber.tar.gz) = 1c8c597703f2f76f8d94ef6534cc450fae652d29 SHA512 (biblatex-biber-1.9/biblatex-biber.tar.gz) = 6d88ccf2bae4c498f1ee154e57c9098751a6ef9e7e6ea75f511777c004c66dd2295f94f37fb1e9137d9cd5ebae040926005bf68e568718fdd5c04508b619bfd9 Size (biblatex-biber-1.9/biblatex-biber.tar.gz) = 2049168 bytes +SHA1 (patch-lib_Biber_LaTeX_Recode.pm) = cd8026d7b2f071241663dd91c9ffb2ad9eee5fe6 diff --git a/print/p5-biblatex-biber/patches/patch-lib_Biber_LaTeX_Recode.pm b/print/p5-biblatex-biber/patches/patch-lib_Biber_LaTeX_Recode.pm new file mode 100644 index 00000000000..5250c7c394c --- /dev/null +++ b/print/p5-biblatex-biber/patches/patch-lib_Biber_LaTeX_Recode.pm @@ -0,0 +1,24 @@ +$NetBSD: patch-lib_Biber_LaTeX_Recode.pm,v 1.1 2016/03/30 05:33:00 markd Exp $ + +Work with perl 5.22 + +--- lib/Biber/LaTeX/Recode.pm.orig 2014-06-26 07:25:09.000000000 +0000 ++++ lib/Biber/LaTeX/Recode.pm +@@ -5,6 +5,8 @@ use warnings; + use base qw(Exporter); + use Biber::Config; + use Encode; ++use File::Slurp; ++use File::Spec; + use IPC::Cmd qw( can_run ); + use IPC::Run3; # This works with PAR::Packer and Windows. IPC::Run doesn't + use Unicode::Normalize; +@@ -261,7 +263,7 @@ sub latex_decode { + $text =~ s/\\textsuperscript{\\($re)}/$map->{$1}/ge if $re; + } + elsif ($type eq 'dings') { +- $text =~ s/\\ding{([2-9AF][0-9A-F])}/$map->{$1}/ge; ++ $text =~ s/\\ding\{([2-9AF][0-9A-F])\}/$map->{$1}/ge; + } + elsif ($type eq 'letters') { + $text =~ s/\\($re)(?: \{\}|\s+|\b)/$map->{$1}/gxe; -- cgit v1.2.3