pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/apsfilter Fix shell portability



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7eefe80f5a33
branches:  trunk
changeset: 413348:7eefe80f5a33
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Mar 18 18:00:21 2020 +0000

description:
Fix shell portability

diffstat:

 print/apsfilter/distinfo               |   3 ++-
 print/apsfilter/patches/patch-SETUP.in |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 0037f7118ae2 -r 7eefe80f5a33 print/apsfilter/distinfo
--- a/print/apsfilter/distinfo  Wed Mar 18 17:59:51 2020 +0000
+++ b/print/apsfilter/distinfo  Wed Mar 18 18:00:21 2020 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.10 2015/11/04 01:01:31 agc Exp $
+$NetBSD: distinfo,v 1.11 2020/03/18 18:00:21 joerg Exp $
 
 SHA1 (apsfilter-7.2.8.tar.gz) = 2441c7c302b995dfc1a457f8ff695e4c32d3d8f1
 RMD160 (apsfilter-7.2.8.tar.gz) = 69f6cf26a2f47623ae3cd78746abc5ab9278da9c
 SHA512 (apsfilter-7.2.8.tar.gz) = 26f725fb9c60e795088d85bcae2066a4edf6e3935afd7f0f18d56195fb90558c6b16a692be3274b2e44bd0f63551fddf29581bd914f5a1387af8a46a15ce6f11
 Size (apsfilter-7.2.8.tar.gz) = 364413 bytes
+SHA1 (patch-SETUP.in) = d9ef241fafb670a2937a7a9ffc578e943120f287
 SHA1 (patch-aa) = f347ec24c662509791b9b0662bef60ce2afed46c
diff -r 0037f7118ae2 -r 7eefe80f5a33 print/apsfilter/patches/patch-SETUP.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/apsfilter/patches/patch-SETUP.in    Wed Mar 18 18:00:21 2020 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-SETUP.in,v 1.1 2020/03/18 18:00:22 joerg Exp $
+
+--- SETUP.in.orig      2020-03-18 14:18:09.577117262 +0000
++++ SETUP.in
+@@ -1021,7 +1021,7 @@ do_choose_resolution()
+           fi
+           ;;
+     esac
+-    if [ "$XRESOL" == "sound" ]; then
++    if [ "$XRESOL" = "sound" ]; then
+       RESOLUTION="sound"
+     else
+       RESOLUTION=${XRESOL}x${YRESOL}



Home | Main Index | Thread Index | Old Index