]> git.pld-linux.org Git - packages/crossavr-gdb.git/blame - gdb-ncurses.patch
- no subshells
[packages/crossavr-gdb.git] / gdb-ncurses.patch
CommitLineData
aa5e7b70 1diff -ur gdb-5.1.orig/gdb/config.in gdb-5.1/gdb/config.in
2--- gdb-5.1.orig/gdb/config.in Mon Jul 23 21:21:51 2001
3+++ gdb-5.1/gdb/config.in Wed Jan 23 00:13:15 2002
4@@ -292,6 +292,9 @@
5 /* Define if you have the <ncurses.h> header file. */
6 #undef HAVE_NCURSES_H
de7d4c89 7
aa5e7b70 8+/* Define if you have the <ncurses/ncurses.h> header file. */
9+#undef HAVE_NCURSES_NCURSES_H
10+
11 /* Define if you have the <ndir.h> header file. */
12 #undef HAVE_NDIR_H
de7d4c89 13
aa5e7b70 14diff -ur gdb-5.1.orig/gdb/configure.in gdb-5.1/gdb/configure.in
15--- gdb-5.1.orig/gdb/configure.in Thu Aug 2 23:30:22 2001
16+++ gdb-5.1/gdb/configure.in Wed Jan 23 00:12:08 2002
17@@ -125,7 +125,7 @@
18 wchar.h wctype.h asm/debugreg.h sys/debugreg.h sys/select.h \
19 time.h sys/file.h sys/ioctl.h sys/user.h sys/fault.h sys/syscall.h \
5dc18e7f 20 dirent.h sys/ndir.h sys/dir.h ndir.h sys/filio.h \
aa5e7b70 21- curses.h ncurses.h \
22+ curses.h ncurses.h ncurses/ncurses.h \
23 poll.h sys/poll.h)
24 AC_HEADER_STAT
de7d4c89 25
aa5e7b70 26diff -ur gdb-5.1.orig/gdb/tui/tuiData.h gdb-5.1/gdb/tui/tuiData.h
27--- gdb-5.1.orig/gdb/tui/tuiData.h Mon Jul 23 23:16:20 2001
28+++ gdb-5.1/gdb/tui/tuiData.h Wed Jan 23 00:11:53 2002
29@@ -24,6 +24,8 @@
de7d4c89 30
aa5e7b70 31 #if defined (HAVE_NCURSES_H)
32 #include <ncurses.h>
33+#elif defined (HAVE_NCURSES_NCURSES_H)
34+#include <ncurses/ncurses.h>
35 #elif defined (HAVE_CURSES_H)
36 #include <curses.h>
37 #endif
38diff -ur gdb-5.1.orig/gdb/utils.c gdb-5.1/gdb/utils.c
39--- gdb-5.1.orig/gdb/utils.c Wed Jan 23 00:01:31 2002
40+++ gdb-5.1/gdb/utils.c Wed Jan 23 00:15:07 2002
41@@ -26,9 +26,14 @@
de7d4c89
AM
42 #include "gdb_string.h"
43 #include "event-top.h"
44
45-#ifdef HAVE_CURSES_H
aa5e7b70 46+#if defined (HAVE_NCURSES_H)
47+#include <ncurses.h>
48+#elif defined (HAVE_NCURSES_NCURSES_H)
49+#include <ncurses/ncurses.h>
50+#elif defined (HAVE_CURSES_H)
51 #include <curses.h>
de7d4c89 52 #endif
aa5e7b70 53+
de7d4c89
AM
54 #ifdef HAVE_TERM_H
55 #include <term.h>
56 #endif
This page took 0.115246 seconds and 4 git commands to generate.