pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/converters/txt2man txt2man: shell portability
details: https://anonhg.NetBSD.org/pkgsrc/rev/c920af3422c0
branches: trunk
changeset: 377971:c920af3422c0
user: tnn <tnn%pkgsrc.org@localhost>
date: Mon Apr 25 21:56:59 2022 +0000
description:
txt2man: shell portability
diffstat:
converters/txt2man/distinfo | 3 ++-
converters/txt2man/patches/patch-bookman | 18 ++++++++++++++++++
2 files changed, 20 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r 2e3e23ea875d -r c920af3422c0 converters/txt2man/distinfo
--- a/converters/txt2man/distinfo Mon Apr 25 21:46:49 2022 +0000
+++ b/converters/txt2man/distinfo Mon Apr 25 21:56:59 2022 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.8 2021/10/26 10:06:53 nia Exp $
+$NetBSD: distinfo,v 1.9 2022/04/25 21:56:59 tnn Exp $
BLAKE2s (txt2man-1.5.6.tar.gz) = db45f3b53214ac2bba4fc2961e6fb9f988f53479b3dcd6803719a74f4a9a0663
SHA512 (txt2man-1.5.6.tar.gz) = dd1cb5a6385d75b459fb61c49e0b73e5cafa5af8b11d9b89e5c206a9c5b65e4daac4d0e768c28963aacde772b715cb11ed0e843e42397b2df894a1f68c70ca65
Size (txt2man-1.5.6.tar.gz) = 16293 bytes
SHA1 (patch-Makefile) = 89ad5ec47104cc7c0a563ea65b731ac3b0cdacd8
+SHA1 (patch-bookman) = 6b540f39fa811d6412792617666a6a1bd39df4f2
diff -r 2e3e23ea875d -r c920af3422c0 converters/txt2man/patches/patch-bookman
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/txt2man/patches/patch-bookman Mon Apr 25 21:56:59 2022 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-bookman,v 1.1 2022/04/25 21:56:59 tnn Exp $
+
+shell portability
+
+--- bookman.orig 2011-02-18 18:12:35.000000000 +0000
++++ bookman
+@@ -83,9 +83,9 @@ done
+ shift $(($OPTIND - 1))
+ date=${date:-$(date +'%d %B %Y')}
+
+-[[ $1 ]] || set -- $(while read; do echo $REPLY; done)
++[ $1 ] || set -- $(while read; do echo $REPLY; done)
+
+-[[ $outfile ]] && post="$post >$outfile"
++[ $outfile ] && post="$post >$outfile"
+
+ {
+ # Compute table of content from postscript output.
Home |
Main Index |
Thread Index |
Old Index