1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/japanese/kon2-16dot/files/patch-include_vt.h
Daichi GOTO d5110194a5 - fixed the building on amd64
- fixed the building on 9+
 - clean-up patches

PR:		167724
Submitted by:	Masamichi Takatsu <taka2@doga.co.jp>
2012-05-09 19:28:24 +00:00

23 lines
534 B
C

--- include/vt.h.orig 1997-01-24 16:08:13.000000000 +0900
+++ include/vt.h 2012-05-10 00:14:28.784553183 +0900
@@ -60,6 +60,9 @@
active,
wrap,
text_mode;
+#if defined(__FreeBSD__)
+ bool cursor_key_mode;
+#endif /* __FreeBSD__ */
};
extern struct _con_info con;
@@ -75,6 +78,9 @@
extern void VtStart(void);
extern void VtEmu(const char*, int nchars);
extern void VtCleanup(void);
+#if defined(__FreeBSD__)
+extern int cons25tovt100(u_char *buff, int len, const int max);
+#endif
#define sjistojis(ch, cl)\
{\