aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/wqy/files
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-04-20 17:43:12 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-04-20 17:43:12 +0000
commitd60f615ed0e2cd4e5b8b222540ab708e7f58457d (patch)
treea226e53879990739ff48085f14fd0b28f0a0fd20 /x11-fonts/wqy/files
parent872812f666673b95408c85a6573d4853d0e6c04e (diff)
downloadports-d60f615ed0e2cd4e5b8b222540ab708e7f58457d.tar.gz
ports-d60f615ed0e2cd4e5b8b222540ab708e7f58457d.zip
Fix build with Perl 5.21.1+
Omitting % and @ on hash and array names is no longer permitted Really old Perl let you omit the @ on array names and the % on hash names in some spots. This has issued a deprecation warning since Perl 5.0, and is no longer permitted. With hat: perl@ Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=384376
Diffstat (limited to 'x11-fonts/wqy/files')
-rw-r--r--x11-fonts/wqy/files/patch-wqy-unibit_bdfmerge.pl11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-fonts/wqy/files/patch-wqy-unibit_bdfmerge.pl b/x11-fonts/wqy/files/patch-wqy-unibit_bdfmerge.pl
new file mode 100644
index 000000000000..004879b4f84e
--- /dev/null
+++ b/x11-fonts/wqy/files/patch-wqy-unibit_bdfmerge.pl
@@ -0,0 +1,11 @@
+--- wqy-unibit/bdfmerge.pl.orig 2007-09-09 22:39:32 UTC
++++ wqy-unibit/bdfmerge.pl
+@@ -32,7 +32,7 @@ while(@ARGV>=1&& $ARGV[0]=~/^-{0,1}0[xX]
+ {
+ $startpos = hex($1);
+ $endpos=0;
+- $range=shift(ARGV);
++ $range=shift(@ARGV);
+ if($range=~/--0[xX]([0-9A-Fa-f]{0,6})/)
+ {
+ $endpos=hex($1);