Add patch for FreeBSD 5-current.
There is not definition of 'struct ldat' in 5-current's curses.h (after May 21 2002).
This commit is contained in:
parent
365ae0c427
commit
077b98da9e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=63078
19
japanese/mh/files/patch-uip:vmh.c
Normal file
19
japanese/mh/files/patch-uip:vmh.c
Normal file
@ -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[] = {
|
Loading…
Reference in New Issue
Block a user