openbsd-ports/japanese/Wnn/patches/patch-Wnn_include_commonhd_h
espie e8c9eaf450 Loads of changes, not quite finished yet.
- format man pages using new jgroff, so that we can install a full set
of documentation.
- move INSTALL script into a separate script, so that adding a new user
need not be done at the time of INSTALL.
- add a few strlcpy to fix a few holes. This stuff is rather bad, though.
- use terminfo instead of termcap, for better keycap names, fixing quite
a few bugs that made it impossible to build that version along the way...
- move scripts into /usr/local/bin instead of /usr/local/bin/Wnn4.

- use @comment no checksum
in packing list, even though pkg_add does not support that yet.
Not quite completely ready, but getting there...
2000-04-16 21:53:26 +00:00

17 lines
420 B
Plaintext

$OpenBSD: patch-Wnn_include_commonhd_h,v 1.1 2000/04/16 21:53:30 espie Exp $
--- Wnn/include/commonhd.h.orig Sat Apr 15 22:21:11 2000
+++ Wnn/include/commonhd.h Sat Apr 15 22:21:48 2000
@@ -153,6 +153,12 @@ typedef unsigned char UCHAR;
#endif /* sun */
#endif /* luna */
+#ifdef __OpenBSD__
+#undef TERMCAP
+#define TERMINFO
+#define SRAND48
+#endif
+
#if defined(SYSVR2) || defined(sun)
# define SRAND48
#endif