diff options
author | joerg <joerg@pkgsrc.org> | 2012-12-19 16:00:21 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-12-19 16:00:21 +0000 |
commit | e166ba511a331a0073342c15b119721f95bc858f (patch) | |
tree | 94db530dcb27447a1d73e263f62546e1848dd0d8 /sysutils | |
parent | f9eee8d70a99f5bef90655c4ae69d0ba715a3e03 (diff) | |
download | pkgsrc-e166ba511a331a0073342c15b119721f95bc858f.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/Makefile | 4 | ||||
-rw-r--r-- | sysutils/mc/distinfo | 3 | ||||
-rw-r--r-- | sysutils/mc/patches/patch-src_editor_syntax.c | 13 |
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) |