Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/shells/mksh/patches undo previous. Apparently one does...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/28394625b8db
branches:  trunk
changeset: 436476:28394625b8db
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Mon Aug 03 15:16:04 2020 +0000

description:
undo previous. Apparently one doesn't patch this in the normal way.

diffstat:

 shells/mksh/patches/patch-Build.sh |  42 --------------------------------------
 1 files changed, 0 insertions(+), 42 deletions(-)

diffs (46 lines):

diff -r 09cbd720c314 -r 28394625b8db shells/mksh/patches/patch-Build.sh
--- a/shells/mksh/patches/patch-Build.sh        Mon Aug 03 15:13:55 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-$NetBSD: patch-Build.sh,v 1.1 2020/08/03 15:13:55 tnn Exp $
-
-remove double brackets
-
---- Build.sh.orig      2020-08-03 15:12:31.960450602 +0000
-+++ Build.sh
-@@ -2520,7 +2520,7 @@ cat >test.sh <<-EOF
-       for y in "\${check_categories[@]}"; do
-               x=\$x,\$y
-       done
--      if [[ -n \$x ]]; then
-+      if [ -n \$x ]; then
-               args[\${#args[*]}]=-C
-               args[\${#args[*]}]=\${x#,}
-       fi
-@@ -2539,7 +2539,7 @@ cat >test.sh <<-EOF
-       fi
-       (( vflag )) && args[\${#args[*]}]=-v
-       (( xflag )) && args[\${#args[*]}]=-x    # force usage by synerr
--      if [[ -n \$TMPDIR && -d \$TMPDIR/. ]]; then
-+      if [ -n \$TMPDIR && -d \$TMPDIR/. ]; then
-               args[\${#args[*]}]=-T
-               args[\${#args[*]}]=\$TMPDIR
-       fi
-@@ -2550,7 +2550,7 @@ cat >test.sh <<-EOF
-       cstr='\$os = defined \$^O ? \$^O : "unknown";'
-       cstr="\$cstr"'print \$os . ", Perl version " . \$];'
-       for perli in \$PERL perl5 perl no; do
--              if [[ \$perli = no ]]; then
-+              if [ \$perli = no ]; then
-                       print Cannot find a working Perl interpreter, aborting.
-                       exit 1
-               fi
-@@ -2562,7 +2562,7 @@ cat >test.sh <<-EOF
-                       print "=> not using"
-                       continue
-               fi
--              if [[ -n \$perlos ]]; then
-+              if [ -n \$perlos ]; then
-                       print "=> using it"
-                       break
-               fi



Home | Main Index | Thread Index | Old Index