[oe-commits] Martin Jansa : nano: add version 2.2.5 and fix for using system ncursesw

git version control git at git.openembedded.org
Tue Aug 10 12:15:26 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: db4786b7bef7abbefdd561fb3a5e42377da3a547
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=db4786b7bef7abbefdd561fb3a5e42377da3a547

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Tue Aug 10 14:14:44 2010 +0200

nano: add version 2.2.5 and fix for using system ncursesw

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 recipes/nano/nano-2.2.5/ncursesw.includedir.patch |   12 ++++++++++++
 recipes/nano/nano_2.2.5.bb                        |    8 ++++++++
 2 files changed, 20 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 0000000..0f224be
--- /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
diff --git a/recipes/nano/nano_2.2.5.bb b/recipes/nano/nano_2.2.5.bb
new file mode 100644
index 0000000..e656f46
--- /dev/null
+++ b/recipes/nano/nano_2.2.5.bb
@@ -0,0 +1,8 @@
+include nano.inc
+
+PR = "${INC_PR}.0"
+
+SRC_URI += "file://ncursesw.includedir.patch"
+
+SRC_URI[md5sum] = "77a10a49589f975ce98350a4527a2ebf"
+SRC_URI[sha256sum] = "9015945d1badabbada203b37c4779d3dd1066234235c714deb439989c5cd7d9e"





More information about the Openembedded-commits mailing list