summaryrefslogtreecommitdiff
path: root/editors/emacs-snapshot/patches
diff options
context:
space:
mode:
authorminskim <minskim>2011-03-01 17:57:16 +0000
committerminskim <minskim>2011-03-01 17:57:16 +0000
commitf02d7aa1110db038f44c0a862ddaded770f7a89d (patch)
tree2e9a5fb5c6cc5f8533eaffb4b2050b0043799534 /editors/emacs-snapshot/patches
parent370ee6ad1c7139b91cf4b09eb05230d1de73c84a (diff)
downloadpkgsrc-f02d7aa1110db038f44c0a862ddaded770f7a89d.tar.gz
Add a patch for "==" in a shell script.
Diffstat (limited to 'editors/emacs-snapshot/patches')
-rw-r--r--editors/emacs-snapshot/patches/patch-ae16
1 files changed, 16 insertions, 0 deletions
diff --git a/editors/emacs-snapshot/patches/patch-ae b/editors/emacs-snapshot/patches/patch-ae
new file mode 100644
index 00000000000..e438b8c9f67
--- /dev/null
+++ b/editors/emacs-snapshot/patches/patch-ae
@@ -0,0 +1,16 @@
+$NetBSD: patch-ae,v 1.1 2011/03/01 17:57:16 minskim Exp $
+
+The "test" command, as well as the "[" command, are not required to know
+the "==" operator.
+
+--- test/indent/shell.sh.orig 2011-02-24 08:45:25.000000000 +0000
++++ test/indent/shell.sh
+@@ -70,7 +70,7 @@ help2
+ EOF2
+ }
+ bar () {
+- if [ $# == 0 ]; then
++ if [ $# = 0 ]; then
+ while
+ f # KNOWN INDENT BUG
+ do