aboutsummaryrefslogtreecommitdiff
path: root/japanese/typist
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-06-06 17:27:32 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-06-06 17:27:32 +0000
commitb0a184c6ba869bd7434b0ced97c06bc42b3ad794 (patch)
tree3251c54964f9fc7a08bf7c58684c96d471c75483 /japanese/typist
parentc33f50e17de77e92a9801c6b4c81941134fad4ed (diff)
downloadports-b0a184c6ba869bd7434b0ced97c06bc42b3ad794.tar.gz
ports-b0a184c6ba869bd7434b0ced97c06bc42b3ad794.zip
Notes
Diffstat (limited to 'japanese/typist')
-rw-r--r--japanese/typist/Makefile2
-rw-r--r--japanese/typist/files/patch-aa2
-rw-r--r--japanese/typist/files/patch-src-screen.c24
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;