summaryrefslogtreecommitdiff
path: root/print/p5-biblatex-biber
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2016-03-30 05:33:00 +0000
committermarkd <markd@pkgsrc.org>2016-03-30 05:33:00 +0000
commitb88df25466aaec8b821b8a59b139a62ba2517030 (patch)
tree7ea2cb15d65cb8032607f10df2bf46d82031177d /print/p5-biblatex-biber
parent1a4431109148d8b694427fce725b43e4055668e4 (diff)
downloadpkgsrc-b88df25466aaec8b821b8a59b139a62ba2517030.tar.gz
minimal fix for use with perl 5.22. bump PKGREVISION.
Diffstat (limited to 'print/p5-biblatex-biber')
-rw-r--r--print/p5-biblatex-biber/Makefile4
-rw-r--r--print/p5-biblatex-biber/distinfo3
-rw-r--r--print/p5-biblatex-biber/patches/patch-lib_Biber_LaTeX_Recode.pm24
3 files changed, 28 insertions, 3 deletions
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;