diff options
Diffstat (limited to 'editors/mg/patches')
-rw-r--r-- | editors/mg/patches/patch-aa | 19 | ||||
-rw-r--r-- | editors/mg/patches/patch-ab | 12 | ||||
-rw-r--r-- | editors/mg/patches/patch-ac | 12 | ||||
-rw-r--r-- | editors/mg/patches/patch-ad | 13 | ||||
-rw-r--r-- | editors/mg/patches/patch-ae | 15 | ||||
-rw-r--r-- | editors/mg/patches/patch-af | 30 | ||||
-rw-r--r-- | editors/mg/patches/patch-ag | 22 |
7 files changed, 123 insertions, 0 deletions
diff --git a/editors/mg/patches/patch-aa b/editors/mg/patches/patch-aa new file mode 100644 index 00000000000..3a814c4fa37 --- /dev/null +++ b/editors/mg/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.1.1.1 2009/02/13 11:04:14 abs Exp $ + +--- dired.c.orig 2008-12-30 12:40:28.000000000 +0000 ++++ dired.c +@@ -570,11 +570,11 @@ d_makename(struct line *lp, char *fn, si + ep = lp->l_text + llength(lp); + p++; /* skip action letter, if any */ + for (i = 0; i < NAME_FIELD; i++) { +- while (p < ep && isspace(*p)) ++ while (p < ep && isspace((unsigned char)*p)) + p++; +- while (p < ep && !isspace(*p)) ++ while (p < ep && !isspace((unsigned char)*p)) + p++; +- while (p < ep && isspace(*p)) ++ while (p < ep && isspace((unsigned char)*p)) + p++; + if (p == ep) + return (ABORT); diff --git a/editors/mg/patches/patch-ab b/editors/mg/patches/patch-ab new file mode 100644 index 00000000000..4b4b82acc04 --- /dev/null +++ b/editors/mg/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1.1.1 2009/02/13 11:04:14 abs Exp $ + +--- sysdef.h.orig 2008-12-11 09:38:10.000000000 +0000 ++++ sysdef.h +@@ -31,6 +31,7 @@ + #include <string.h> + #include <errno.h> + #include <signal.h> ++#include <time.h> + + + #define KBLOCK 8192 /* Kill grow. */ diff --git a/editors/mg/patches/patch-ac b/editors/mg/patches/patch-ac new file mode 100644 index 00000000000..146ac0593ea --- /dev/null +++ b/editors/mg/patches/patch-ac @@ -0,0 +1,12 @@ +$NetBSD: patch-ac,v 1.1.1.1 2009/02/13 11:04:14 abs Exp $ + +--- configure.orig 2008-12-12 08:40:04.000000000 +0000 ++++ configure +@@ -187,6 +187,7 @@ if [ ! -r /usr/include/term.h ]; then + exit 1 + } + fi ++ add_inc NCURSES + fi + + note 'base and dirname' diff --git a/editors/mg/patches/patch-ad b/editors/mg/patches/patch-ad new file mode 100644 index 00000000000..2535d444e7b --- /dev/null +++ b/editors/mg/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1.1.1 2009/02/13 11:04:14 abs Exp $ + +--- extend.c.orig 2007-01-12 17:24:48.000000000 +0000 ++++ extend.c +@@ -445,7 +445,7 @@ dobindkey(KEYMAP *map, const char *func, + for (i = 0; *str && i < MAXKEY; i++) { + /* XXX - convert numbers w/ strol()? */ + if (*str == '^' && *(str + 1) != '\0') { +- key.k_chars[i] = CCHR(toupper(*++str)); ++ key.k_chars[i] = CCHR(toupper((unsigned char)*++str)); + } else if (*str == '\\' && *(str + 1) != '\0') { + switch (*++str) { + case '^': diff --git a/editors/mg/patches/patch-ae b/editors/mg/patches/patch-ae new file mode 100644 index 00000000000..45e3e41c620 --- /dev/null +++ b/editors/mg/patches/patch-ae @@ -0,0 +1,15 @@ +$NetBSD: patch-ae,v 1.1.1.1 2009/02/13 11:04:14 abs Exp $ + +--- ttydef.h.orig 2006-04-27 03:28:14.000000000 +0100 ++++ ttydef.h +@@ -10,7 +10,9 @@ + * enough for windowing systems. + */ + +-#define STANDOUT_GLITCH /* possible standout glitch */ ++#ifdef NCURSES ++# define STANDOUT_GLITCH /* possible standout glitch */ ++#endif + #define TERMCAP /* for possible use in ttyio.c */ + + #ifdef undef diff --git a/editors/mg/patches/patch-af b/editors/mg/patches/patch-af new file mode 100644 index 00000000000..95f66c240ab --- /dev/null +++ b/editors/mg/patches/patch-af @@ -0,0 +1,30 @@ +$NetBSD: patch-af,v 1.1.1.1 2009/02/13 11:04:14 abs Exp $ + +--- grep.c.orig 2008-12-30 12:39:43.000000000 +0000 ++++ grep.c +@@ -152,7 +152,7 @@ gid(int f, int n) + /* Skip backwards over delimiters we are currently on */ + while (i > 0) { + c = lgetc(curwp->w_dotp, i); +- if (isalnum(c) || c == '_') ++ if (isalnum((unsigned char)c) || c == '_') + break; + + i--; +@@ -161,14 +161,14 @@ gid(int f, int n) + /* Skip the symbol itself */ + for (; i > 0; i--) { + c = lgetc(curwp->w_dotp, i - 1); +- if (!isalnum(c) && c != '_') ++ if (!isalnum((unsigned char)c) && c != '_') + break; + } + /* Fill the symbol in cprompt[] */ + for (j = 0; j < sizeof(cprompt) - 1 && i < llength(curwp->w_dotp); + j++, i++) { + c = lgetc(curwp->w_dotp, i); +- if (!isalnum(c) && c != '_') ++ if (!isalnum((unsigned char)c) && c != '_') + break; + cprompt[j] = c; + } diff --git a/editors/mg/patches/patch-ag b/editors/mg/patches/patch-ag new file mode 100644 index 00000000000..a44fb42b6de --- /dev/null +++ b/editors/mg/patches/patch-ag @@ -0,0 +1,22 @@ +$NetBSD: patch-ag,v 1.1.1.1 2009/02/13 11:04:14 abs Exp $ + +--- Makefile.in.orig 2008-12-11 09:11:05.000000000 +0000 ++++ Makefile.in +@@ -7,7 +7,7 @@ + + name= mg + +-prefix= /usr/local ++prefix?= /usr/local + bindir= $(prefix)/bin + libdir= $(prefix)/lib + includedir= $(prefix)/include +@@ -17,7 +17,7 @@ mandir= $(prefix)/man + CC= gcc + CFLAGS?= -O2 -pipe + CFLAGS+= -g -Wall -Werror +-LDFLAGS= -lncurses ++LDFLAGS+= -lncurses + + INSTALL= /usr/bin/install + STRIP= /usr/bin/strip |