diff options
author | motoyuki <motoyuki@FreeBSD.org> | 2002-07-16 19:48:06 +0800 |
---|---|---|
committer | motoyuki <motoyuki@FreeBSD.org> | 2002-07-16 19:48:06 +0800 |
commit | 1137ff4008362fc5916af01746d5076ece4d55a0 (patch) | |
tree | 1ff04ac07d573db4a7ec9420b8883f6ec35fbfd3 /japanese | |
parent | 3c1ac86de39db9894c3ae97ee96bfd4fafd2c66d (diff) | |
download | freebsd-ports-graphics-1137ff4008362fc5916af01746d5076ece4d55a0.tar.gz freebsd-ports-graphics-1137ff4008362fc5916af01746d5076ece4d55a0.tar.zst freebsd-ports-graphics-1137ff4008362fc5916af01746d5076ece4d55a0.zip |
Add patch for FreeBSD 5-current.
There is not definition of 'struct ldat' in 5-current's curses.h
(after May 21 2002).
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/mh/files/patch-uip:vmh.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/japanese/mh/files/patch-uip:vmh.c b/japanese/mh/files/patch-uip:vmh.c new file mode 100644 index 00000000000..d583d9601bd --- /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[] = { |