]> git.pld-linux.org Git - packages/gdb.git/blob - gdb-ncurses.patch
- enable ada support (from gdb-patches)
[packages/gdb.git] / gdb-ncurses.patch
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 @@
4  /* Define if you have the <ncurses.h> header file.  */
5  #undef HAVE_NCURSES_H
6  
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
12  
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 @@
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)
21  
22  # FIXME: kettenis/20030102: In most cases we include these
23  # unconditionally, so what's the point in checking these?
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
26 @@ -24,6 +24,8 @@
27  
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
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 @@
38  
39  #include <sys/param.h>         /* For MAXPATHLEN */
40  
41 -#ifdef HAVE_CURSES_H
42 -#include <curses.h>
43 -#endif
44 +#include "gdb_curses.h"
45  #ifdef HAVE_TERM_H
46  #include <term.h>
47  #endif
This page took 0.132528 seconds and 3 git commands to generate.