pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/cgen



Module Name:    pkgsrc
Committed By:   joerg
Date:           Thu Mar 26 21:49:01 UTC 2020

Modified Files:
        pkgsrc/devel/cgen: distinfo
Added Files:
        pkgsrc/devel/cgen/patches: patch-cgen_testsuite_test-utils.sh.in

Log Message:
Fix portability


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/cgen/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/cgen/patches/patch-cgen_testsuite_test-utils.sh.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/cgen/distinfo
diff -u pkgsrc/devel/cgen/distinfo:1.2 pkgsrc/devel/cgen/distinfo:1.3
--- pkgsrc/devel/cgen/distinfo:1.2      Tue Nov  3 03:27:18 2015
+++ pkgsrc/devel/cgen/distinfo  Thu Mar 26 21:49:01 2020
@@ -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 @@ SHA512 (cgen-20131001.tar.bz2) = dde7a4d
 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

Added files:

Index: pkgsrc/devel/cgen/patches/patch-cgen_testsuite_test-utils.sh.in
diff -u /dev/null pkgsrc/devel/cgen/patches/patch-cgen_testsuite_test-utils.sh.in:1.1
--- /dev/null   Thu Mar 26 21:49:01 2020
+++ pkgsrc/devel/cgen/patches/patch-cgen_testsuite_test-utils.sh.in     Thu Mar 26 21:49:01 2020
@@ -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