pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/cgen Fix portability
details: https://anonhg.NetBSD.org/pkgsrc/rev/c93ede16e05b
branches: trunk
changeset: 426147:c93ede16e05b
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Mar 26 21:49:01 2020 +0000
description:
Fix portability
diffstat:
devel/cgen/distinfo | 3 +-
devel/cgen/patches/patch-cgen_testsuite_test-utils.sh.in | 22 ++++++++++++++++
2 files changed, 24 insertions(+), 1 deletions(-)
diffs (40 lines):
diff -r 95d3e9074b5b -r c93ede16e05b devel/cgen/distinfo
--- a/devel/cgen/distinfo Thu Mar 26 21:48:41 2020 +0000
+++ b/devel/cgen/distinfo Thu Mar 26 21:49:01 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 03:27:18 agc Exp $
+$NetBSD: distinfo,v 1.3 2020/03/26 21:49:01 joerg Exp $
SHA1 (cgen-20131001.tar.bz2) = f456bd2c2a9a28871c99c6261c5d0fed02b15de3
RMD160 (cgen-20131001.tar.bz2) = 5fca888ddc4ec8768de553e8a907c69aeb9256f2
@@ -6,3 +6,4 @@
Size (cgen-20131001.tar.bz2) = 1631519 bytes
SHA1 (patch-cgen_gen-all) = b1729f27fd9a8d7a8a6afca0acd6608297efe19b
SHA1 (patch-cgen_testsuite_run-tests.sh) = 69d513dd93a3369506ea47a98c1c30455f0f3343
+SHA1 (patch-cgen_testsuite_test-utils.sh.in) = 39ce38cd4583215bde180704140e560bc7b378f3
diff -r 95d3e9074b5b -r c93ede16e05b devel/cgen/patches/patch-cgen_testsuite_test-utils.sh.in
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cgen/patches/patch-cgen_testsuite_test-utils.sh.in Thu Mar 26 21:49:01 2020 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-cgen_testsuite_test-utils.sh.in,v 1.1 2020/03/26 21:49:01 joerg Exp $
+
+--- cgen/testsuite/test-utils.sh.in.orig 2020-03-26 12:01:56.216889008 +0000
++++ cgen/testsuite/test-utils.sh.in
+@@ -1,7 +1,7 @@
+ # Define various parameters for use in test runs.
+ # Requires $test to be defined before sourcing.
+
+-if [ "${test}" == "" ]
++if [ "${test}" = "" ]
+ then
+ echo "\$test not defined" >&2
+ exit 1
+@@ -37,7 +37,7 @@ exit_code=0
+
+ run_cgen() {
+ expect_fail=false
+- [ "$1" == "-f" ] && { expect_fail=true ; shift ; }
++ [ "$1" = "-f" ] && { expect_fail=true ; shift ; }
+
+ [ $# -ne 1 ] && { echo "missing cpu_file" >&2 ; exit 1 ; }
+ cpu_file=$1
Home |
Main Index |
Thread Index |
Old Index