pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/ja-a2ps 1. adapt perl 5.22 or later, 2. silence ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0027d879cad8
branches: trunk
changeset: 400213:0027d879cad8
user: mef <mef%pkgsrc.org@localhost>
date: Sat Aug 24 11:31:02 2019 +0000
description:
1. adapt perl 5.22 or later, 2. silence pkglint 3. MAINTAINER conversion
1. add patch-ac, to adapt perl-5.22 or later change
Can't use 'defined(@array)' (Maybe you should just omit the defined()?)
Sorry separated patch for one file,
2. Add DEPENDS= nkf to process Japanese document
3. move LICENSE= line to meet pkglint rule
4. convert MAINTAINER to pkgsrc-users
5. PKGREVISION++
diffstat:
print/ja-a2ps/Makefile | 12 +++++++-----
print/ja-a2ps/distinfo | 3 ++-
print/ja-a2ps/patches/patch-ac | 16 ++++++++++++++++
3 files changed, 25 insertions(+), 6 deletions(-)
diffs (61 lines):
diff -r 6efaead3121e -r 0027d879cad8 print/ja-a2ps/Makefile
--- a/print/ja-a2ps/Makefile Sat Aug 24 11:14:04 2019 +0000
+++ b/print/ja-a2ps/Makefile Sat Aug 24 11:31:02 2019 +0000
@@ -1,16 +1,18 @@
-# $NetBSD: Makefile,v 1.21 2019/08/11 13:22:40 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2019/08/24 11:31:02 mef Exp $
DISTNAME= a2ps.pl-1.45
PKGNAME= ja-a2ps-1.45
-PKGREVISION= 8
+PKGREVISION= 9
CATEGORIES= japanese print
MASTER_SITES= ftp://ftp.sra.co.jp/pub/lang/perl/sra-scripts/
EXTRACT_SUFX= # None
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+#HOMEPAGE= http://www.srekcah.org/~utashiro/perl/scripts/a2ps_pl/
+COMMENT= Text file to postscript converter (with Japanese support)
LICENSE= mit
-MAINTAINER= tech-pkg-ja%jp.NetBSD.org@localhost
-#HOMEPAGE= http://www.srekcah.org/~utashiro/perl/scripts/a2ps_pl/
-COMMENT= Text file to postscript converter (with Japanese support)
+DEPENDS+= nkf-[0-9]*:../../converters/nkf
WRKSRC= ${WRKDIR}
USE_TOOLS+= perl:run
diff -r 6efaead3121e -r 0027d879cad8 print/ja-a2ps/distinfo
--- a/print/ja-a2ps/distinfo Sat Aug 24 11:14:04 2019 +0000
+++ b/print/ja-a2ps/distinfo Sat Aug 24 11:31:02 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2015/11/04 01:01:34 agc Exp $
+$NetBSD: distinfo,v 1.7 2019/08/24 11:31:02 mef Exp $
SHA1 (a2ps.pl-1.45) = 1a938099322767bced3eae525426b80164584d8c
RMD160 (a2ps.pl-1.45) = 2599f86d4433afd3d0ed3490539d87995ce51dab
@@ -6,3 +6,4 @@
Size (a2ps.pl-1.45) = 27952 bytes
SHA1 (patch-aa) = 9d9310409aa4ba4f433e880dd940fc760cfae1b6
SHA1 (patch-ab) = 9a534d00d22391e68c3773bb32143e930168278a
+SHA1 (patch-ac) = 8278c6862daf0df5003793cad88bb838bbab503c
diff -r 6efaead3121e -r 0027d879cad8 print/ja-a2ps/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/ja-a2ps/patches/patch-ac Sat Aug 24 11:31:02 2019 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.1 2019/08/24 11:31:02 mef Exp $
+
+since perl 5.22:
+Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /usr/pkg/bin/a2ps-j.orig line 59.
+
+--- a2ps.pl-1.45~ 2019-08-24 20:18:20.724794175 +0900
++++ a2ps.pl-1.45 2019-08-24 20:18:54.685168725 +0900
+@@ -56,7 +56,7 @@
+ @param_b4 = (10.15, 14.31, 1.40, 1.2, 8.50, 9.5, 0.29, 0.22, 0.08, 'b4');
+ sub paper {
+ local(*param) = 'param_' . $_[0];
+- die "Unknown paper type: $_[0]\n" unless defined @param;
++ die "Unknown paper type: $_[0]\n" unless @param;
+ ($width, $height, $lmargin, $smargin, $fontsize_l, $fontsize_p,
+ $portrait_header, $landscape_header, $paper_adjust, $paper_tray) = @param;
+ }
Home |
Main Index |
Thread Index |
Old Index