]> git.pld-linux.org Git - packages/gdb.git/blame - gdb-ncurses.patch
- updated to 6.1
[packages/gdb.git] / gdb-ncurses.patch
CommitLineData
d4ef9375
JB
1--- gdb-6.1/gdb/config.in.orig 2004-01-20 10:29:13.000000000 +0100
2+++ gdb-6.1/gdb/config.in 2004-04-17 21:21:46.919318064 +0200
3@@ -293,6 +293,9 @@
c36c5481 4 /* Define if you have the <ncurses.h> header file. */
5 #undef HAVE_NCURSES_H
1013231d 6
c36c5481 7+/* Define if you have the <ncurses/ncurses.h> header file. */
8+#undef HAVE_NCURSES_NCURSES_H
9+
10 /* Define if you have the <ndir.h> header file. */
11 #undef HAVE_NDIR_H
1013231d 12
d4ef9375
JB
13--- gdb-6.1/gdb/configure.in.orig 2004-02-26 01:41:46.000000000 +0100
14+++ gdb-6.1/gdb/configure.in 2004-04-17 21:21:46.922317608 +0200
15@@ -374,7 +374,7 @@
24a6bbe5
AM
16 Solaris 2.[78] when using GCC. ]])
17 fi ;;
18 esac
19-AC_CHECK_HEADERS(curses.h ncurses.h term.h)
20+AC_CHECK_HEADERS(curses.h ncurses.h ncurses/ncurses.h term.h)
1013231d 21
24a6bbe5
AM
22 # FIXME: kettenis/20030102: In most cases we include these
23 # unconditionally, so what's the point in checking these?
d4ef9375
JB
24--- gdb-6.1/gdb/gdb_curses.h.orig 2004-02-10 21:03:44.000000000 +0100
25+++ gdb-6.1/gdb/gdb_curses.h 2004-04-17 21:35:43.552130544 +0200
c36c5481 26@@ -24,6 +24,8 @@
1013231d 27
c36c5481 28 #if defined (HAVE_NCURSES_H)
29 #include <ncurses.h>
30+#elif defined (HAVE_NCURSES_NCURSES_H)
31+#include <ncurses/ncurses.h>
32 #elif defined (HAVE_CURSES_H)
33 #include <curses.h>
34 #endif
d4ef9375
JB
35--- gdb-6.1/gdb/utils.c.orig 2004-02-28 19:04:37.000000000 +0100
36+++ gdb-6.1/gdb/utils.c 2004-04-17 21:36:26.623582688 +0200
37@@ -56,9 +56,7 @@
24a6bbe5
AM
38
39 #include <sys/param.h> /* For MAXPATHLEN */
1013231d
AM
40
41-#ifdef HAVE_CURSES_H
d4ef9375
JB
42-#include <curses.h>
43-#endif
44+#include "gdb_curses.h"
1013231d
AM
45 #ifdef HAVE_TERM_H
46 #include <term.h>
47 #endif
This page took 0.027128 seconds and 4 git commands to generate.