]> git.pld-linux.org Git - packages/nano.git/commitdiff
- patch which allow build nano in enviroment with ncurses header files installed
authorkloczek <kloczek@pld-linux.org>
Sun, 11 May 2003 14:49:59 +0000 (14:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  in separated directory /usr/include/ncurses (patch posted to maintainer).

Changed files:
    nano-ncurses-ncurses.h.patch -> 1.1

nano-ncurses-ncurses.h.patch [new file with mode: 0644]

diff --git a/nano-ncurses-ncurses.h.patch b/nano-ncurses-ncurses.h.patch
new file mode 100644 (file)
index 0000000..31fce96
--- /dev/null
@@ -0,0 +1,22 @@
+--- nano-1.2.1/nano.h~ Sun May 11 16:35:14 2003
++++ nano-1.2.1/nano.h  Sun May 11 16:35:14 2003
+@@ -50,6 +50,8 @@
+ #define KEY_DC SL_KEY_DELETE
+ #elif defined(HAVE_NCURSES_H)
+ #include <ncurses.h>
++#elif defined(HAVE_NCURSES_NCURSES_H)
++#include <ncurses/ncurses.h>
+ #else /* Uh oh */
+ #include <curses.h> 
+ #endif /* CURSES_H */
+--- nano-1.2.1/configure.ac~   Sun May 11 16:36:24 2003
++++ nano-1.2.1/configure.ac    Sun May 11 16:36:24 2003
+@@ -295,7 +295,7 @@
+ if eval "test x$CURSES_LIB_NAME = x"
+ then
+-    AC_CHECK_HEADERS(curses.h ncurses.h)
++    AC_CHECK_HEADERS(curses.h ncurses.h ncurses/ncurses.h)
+     AC_CHECK_LIB(ncurses, tgetent, [CURSES_LIB="-lncurses" CURSES_LIB_NAME=ncurses])
+ fi
This page took 0.104514 seconds and 4 git commands to generate.