1 diff -ur gpsd-2.39/cgps.c gpsd-2.39.new/cgps.c
2 --- gpsd-2.39/cgps.c 2009-03-18 17:44:54.000000000 +0100
3 +++ gpsd-2.39.new/cgps.c 2009-06-08 13:39:54.140175509 +0200
7 #include "gpsd_config.h"
12 -#endif /* HAVE_NCURSES_H */
13 +#include <ncurses/ncurses.h>
16 #include "gpsdclient.h"
17 Tylko w gpsd-2.39.new/: cgps.c~
18 diff -ur gpsd-2.39/configure.ac gpsd-2.39.new/configure.ac
19 --- gpsd-2.39/configure.ac 2009-03-18 22:09:27.000000000 +0100
20 +++ gpsd-2.39.new/configure.ac 2009-06-08 13:40:34.023615525 +0200
22 dnl TODO: give an example of what system uses curses.h with
23 dnl libncurses. We define our own variables to reduce the risk of
24 dnl breaking if autoconf changes (private) variable names.
25 -AC_CHECK_HEADERS(ncurses.h)
26 +AC_CHECK_HEADERS(ncurses/ncurses.h)
27 AC_CHECK_LIB(ncurses, initscr, NCURSES_LIBS="-lncurses")
28 AC_SUBST(NCURSES_LIBS)
29 if test x"$NCURSES_LIBS" = x"" ; then
30 Tylko w gpsd-2.39.new/: configure.ac~
31 diff -ur gpsd-2.39/gpsmon.c gpsd-2.39.new/gpsmon.c
32 --- gpsd-2.39/gpsmon.c 2009-03-18 18:37:56.000000000 +0100
33 +++ gpsd-2.39.new/gpsmon.c 2009-06-08 13:42:31.817981645 +0200
35 #include <sys/ioctl.h> /* for O_RDWR */
37 #include "gpsd_config.h"
38 -#ifdef HAVE_NCURSES_H
42 -#endif /* HAVE_NCURSES_H */
43 +#include <ncurses/ncurses.h>
47 Tylko w gpsd-2.39.new/: gpsmon.c~
48 diff -ur gpsd-2.39/monitor_italk.c gpsd-2.39.new/monitor_italk.c
49 --- gpsd-2.39/monitor_italk.c 2009-03-06 21:15:24.000000000 +0100
50 +++ gpsd-2.39.new/monitor_italk.c 2009-06-08 13:42:26.533324558 +0200
54 #include "gpsd_config.h"
55 -#ifdef HAVE_NCURSES_H
59 -#endif /* HAVE_NCURSES_H */
60 +#include <ncurses/ncurses.h>
64 Tylko w gpsd-2.39.new/: monitor_italk.c~
65 diff -ur gpsd-2.39/monitor_nmea.c gpsd-2.39.new/monitor_nmea.c
66 --- gpsd-2.39/monitor_nmea.c 2009-03-06 15:53:41.000000000 +0100
67 +++ gpsd-2.39.new/monitor_nmea.c 2009-06-08 13:42:46.875150797 +0200
71 #include "gpsd_config.h"
72 -#ifdef HAVE_NCURSES_H
76 -#endif /* HAVE_NCURSES_H */
77 +#include <ncurses/ncurses.h>
81 Tylko w gpsd-2.39.new/: monitor_nmea.c~
82 diff -ur gpsd-2.39/monitor_proto.c gpsd-2.39.new/monitor_proto.c
83 --- gpsd-2.39/monitor_proto.c 2009-03-03 14:17:16.000000000 +0100
84 +++ gpsd-2.39.new/monitor_proto.c 2009-06-08 13:43:01.449954577 +0200
88 #include "gpsd_config.h"
89 -#ifdef HAVE_NCURSES_H
93 -#endif /* HAVE_NCURSES_H */
94 +#include <ncurses/ncurses.h>
98 Tylko w gpsd-2.39.new/: monitor_proto.c~
99 diff -ur gpsd-2.39/monitor_sirf.c gpsd-2.39.new/monitor_sirf.c
100 --- gpsd-2.39/monitor_sirf.c 2009-03-06 15:53:41.000000000 +0100
101 +++ gpsd-2.39.new/monitor_sirf.c 2009-06-08 13:43:14.793316927 +0200
105 #include "gpsd_config.h"
106 -#ifdef HAVE_NCURSES_H
107 -#include <ncurses.h>
110 -#endif /* HAVE_NCURSES_H */
111 +#include <ncurses/ncurses.h>
115 Tylko w gpsd-2.39.new/: monitor_sirf.c~
116 diff -ur gpsd-2.39/monitor_superstar2.c gpsd-2.39.new/monitor_superstar2.c
117 --- gpsd-2.39/monitor_superstar2.c 2009-03-06 21:15:24.000000000 +0100
118 +++ gpsd-2.39.new/monitor_superstar2.c 2009-06-08 13:43:29.506723380 +0200
122 #include "gpsd_config.h"
123 -#ifdef HAVE_NCURSES_H
124 -#include <ncurses.h>
127 -#endif /* HAVE_NCURSES_H */
128 +#include <ncurses/ncurses.h>
132 Tylko w gpsd-2.39.new/: monitor_superstar2.c~
133 diff -ur gpsd-2.39/monitor_ubx.c gpsd-2.39.new/monitor_ubx.c
134 --- gpsd-2.39/monitor_ubx.c 2009-03-12 13:52:21.000000000 +0100
135 +++ gpsd-2.39.new/monitor_ubx.c 2009-06-08 13:43:41.975022652 +0200
139 #include "gpsd_config.h"
140 -#ifdef HAVE_NCURSES_H
141 -#include <ncurses.h>
144 -#endif /* HAVE_NCURSES_H */
145 +#include <ncurses/ncurses.h>
149 Tylko w gpsd-2.39.new/: monitor_ubx.c~