Mercurial > mxe-octave
comparison 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 |
comparison
equal
deleted
inserted
replaced
3608:7bccd055043e | 3609:360eff7d9c06 |
---|---|
949 -static void | 949 -static void |
950 +void | 950 +void |
951 reset_info_window_sizes (void) | 951 reset_info_window_sizes (void) |
952 { | 952 { |
953 terminal_goto_xy (0, 0); | 953 terminal_goto_xy (0, 0); |
954 diff -ur texinfo-4.13.orig/info/terminal.c texinfo-4.13/info/terminal.c | |
955 --- texinfo-4.13.orig/info/terminal.c 2014-06-09 00:27:32 -0400 | |
956 +++ texinfo-4.13/info/terminal.c 2014-06-09 00:33:37 -0400 | |
957 @@ -47,6 +47,10 @@ | |
958 #endif /* not HAVE_TERMCAP_H */ | |
959 #endif /* not HAVE_NCURSES_TERMCAP_H */ | |
960 | |
961 +#if defined(__MSDOS__) || defined(__MINGW32__) | |
962 + unsigned int sleep(unsigned int); | |
963 +#endif | |
964 + | |
965 /* Function "hooks". If you make one of these point to a function, that | |
966 function is called when appropriate instead of its namesake. Your | |
967 function is called with exactly the same arguments that were passed |