summaryrefslogtreecommitdiffstats
path: root/src/gdb-1-fix-termcap.patch
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2015-02-27 18:53:00 (GMT)
committerMark Brand <mabrand@mabrand.nl>2015-02-27 18:53:00 (GMT)
commit34266e271a50e78c13f178772eebe77262e3e81b (patch)
tree490028cd2ca91b750873c9ebdb5d5a84eaf33b6c /src/gdb-1-fix-termcap.patch
parent66e92891f158ebbee93afaf421928f5e21d2acf9 (diff)
downloadmxe-34266e271a50e78c13f178772eebe77262e3e81b.zip
mxe-34266e271a50e78c13f178772eebe77262e3e81b.tar.gz
mxe-34266e271a50e78c13f178772eebe77262e3e81b.tar.bz2
gdb: add missing patch patch
Diffstat (limited to 'src/gdb-1-fix-termcap.patch')
-rw-r--r--src/gdb-1-fix-termcap.patch18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/gdb-1-fix-termcap.patch b/src/gdb-1-fix-termcap.patch
index 609458b..1ec247d 100644
--- a/src/gdb-1-fix-termcap.patch
+++ b/src/gdb-1-fix-termcap.patch
@@ -1,15 +1,19 @@
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 @@
-
+diff --git a/gdb/windows-termcap.c b/gdb/windows-termcap.c
+index caafc47..809ae6d 100644
+--- a/gdb/windows-termcap.c
++++ b/gdb/windows-termcap.c
+@@ -19,9 +19,16 @@
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"
+-
+ #include "defs.h"
+-
++#include "config.h"
++
+#if defined (HAVE_NCURSES_TERM_H)
+#elif defined (HAVE_TERM_H)
+#else
@@ -20,7 +24,7 @@ diff -ur gdb-7.5.1_old/gdb/windows-termcap.c gdb-7.5.1/gdb/windows-termcap.c
#include <stdlib.h>
/* -Wmissing-prototypes */
-@@ -71,3 +79,4 @@
+@@ -74,3 +81,4 @@ tgoto (const char *cap, int col, int row)
{
return NULL;
}