]> git.pld-linux.org Git - packages/gdb.git/blob - gdb-ncurses.patch
- Release: 1 (no comment/changelog entry seems to justify release<1)
[packages/gdb.git] / gdb-ncurses.patch
1 diff -urN gdb-6.0.org/gdb/config.in gdb-6.0/gdb/config.in
2 --- gdb-6.0.org/gdb/config.in   2003-10-09 19:42:39.000000000 +0200
3 +++ gdb-6.0/gdb/config.in       2003-10-09 19:44:01.000000000 +0200
4 @@ -290,6 +290,9 @@
5  /* Define if you have the <ncurses.h> header file.  */
6  #undef HAVE_NCURSES_H
7  
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
13  
14 diff -urN gdb-6.0.org/gdb/configure.in gdb-6.0/gdb/configure.in
15 --- gdb-6.0.org/gdb/configure.in        2003-10-09 19:42:39.000000000 +0200
16 +++ gdb-6.0/gdb/configure.in    2003-10-09 19:44:27.000000000 +0200
17 @@ -351,7 +351,7 @@
18     Solaris 2.[78] when using GCC. ]])
19      fi ;;
20  esac
21 -AC_CHECK_HEADERS(curses.h ncurses.h term.h)
22 +AC_CHECK_HEADERS(curses.h ncurses.h ncurses/ncurses.h term.h)
23  
24  # FIXME: kettenis/20030102: In most cases we include these
25  # unconditionally, so what's the point in checking these?
26 diff -urN gdb-6.0.org/gdb/tui/tuiData.h gdb-6.0/gdb/tui/tuiData.h
27 --- gdb-6.0.org/gdb/tui/tuiData.h       2003-10-09 19:42:43.000000000 +0200
28 +++ gdb-6.0/gdb/tui/tuiData.h   2003-10-09 19:44:01.000000000 +0200
29 @@ -24,6 +24,8 @@
30  
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
38 diff -urN gdb-6.0.org/gdb/utils.c gdb-6.0/gdb/utils.c
39 --- gdb-6.0.org/gdb/utils.c     2003-10-09 19:42:40.000000000 +0200
40 +++ gdb-6.0/gdb/utils.c 2003-10-09 19:44:01.000000000 +0200
41 @@ -52,9 +52,14 @@
42  
43  #include <sys/param.h>         /* For MAXPATHLEN */
44  
45 -#ifdef HAVE_CURSES_H
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>
52  #endif
53 +
54  #ifdef HAVE_TERM_H
55  #include <term.h>
56  #endif
This page took 0.067986 seconds and 3 git commands to generate.