freebsd-ports/japanese/mh/files/patch-uip:vmh.c
Motoyuki Konno 077b98da9e Add patch for FreeBSD 5-current.
There is not definition of 'struct ldat' in 5-current's curses.h
(after May 21 2002).
2002-07-16 11:48:06 +00:00

19 lines
358 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- uip/vmh.c.old Tue Feb 9 20:30:00 1999
+++ uip/vmh.c Wed Jul 10 15:40:52 2002
@@ -103,6 +103,16 @@
#define XYZ /* XXX */
+#if defined(__FreeBSD__) && __FreeBSD__ >= 5
+struct ldat
+{
+ NCURSES_CH_T *text;
+ NCURSES_SIZE_T firstchar;
+ NCURSES_SIZE_T lastchar;
+ NCURSES_SIZE_T oldindex;
+};
+#endif
+
/* */
static struct swit switches[] = {