diff options
author | dholland <dholland@pkgsrc.org> | 2011-12-19 00:52:09 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2011-12-19 00:52:09 +0000 |
commit | 965a648bec95cc8a1bd6deb4bb1b5678e7857356 (patch) | |
tree | d6dd5dc908e29701db28a917f1222b5c956604ba /editors | |
parent | 386de415343fd8312991bb0fe0121570ef1daf8b (diff) | |
download | pkgsrc-965a648bec95cc8a1bd6deb4bb1b5678e7857356.tar.gz |
Suppress a gcc warning that popped up in Joerg's build. While here,
fix some pkglint.
XXX: someone with the patience to wade through files with assorted
copyright headers should figure out the proper setting of LICENSE
for this package.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/mg/Makefile | 10 | ||||
-rw-r--r-- | editors/mg/distinfo | 4 | ||||
-rw-r--r-- | editors/mg/patches/patch-ad | 14 |
3 files changed, 20 insertions, 8 deletions
diff --git a/editors/mg/Makefile b/editors/mg/Makefile index c36125c8d63..e681e08ff7d 100644 --- a/editors/mg/Makefile +++ b/editors/mg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2009/08/15 23:14:58 minskim Exp $ +# $NetBSD: Makefile,v 1.4 2011/12/19 00:52:09 dholland Exp $ # DISTNAME= mg-20090107 @@ -11,12 +11,12 @@ COMMENT= Small, fast, public domain EMACS style editor HAS_CONFIGURE= yes USE_NCURSES= yes # Uses NCURSES internals -PKG_DESTDIR_SUPPORT= user-destdir -MAKE_ENV+= prefix=${PREFIX:Q} +PKG_DESTDIR_SUPPORT= user-destdir +MAKE_ENV+= prefix=${PREFIX} -INSTALLATION_DIRS = bin ${PKGMANDIR}/man1 +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 -CONFLICTS+= mg2a-[0-9]* +CONFLICTS+= mg2a-[0-9]* .include "../../devel/ncurses/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/editors/mg/distinfo b/editors/mg/distinfo index 6a86ff3eb4a..f95c91572a9 100644 --- a/editors/mg/distinfo +++ b/editors/mg/distinfo @@ -1,11 +1,11 @@ -$NetBSD: distinfo,v 1.4 2009/11/26 18:10:14 joerg Exp $ +$NetBSD: distinfo,v 1.5 2011/12/19 00:52:09 dholland Exp $ SHA1 (mg-20090107.tar.gz) = 3191c6dea4996347b6d40b34fa4c88a57e5ef42e RMD160 (mg-20090107.tar.gz) = d35cc894d2be7bfafb1943fefb5529c2dcbc2002 Size (mg-20090107.tar.gz) = 136530 bytes SHA1 (patch-aa) = 0999dd117883459d73b410e3e7ebd14e6890f611 SHA1 (patch-ab) = a5d9864a49c83c4851266b24bea62534859acccc -SHA1 (patch-ad) = f71bed38dc38ca107dd8aade779a75b5597aab0d +SHA1 (patch-ad) = 18dfdc0dd5768389ece4a545974542519220a7e4 SHA1 (patch-af) = e305ea6c7189b51467c5f46fec42d88c0f54c107 SHA1 (patch-ag) = 5d973ea998cca712e39a8b207820aea7e2739316 SHA1 (patch-ah) = 579d1438d959597899ef82ab4bfed662792fa64d diff --git a/editors/mg/patches/patch-ad b/editors/mg/patches/patch-ad index 2535d444e7b..05b6245d139 100644 --- a/editors/mg/patches/patch-ad +++ b/editors/mg/patches/patch-ad @@ -1,4 +1,7 @@ -$NetBSD: patch-ad,v 1.1.1.1 2009/02/13 11:04:14 abs Exp $ +$NetBSD: patch-ad,v 1.2 2011/12/19 00:52:10 dholland Exp $ + +- use toupper() correctly +- suppress initialization warning that sometimes (?) arises with gcc 4.5 --- extend.c.orig 2007-01-12 17:24:48.000000000 +0000 +++ extend.c @@ -11,3 +14,12 @@ $NetBSD: patch-ad,v 1.1.1.1 2009/02/13 11:04:14 abs Exp $ } else if (*str == '\\' && *(str + 1) != '\0') { switch (*++str) { case '^': +@@ -707,7 +707,7 @@ excline(char *line) + long nl; + #ifdef FKEYS + int bind; +- KEYMAP *curmap; ++ KEYMAP *curmap = NULL;; + #define BINDARG 0 /* this arg is key to bind (local/global set key) */ + #define BINDNO 1 /* not binding or non-quoted BINDARG */ + #define BINDNEXT 2 /* next arg " (define-key) */ |