# HG changeset patch # User John W. Eaton # Date 1405108644 14400 # Node ID 2313df3c96896554459acdf7994c29d043ad2cec # Parent ecc8ad4c560c798af5f6119b3f0de068e2cd7f06 update gdb package diff -r ecc8ad4c560c -r 2313df3c9689 src/gdb-1-fix-shell.patch --- 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@ diff -r ecc8ad4c560c -r 2313df3c9689 src/gdb-1-fix-termcap.patch --- /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 . */ ++#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 + + /* -Wmissing-prototypes */ +@@ -71,3 +79,4 @@ + { + return NULL; + } ++#endif diff -r ecc8ad4c560c -r 2313df3c9689 src/gdb.mk --- 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)