summaryrefslogtreecommitdiff
path: root/japanese/mh
diff options
context:
space:
mode:
authorMotoyuki Konno <motoyuki@FreeBSD.org>2002-07-16 11:48:06 +0000
committerMotoyuki Konno <motoyuki@FreeBSD.org>2002-07-16 11:48:06 +0000
commit077b98da9e2b02c2d9cd80944f99144a31972c04 (patch)
treeeb14cd533323dc6029b31d45e70b2eccabbc28cc /japanese/mh
parentUnbleak on -current with gcc 3.1. (diff)
Add patch for FreeBSD 5-current.
There is not definition of 'struct ldat' in 5-current's curses.h (after May 21 2002).
Notes
Notes: svn path=/head/; revision=63078
Diffstat (limited to 'japanese/mh')
-rw-r--r--japanese/mh/files/patch-uip:vmh.c19
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 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[] = {