]> git.pld-linux.org Git - packages/nload.git/blame - nload-ncurses.patch
- verbose files
[packages/nload.git] / nload-ncurses.patch
CommitLineData
f33e5f11 1diff -burNp nload-0.7.2/src/form_field.h nload-0.7.2-new/src/form_field.h
2--- nload-0.7.2/src/form_field.h 2008-02-02 17:14:34.000000000 +0100
3+++ nload-0.7.2-new/src/form_field.h 2008-10-11 15:11:46.903805424 +0200
4@@ -18,7 +18,7 @@
5 #ifndef FORM_FIELD_H
6 #define FORM_FIELD_H
7
8-#include <curses.h>
9+#include <ncurses/curses.h>
10 #include <form.h>
11 #undef clear
12 #undef erase
13diff -burNp nload-0.7.2/src/main.cpp nload-0.7.2-new/src/main.cpp
14--- nload-0.7.2/src/main.cpp 2008-06-28 11:42:04.000000000 +0200
15+++ nload-0.7.2-new/src/main.cpp 2008-10-11 15:12:12.630283324 +0200
16@@ -50,7 +50,7 @@
17
18 #include <ctype.h>
19 #include <time.h>
20-#include <curses.h>
21+#include <ncurses/curses.h>
22 #include <signal.h>
23 #include <string.h>
24 #undef clear
25diff -burNp nload-0.7.2/src/screen.cpp nload-0.7.2-new/src/screen.cpp
26--- nload-0.7.2/src/screen.cpp 2008-02-02 17:14:34.000000000 +0100
27+++ nload-0.7.2-new/src/screen.cpp 2008-10-11 15:12:45.029897584 +0200
28@@ -17,7 +17,7 @@
29
30 #include "screen.h"
31
32-#include <curses.h>
33+#include <ncurses/curses.h>
34 #undef clear
35 #undef erase
36 #undef refresh
37diff -burNp nload-0.7.2/src/window.h nload-0.7.2-new/src/window.h
38--- nload-0.7.2/src/window.h 2008-02-02 17:14:34.000000000 +0100
39+++ nload-0.7.2-new/src/window.h 2008-10-11 15:12:30.253233452 +0200
40@@ -22,7 +22,7 @@
41 #include <streambuf>
42 #include <string>
43
44-#include <curses.h>
45+#include <ncurses/curses.h>
46 #undef clear
47 #undef erase
48 #undef refresh
f33e5f11 49diff -burNp nload-0.7.2/configure.in nload-0.7.2-new/configure.in
50--- nload-0.7.2/configure.in 2008-06-28 11:50:24.000000000 +0200
51+++ nload-0.7.2-new/configure.in 2008-10-11 15:34:38.093125930 +0200
52@@ -75,12 +75,12 @@ AC_CHECK_LIB(form, new_form)
53
54 dnl Checks for header files.
55 AC_HEADER_STDC
56-AC_CHECK_HEADERS([limits.h stdlib.h string.h unistd.h curses.h form.h math.h sys/param.h sys/socket.h sys/time.h sys/ioctl.h arpa/inet.h netinet/in.h])
57+AC_CHECK_HEADERS([limits.h stdlib.h string.h unistd.h ncurses/curses.h ncurses/form.h math.h sys/param.h sys/socket.h sys/time.h sys/ioctl.h arpa/inet.h netinet/in.h])
58
59-if test "$ac_cv_lib_ncurses_initscr $ac_cv_header_curses_h" != "yes yes"; then
60+if test "$ac_cv_lib_ncurses_initscr $ac_cv_header_ncurses_curses_h" != "yes yes"; then
61 AC_MSG_ERROR([ncurses library or development files not found. ncurses is required for $PACKAGE_NAME.])
62 fi
63-if test "$ac_cv_lib_form_new_form $ac_cv_header_form_h" != "yes yes"; then
64+if test "$ac_cv_lib_form_new_form $ac_cv_header_ncurses_form_h" != "yes yes"; then
65 AC_MSG_ERROR([form library or development files not found. These are part of ncurses which is required for $PACKAGE_NAME.])
66 fi
67
This page took 0.09838 seconds and 4 git commands to generate.