diff mbox

[1/2] nano: Add version 2.3.1

Message ID a36089ff6e9500b94193e7ed4338f339f0ae7e7f.1363683947.git.jacob.kjaergaard@prevas.dk
State Accepted
Delegated to: Esben Haabendal
Headers show

Commit Message

Jacob Kjaergaard March 19, 2013, 9:06 a.m. UTC
From: Jacob Kjaergaard <jacob.kjaergaard@prevas.dk>

---
 recipes/nano/nano-2.3.1/ncursesw.includedir.patch |   12 ++++++++++++
 recipes/nano/nano_2.3.1.oe                        |    5 +++++
 recipes/nano/nano_2.3.1.oe.sig                    |    1 +
 3 files changed, 18 insertions(+)
 create mode 100644 recipes/nano/nano-2.3.1/ncursesw.includedir.patch
 create mode 100644 recipes/nano/nano_2.3.1.oe
 create mode 100644 recipes/nano/nano_2.3.1.oe.sig
diff mbox

Patch

diff --git a/recipes/nano/nano-2.3.1/ncursesw.includedir.patch b/recipes/nano/nano-2.3.1/ncursesw.includedir.patch
new file mode 100644
index 0000000..0f224be
--- /dev/null
+++ b/recipes/nano/nano-2.3.1/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.3.1.oe b/recipes/nano/nano_2.3.1.oe
new file mode 100644
index 0000000..b99408f
--- /dev/null
+++ b/recipes/nano/nano_2.3.1.oe
@@ -0,0 +1,5 @@ 
+LICENSE = "GPL-3.0+"
+
+include nano.inc
+
+SRC_URI += "file://ncursesw.includedir.patch"
diff --git a/recipes/nano/nano_2.3.1.oe.sig b/recipes/nano/nano_2.3.1.oe.sig
new file mode 100644
index 0000000..68f7552
--- /dev/null
+++ b/recipes/nano/nano_2.3.1.oe.sig
@@ -0,0 +1 @@ 
+bd1993189f82649b4960b1ccd7142a61f43f2993  nano-2.3.1.tar.gz