diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-06-06 17:27:32 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-06-06 17:27:32 +0000 |
commit | b0a184c6ba869bd7434b0ced97c06bc42b3ad794 (patch) | |
tree | 3251c54964f9fc7a08bf7c58684c96d471c75483 /japanese/typist/files | |
parent | - Update to 1.0 (diff) |
- Don't make use of sgtty
PR: 113330
Submitted by: Ed Schouten <ed@hoeg.nl>
Notes
Notes:
svn path=/head/; revision=192939
Diffstat (limited to 'japanese/typist/files')
-rw-r--r-- | japanese/typist/files/patch-aa | 2 | ||||
-rw-r--r-- | japanese/typist/files/patch-src-screen.c | 24 |
2 files changed, 25 insertions, 1 deletions
diff --git a/japanese/typist/files/patch-aa b/japanese/typist/files/patch-aa index 0a91c4c237c2..deaaa1c7a4d4 100644 --- a/japanese/typist/files/patch-aa +++ b/japanese/typist/files/patch-aa @@ -22,7 +22,7 @@ MAB= -CFLAGS=$(DEBUG) $(MAB) -DTERMIO -+CFLAGS+=$(DEBUG) $(MAB) -DLESSONDIR=\"$(LESSONDIR)\" -DKEYTYPE=\"j\" ++CFLAGS+=$(DEBUG) $(MAB) -DTERMIO -DLESSONDIR=\"$(LESSONDIR)\" -DKEYTYPE=\"j\" # -DKEYTYPE=\"e\" # -DLESSONDIR=\"$(LESSONDIR)\" # -DVANISHCHAR diff --git a/japanese/typist/files/patch-src-screen.c b/japanese/typist/files/patch-src-screen.c new file mode 100644 index 000000000000..48320b911f36 --- /dev/null +++ b/japanese/typist/files/patch-src-screen.c @@ -0,0 +1,24 @@ +--- screen.c Wed May 21 04:38:05 1997 ++++ screen.c Mon Jun 4 10:36:47 2007 +@@ -127,7 +127,7 @@ + #define MIN_HEIGHT 24 + + #ifdef TERMIO +-# include <termio.h> ++# include <termios.h> + #else + # include <sgtty.h> + #endif +@@ -177,9 +177,9 @@ + int sw; + { + static int firsttime = 1; +- struct termio *s; +- static struct termio save_term; +- static struct termio raw_term; ++ struct termios *s; ++ static struct termios save_term; ++ static struct termios raw_term; + + if (sw) { + s = &raw_term; |