Mercurial > mxe-octave
diff src/mingw-texinfo-1-fixes.patch @ 3609:360eff7d9c06
texinfo: compile native info when native target.
* src/mingw-texinfo-1-fixes.patch: define sleep in mingw.
* src/texinfo.mk: only build tools libs for cross build ginfo when doing cross build.
author | John Donoghue |
---|---|
date | Mon, 09 Jun 2014 08:11:22 -0400 |
parents | 4e90544559a3 |
children | 28a83a566666 |
line wrap: on
line diff
--- a/src/mingw-texinfo-1-fixes.patch Mon Jun 09 08:18:39 2014 -0400 +++ b/src/mingw-texinfo-1-fixes.patch Mon Jun 09 08:11:22 2014 -0400 @@ -951,3 +951,17 @@ reset_info_window_sizes (void) { terminal_goto_xy (0, 0); +diff -ur texinfo-4.13.orig/info/terminal.c texinfo-4.13/info/terminal.c +--- texinfo-4.13.orig/info/terminal.c 2014-06-09 00:27:32 -0400 ++++ texinfo-4.13/info/terminal.c 2014-06-09 00:33:37 -0400 +@@ -47,6 +47,10 @@ + #endif /* not HAVE_TERMCAP_H */ + #endif /* not HAVE_NCURSES_TERMCAP_H */ + ++#if defined(__MSDOS__) || defined(__MINGW32__) ++ unsigned int sleep(unsigned int); ++#endif ++ + /* Function "hooks". If you make one of these point to a function, that + function is called when appropriate instead of its namesake. Your + function is called with exactly the same arguments that were passed