aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
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_ */