From 077b98da9e2b02c2d9cd80944f99144a31972c04 Mon Sep 17 00:00:00 2001 From: Motoyuki Konno Date: Tue, 16 Jul 2002 11:48:06 +0000 Subject: Add patch for FreeBSD 5-current. There is not definition of 'struct ldat' in 5-current's curses.h (after May 21 2002). --- japanese/mh/files/patch-uip:vmh.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 japanese/mh/files/patch-uip:vmh.c (limited to 'japanese/mh/files/patch-uip:vmh.c') diff --git a/japanese/mh/files/patch-uip:vmh.c b/japanese/mh/files/patch-uip:vmh.c new file mode 100644 index 000000000000..d583d9601bd9 --- /dev/null +++ b/japanese/mh/files/patch-uip:vmh.c @@ -0,0 +1,19 @@ +--- 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[] = { -- cgit v1.2.3