diff options
author | miwi <miwi@FreeBSD.org> | 2007-06-07 01:27:32 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-06-07 01:27:32 +0800 |
commit | 25a235a2da952bd7bbd41aa6a5284c2790c94c97 (patch) | |
tree | 37f76aa98bdb32ad8b47db8699cbf5afb06269fb /japanese | |
parent | e26b40dab04ea9346e88afd5fb4368a2cfc4cb24 (diff) | |
download | freebsd-ports-gnome-25a235a2da952bd7bbd41aa6a5284c2790c94c97.tar.gz freebsd-ports-gnome-25a235a2da952bd7bbd41aa6a5284c2790c94c97.tar.zst freebsd-ports-gnome-25a235a2da952bd7bbd41aa6a5284c2790c94c97.zip |
- Don't make use of sgtty
PR: 113330
Submitted by: Ed Schouten <ed@hoeg.nl>
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/typist/Makefile | 2 | ||||
-rw-r--r-- | japanese/typist/files/patch-aa | 2 | ||||
-rw-r--r-- | japanese/typist/files/patch-src-screen.c | 24 |
3 files changed, 26 insertions, 2 deletions
diff --git a/japanese/typist/Makefile b/japanese/typist/Makefile index f07a257089a9..dcc901fdb91d 100644 --- a/japanese/typist/Makefile +++ b/japanese/typist/Makefile @@ -9,8 +9,8 @@ PORTNAME= typist PORTVERSION= 2.0 CATEGORIES= japanese MASTER_SITES= ftp://tuba.csedu.kobe-u.ac.jp/pub/UNIX/ -EXTRACT_SUFX= .src.tar.gz DISTNAME= ${PORTNAME}${PORTVERSION} +EXTRACT_SUFX= .src.tar.gz MAINTAINER= ports@FreeBSD.org COMMENT= Typing lessons (Japanese version) 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; |