Mercurial > mxe-octave
view src/gdb-1-fix-termcap.patch @ 3721:933b99febcf1
Expand options to support 3 possible sources of octave
* configure.ac: modify --enable-stable rule to --enable-octave=source (stable,alpha,default)
* Makefile.am: modify OCTAVE_TARGET based on octave build value set in configure.
* index.html: added master-octave information.
* src/default-octave.mk: new file.
* src/default-octave-1-docinstall.patch
* dist-files.mk: add default-octave-1-docinstall.patch default-octave.mk
* binary-dist-rules.mk: use OCTAVE_TARGET to decide on tarball/installer name
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 19 Oct 2014 22:58:20 -0400 |
parents | 2313df3c9689 |
children | 5a00da34fd24 |
line wrap: on
line source
This file is part of MXE. See index.html for further information. diff -ur gdb-7.5.1_old/gdb/windows-termcap.c gdb-7.5.1/gdb/windows-termcap.c --- gdb-7.5.1_old/gdb/windows-termcap.c 2012-12-13 13:28:37.527194089 -0300 +++ gdb-7.5.1/gdb/windows-termcap.c 2012-12-13 13:29:54.823190855 -0300 @@ -18,7 +18,15 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include "config.h" +#if defined (HAVE_NCURSES_TERM_H) +#elif defined (HAVE_TERM_H) +#else +/* On MinGW, a real termcap library is usually not present. Stub versions + of the termcap functions will be built from windows-termcap.c. Readline + provides its own extern declarations when there's no termcap.h; do the + same here for the termcap functions used in GDB. */ #include <stdlib.h> /* -Wmissing-prototypes */ @@ -71,3 +79,4 @@ { return NULL; } +#endif