summaryrefslogtreecommitdiff
path: root/misc/mc/files/patch-gtkedit::syntax.c
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2002-09-30 16:44:22 +0000
committerMax Khon <fjoe@FreeBSD.org>2002-09-30 16:44:22 +0000
commit3ea7124fc49a85032417610da75bc12445a3cd70 (patch)
tree9b6fc8f5173774b3082b738e4ab14d8251fb4f0c /misc/mc/files/patch-gtkedit::syntax.c
parentFix the bugs and buglets which were causing warnings on -stable and (diff)
fix syntax error in generated ~/.cedit/Syntax (line 36)
PR: 43289 Approved by: portmgr Obtained from: mc-4.6.0-pre1
Diffstat (limited to '')
-rw-r--r--misc/mc/files/patch-gtkedit::syntax.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/mc/files/patch-gtkedit::syntax.c b/misc/mc/files/patch-gtkedit::syntax.c
new file mode 100644
index 000000000000..11d416637703
--- /dev/null
+++ b/misc/mc/files/patch-gtkedit::syntax.c
@@ -0,0 +1,11 @@
+--- gtkedit/syntax.c.orig Sun Sep 29 16:55:01 2002
++++ gtkedit/syntax.c Sun Sep 29 16:55:06 2002
+@@ -1211,7 +1211,7 @@
+ "file ..\\*\\\\.lsm$ LSM\\sFile",
+ "include lsm.syntax",
+ "",
+-"file ..\\*\\\\.sh$ Shell\\sScript ^#!\\s\\*/.\\*/(k|ba||pdk|z)sh",
++"file ..\\*\\\\.sh$ Shell\\sScript ^#!\\s\\*/.\\*/([a-z]?|ba|pdk)sh",
+ "include sh.syntax",
+ "",
+ "file ..\\*\\\\.(pl|PL|pm|PM])$ Perl\\sProgram ^#!\\s\\*/.\\*/perl",