Mercurial > mxe-octave
changeset 3662:2313df3c9689
update gdb package
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 11 Jul 2014 15:57:24 -0400 |
parents | ecc8ad4c560c |
children | 16615236ec37 |
files | src/gdb-1-fix-shell.patch src/gdb-1-fix-termcap.patch src/gdb.mk |
diffstat | 3 files changed, 29 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gdb-1-fix-shell.patch Wed Jul 09 09:25:57 2014 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,17 +0,0 @@ -This file is part of MXE. -See index.html for further information. - -This patch has been taken from: -http://sourceware.org/bugzilla/show_bug.cgi?id=9098 - ---- a/gdb/gdbserver/Makefile.in 2010-01-05 02:03:00.000000000 +1100 -+++ b/gdb/gdbserver/Makefile.in 2010-05-21 23:49:45.960860228 +1000 -@@ -41,7 +41,7 @@ - htmldir = $(prefix)/html - includedir = @includedir@ - --SHELL = /bin/sh -+SHELL = @SHELL@ - EXEEXT = @EXEEXT@ - - INSTALL = @INSTALL@
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/gdb-1-fix-termcap.patch Fri Jul 11 15:57:24 2014 -0400 @@ -0,0 +1,27 @@ +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
--- a/src/gdb.mk Wed Jul 09 09:25:57 2014 -0400 +++ b/src/gdb.mk Fri Jul 11 15:57:24 2014 -0400 @@ -2,8 +2,8 @@ # See index.html for further information. PKG := gdb -$(PKG)_VERSION := 7.5 -$(PKG)_CHECKSUM := 79b61152813e5730fa670c89e5fc3c04b670b02c +$(PKG)_VERSION := 7.7.1 +$(PKG)_CHECKSUM := 35228319f7c715074a80be42fff64c7645227a80 $(PKG)_SUBDIR := gdb-$($(PKG)_VERSION) $(PKG)_FILE := gdb-$($(PKG)_VERSION).tar.bz2 $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/$(PKG)/$($(PKG)_FILE)