diff options
author | minoura <minoura@pkgsrc.org> | 2000-02-29 15:28:49 +0000 |
---|---|---|
committer | minoura <minoura@pkgsrc.org> | 2000-02-29 15:28:49 +0000 |
commit | 53ec9e308044f9ba77cdd34c897bebf355d23f77 (patch) | |
tree | 51b599214252bc03c41e16786c02b65bb0d2b217 /japanese | |
parent | aa5f5ccaacbb851c33b592b26f15fccbfafc4a1c (diff) | |
download | pkgsrc-53ec9e308044f9ba77cdd34c897bebf355d23f77.tar.gz |
Avoid conflict of __cputchar() prototype.
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/mh/patches/patch-al | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/japanese/mh/patches/patch-al b/japanese/mh/patches/patch-al index 317a47c697b..b140ed7c8c8 100644 --- a/japanese/mh/patches/patch-al +++ b/japanese/mh/patches/patch-al @@ -1,8 +1,9 @@ -$NetBSD: patch-al,v 1.1 1999/11/01 10:23:45 sakamoto Exp $ +$NetBSD: patch-al,v 1.2 2000/02/29 15:28:49 minoura Exp $ --- ./uip/vmh.c.orig Tue Feb 9 20:30:00 1999 -+++ ./uip/vmh.c Mon Nov 1 19:13:30 1999 -@@ -24,4 +24,7 @@ ++++ ./uip/vmh.c Tue Feb 29 23:19:05 2000 +@@ -23,6 +23,9 @@ + If curses ever gets fixed, then XYZ code can be removed */ +#ifdef UNISTD @@ -10,8 +11,14 @@ $NetBSD: patch-al,v 1.1 1999/11/01 10:23:45 sakamoto Exp $ +#endif #ifdef __osf__ #define _BSD -@@ -88,5 +91,9 @@ + #endif +@@ -85,9 +88,15 @@ + #define _maxy maxy + #define _curx curx /* curses.h */ + #define _cury cury ++#ifndef __NetBSD__ void __cputchar __P((int)); ++#endif #undef _putchar +#ifdef BSD44 +#define _putchar __cputchar @@ -20,10 +27,13 @@ $NetBSD: patch-al,v 1.1 1999/11/01 10:23:45 sakamoto Exp $ +#endif #include <sys/ioctl.h> /* sgttyb */ #endif /* !__NCURSES_H && (BSD44 || linux) */ -@@ -1510,5 +1517,5 @@ + +@@ -1509,7 +1518,7 @@ + tpgrp; TYPESIG (*tstat) (); - if ((pgrp = getpgrp (0)) == NOTOK) + if ((pgrp = getpgrp (/*0*/)) == NOTOK) adios ("process group", "unable to determine"); for (;;) { + if (ioctl (fileno (stdin), TIOCGPGRP, (char *) &tpgrp) == NOTOK) |