summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjoerg <joerg>2012-12-19 16:00:21 +0000
committerjoerg <joerg>2012-12-19 16:00:21 +0000
commite170829271b50b7acb213fc3fe2afcc0628297c4 (patch)
tree94db530dcb27447a1d73e263f62546e1848dd0d8 /sysutils
parentb4cf592ced9261c36ae9348553299f8b699b0105 (diff)
downloadpkgsrc-e170829271b50b7acb213fc3fe2afcc0628297c4.tar.gz
Make sure that mc's editor looks in the right directory for the Syntax
file. Bump revision.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/mc/Makefile4
-rw-r--r--sysutils/mc/distinfo3
-rw-r--r--sysutils/mc/patches/patch-src_editor_syntax.c13
3 files changed, 17 insertions, 3 deletions
diff --git a/sysutils/mc/Makefile b/sysutils/mc/Makefile
index d47bca4594c..65f1da86c59 100644
--- a/sysutils/mc/Makefile
+++ b/sysutils/mc/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.91 2012/10/23 19:51:11 asau Exp $
+# $NetBSD: Makefile,v 1.92 2012/12/19 16:00:21 joerg Exp $
DISTNAME= mc-4.7.0.10
-PKGREVISION= 9
+PKGREVISION= 10
CATEGORIES= sysutils
MASTER_SITES= http://www.midnight-commander.org/downloads/
EXTRACT_SUFX= .tar.bz2
diff --git a/sysutils/mc/distinfo b/sysutils/mc/distinfo
index 391c44c359a..24235a80e28 100644
--- a/sysutils/mc/distinfo
+++ b/sysutils/mc/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21 2011/04/08 22:48:04 wiz Exp $
+$NetBSD: distinfo,v 1.22 2012/12/19 16:00:21 joerg Exp $
SHA1 (mc-4.7.0.10.tar.bz2) = 2bc13f963780eaddac2f675b9145656d759f974e
RMD160 (mc-4.7.0.10.tar.bz2) = 83a527a94a81f886eb7f80b8965554bf927cad65
@@ -10,3 +10,4 @@ SHA1 (patch-ad) = 4484b91511cf5bac73f4ae940988d46239e2cd95
SHA1 (patch-ae) = b25734f82e46a92eb2a6d6590b0f7524f63040b3
SHA1 (patch-af) = cff069eb20a5df7095805e800a141f8bb1d94c7d
SHA1 (patch-lib_fs.h) = 89bb61541e0312c4e74d48a8668583d0925d8b7a
+SHA1 (patch-src_editor_syntax.c) = 7e07b88df9c270f650268265bd599d781991a695
diff --git a/sysutils/mc/patches/patch-src_editor_syntax.c b/sysutils/mc/patches/patch-src_editor_syntax.c
new file mode 100644
index 00000000000..740368f93aa
--- /dev/null
+++ b/sysutils/mc/patches/patch-src_editor_syntax.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_editor_syntax.c,v 1.1 2012/12/19 16:00:21 joerg Exp $
+
+--- src/editor/syntax.c.orig 2012-12-19 14:04:18.000000000 +0000
++++ src/editor/syntax.c
+@@ -1079,7 +1079,7 @@ edit_read_syntax_file (WEdit * edit, cha
+
+ f = fopen (syntax_file, "r");
+ if (!f){
+- lib_file = concat_dir_and_file (mc_home, "Syntax");
++ lib_file = concat_dir_and_file (mc_home, "syntax" PATH_SEP_STR "Syntax");
+ f = fopen (lib_file, "r");
+ g_free (lib_file);
+ if (!f)