summaryrefslogtreecommitdiffstats
path: root/recipes/nano/nano-2.2.5
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-08-10 14:14:44 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2010-08-10 14:15:08 +0200
commitdb4786b7bef7abbefdd561fb3a5e42377da3a547 (patch)
tree6fd4b62348db24caa133b27a5fb1aa6ad56a0800 /recipes/nano/nano-2.2.5
parent27870493b20c1720c98969e3f0e821580c5a2d8a (diff)
downloadopenembedded-db4786b7bef7abbefdd561fb3a5e42377da3a547.tar.gz
nano: add version 2.2.5 and fix for using system ncursesw
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes/nano/nano-2.2.5')
-rw-r--r--recipes/nano/nano-2.2.5/ncursesw.includedir.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/nano/nano-2.2.5/ncursesw.includedir.patch b/recipes/nano/nano-2.2.5/ncursesw.includedir.patch
new file mode 100644
index 0000000000..0f224be396
--- /dev/null
+++ b/recipes/nano/nano-2.2.5/ncursesw.includedir.patch
@@ -0,0 +1,12 @@
+diff -uNr nano-2.2.5.orig//configure.ac nano-2.2.5/configure.ac
+--- nano-2.2.5.orig//configure.ac 2010-08-06 03:00:51.000000000 +0200
++++ nano-2.2.5/configure.ac 2010-08-10 14:11:52.000000000 +0200
+@@ -442,7 +442,7 @@
+ AC_CHECK_HEADERS(ncurses.h)
+
+ if test x$enable_utf8 != xno; then
+- AC_CHECK_LIB(ncursesw, get_wch, [CURSES_LIB="-lncursesw" CPPFLAGS="-I/usr/include/ncursesw $CPPFLAGS" CURSES_LIB_NAME=ncursesw CURSES_LIB_WIDE=yes])
++ AC_CHECK_LIB(ncursesw, get_wch, [CURSES_LIB="-lncursesw" CURSES_LIB_NAME=ncursesw CURSES_LIB_WIDE=yes])
+ fi
+
+ if eval "test x$CURSES_LIB_NAME = x"; then