diff options
Diffstat (limited to 'meta/recipes-devtools/libedit')
-rw-r--r-- | meta/recipes-devtools/libedit/libedit/stdc-predef.patch | 18 | ||||
-rw-r--r-- | meta/recipes-devtools/libedit/libedit_20190324-3.1.bb | 23 |
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 | ||
2 | therefore include it to see if its there on a platform | ||
3 | |||
4 | Upstream-Status: Pending | ||
5 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
6 | |||
7 | Index: 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 @@ | |||
1 | SUMMARY = "BSD replacement for libreadline" | ||
2 | DESCRIPTION = "Command line editor library providing generic line editing, \ | ||
3 | history, and tokenization functions" | ||
4 | HOMEPAGE = "http://www.thrysoee.dk/editline/" | ||
5 | SECTION = "libs" | ||
6 | LICENSE = "BSD-3-Clause" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=1e4228d0c5a9093b01aeaaeae6641533" | ||
8 | |||
9 | DEPENDS = "ncurses" | ||
10 | |||
11 | inherit autotools | ||
12 | |||
13 | # upstream site does not allow wget's User-Agent | ||
14 | FETCHCMD_wget += "-U bitbake" | ||
15 | SRC_URI = "http://www.thrysoee.dk/editline/${BP}.tar.gz \ | ||
16 | file://stdc-predef.patch \ | ||
17 | " | ||
18 | SRC_URI[md5sum] = "bec755c8044ad84b752dfe49a0b371d8" | ||
19 | SRC_URI[sha256sum] = "ac8f0f51c1cf65492e4d1e3ed2be360bda41e54633444666422fbf393bba1bae" | ||
20 | |||
21 | UPSTREAM_CHECK_REGEX = "libedit-(?P<pver>\d+(\.\d+)+)\.tar.gz" | ||
22 | |||
23 | BBCLASSEXTEND = "native nativesdk" | ||