summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/libedit
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-07-31 10:48:19 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-08-03 23:56:01 +0100
commitce120d296ecff7bab5e609830d91b340746cb417 (patch)
tree3b17bfb0debd6cabbb9fcd22ab159acb9d7593b9 /meta/recipes-devtools/libedit
parentdc1ab6482cfb30c714e7cbb421920943439a3fd6 (diff)
downloadpoky-ce120d296ecff7bab5e609830d91b340746cb417.tar.gz
libedit: Move from meta-oe
libedit is needed by llvm on linux and this makes it useful for both oe-core and clang layer among other users Thanks to various contributors in maintaing it in meta-oe (From OE-Core rev: cbbfac2a330ad5577a56b5d0fe74300acff287f8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/libedit')
-rw-r--r--meta/recipes-devtools/libedit/libedit/stdc-predef.patch18
-rw-r--r--meta/recipes-devtools/libedit/libedit_20190324-3.1.bb23
2 files changed, 41 insertions, 0 deletions
diff --git a/meta/recipes-devtools/libedit/libedit/stdc-predef.patch b/meta/recipes-devtools/libedit/libedit/stdc-predef.patch
new file mode 100644
index 0000000000..75ef308fad
--- /dev/null
+++ b/meta/recipes-devtools/libedit/libedit/stdc-predef.patch
@@ -0,0 +1,18 @@
1__STDC_ISO_10646__ is defined in stdc-predef.h
2therefore include it to see if its there on a platform
3
4Upstream-Status: Pending
5Signed-off-by: Khem Raj <raj.khem@gmail.com>
6
7Index: libedit-20160903-3.1/src/chartype.h
8===================================================================
9--- libedit-20160903-3.1.orig/src/chartype.h
10+++ libedit-20160903-3.1/src/chartype.h
11@@ -29,6 +29,7 @@
12 #ifndef _h_chartype_f
13 #define _h_chartype_f
14
15+#include <stdc-predef.h>
16 /* Ideally we should also test the value of the define to see if it
17 * supports non-BMP code points without requiring UTF-16, but nothing
18 * seems to actually advertise this properly, despite Unicode 3.1 having
diff --git a/meta/recipes-devtools/libedit/libedit_20190324-3.1.bb b/meta/recipes-devtools/libedit/libedit_20190324-3.1.bb
new file mode 100644
index 0000000000..01e7f36009
--- /dev/null
+++ b/meta/recipes-devtools/libedit/libedit_20190324-3.1.bb
@@ -0,0 +1,23 @@
1SUMMARY = "BSD replacement for libreadline"
2DESCRIPTION = "Command line editor library providing generic line editing, \
3history, and tokenization functions"
4HOMEPAGE = "http://www.thrysoee.dk/editline/"
5SECTION = "libs"
6LICENSE = "BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://COPYING;md5=1e4228d0c5a9093b01aeaaeae6641533"
8
9DEPENDS = "ncurses"
10
11inherit autotools
12
13# upstream site does not allow wget's User-Agent
14FETCHCMD_wget += "-U bitbake"
15SRC_URI = "http://www.thrysoee.dk/editline/${BP}.tar.gz \
16 file://stdc-predef.patch \
17 "
18SRC_URI[md5sum] = "bec755c8044ad84b752dfe49a0b371d8"
19SRC_URI[sha256sum] = "ac8f0f51c1cf65492e4d1e3ed2be360bda41e54633444666422fbf393bba1bae"
20
21UPSTREAM_CHECK_REGEX = "libedit-(?P<pver>\d+(\.\d+)+)\.tar.gz"
22
23BBCLASSEXTEND = "native nativesdk"