summaryrefslogtreecommitdiff
path: root/misc/mc
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
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
Notes
Notes: svn path=/head/; revision=67271
Diffstat (limited to 'misc/mc')
-rw-r--r--misc/mc/Makefile2
-rw-r--r--misc/mc/files/patch-gtkedit::syntax.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/misc/mc/Makefile b/misc/mc/Makefile
index 91709324c6c6..5e441d4b794c 100644
--- a/misc/mc/Makefile
+++ b/misc/mc/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= mc
PORTVERSION= 4.5.55
-PORTREVISION?= 3
+PORTREVISION?= 4
CATEGORIES?= misc
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/mc/4.5
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",