aboutsummaryrefslogtreecommitdiffstats
path: root/misc/mc
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2002-10-01 00:44:22 +0800
committerfjoe <fjoe@FreeBSD.org>2002-10-01 00:44:22 +0800
commit635b9369187ffc0178a316b757aa47c09850bb3f (patch)
treed6af72ea358a6a9e7c01cf079860255035f3415c /misc/mc
parent86b40107e021751dc7a9dd3160d7ec2547edd340 (diff)
downloadfreebsd-ports-gnome-635b9369187ffc0178a316b757aa47c09850bb3f.tar.gz
freebsd-ports-gnome-635b9369187ffc0178a316b757aa47c09850bb3f.tar.zst
freebsd-ports-gnome-635b9369187ffc0178a316b757aa47c09850bb3f.zip
fix syntax error in generated ~/.cedit/Syntax (line 36)
PR: 43289 Approved by: portmgr Obtained from: mc-4.6.0-pre1
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",