aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2004-03-31 23:40:30 +0800
committernork <nork@FreeBSD.org>2004-03-31 23:40:30 +0800
commit712e5032d63428b42b74f8074f8de57c49843a4f (patch)
treec7e5456733e6b3723baf687041dc52d079a1395f /japanese
parent4f45b523d9acd9b6e38deab825e107dc7cf30642 (diff)
downloadfreebsd-ports-graphics-712e5032d63428b42b74f8074f8de57c49843a4f.tar.gz
freebsd-ports-graphics-712e5032d63428b42b74f8074f8de57c49843a4f.tar.zst
freebsd-ports-graphics-712e5032d63428b42b74f8074f8de57c49843a4f.zip
Add Tektronix emulation knob.
PR: ports/64835 Submitted by: Katsura Matsumoto <katsura@cc.osaka-kyoiku.ac.jp> Approved by: shige (blanket)
Diffstat (limited to 'japanese')
-rw-r--r--japanese/kterm/Makefile5
-rw-r--r--japanese/kterm/files/extra-patch-Tektronix11
2 files changed, 16 insertions, 0 deletions
diff --git a/japanese/kterm/Makefile b/japanese/kterm/Makefile
index 91b97cc4e35..33082645f80 100644
--- a/japanese/kterm/Makefile
+++ b/japanese/kterm/Makefile
@@ -58,6 +58,11 @@ post-patch:
@${ECHO_MSG} "===> Applying neXtaw scrollbar patch"
@${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-neXtaw
.endif
+.if defined(WITH_TEKTRONIX)
+post-patch:
+ @${ECHO_MSG} "===> Applying Tektronix emulation patch"
+ @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-Tektronix
+.endif
.endif
diff --git a/japanese/kterm/files/extra-patch-Tektronix b/japanese/kterm/files/extra-patch-Tektronix
new file mode 100644
index 00000000000..46c4ddac0f7
--- /dev/null
+++ b/japanese/kterm/files/extra-patch-Tektronix
@@ -0,0 +1,11 @@
+--- ./kterm.h.orig Fri Jul 12 14:01:37 1996
++++ ./kterm.h Thu Aug 16 01:34:54 2001
+@@ -35,7 +35,7 @@
+ #define KTERM_XIM /* XIM protocol */
+ #define KTERM_KINPUT2 /* Kinput2 protocol */
+ #define KTERM_COLOR /* color sequence */
+-#define KTERM_NOTEK /* disables Tektronix emulation */
++#undef KTERM_NOTEK /* disables Tektronix emulation */
+ #undef KTERM_XAW3D /* Xaw3d -DARROW_SCROLLBAR support */
+
+ #endif /* !_KTERM_H_ */