diff options
| author | Khem Raj <raj.khem@gmail.com> | 2017-03-22 11:45:30 -0700 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-03-31 13:26:02 +0200 |
| commit | 9a3812e4b42e4855d75304979e625a78dfe23270 (patch) | |
| tree | 0108f7b462e839b75286b50d79e056ee7c5c896e | |
| parent | 9cd2b3fe97b2b041d293941207c54909f0206f3d (diff) | |
| download | meta-openembedded-9a3812e4b42e4855d75304979e625a78dfe23270.tar.gz | |
libedit: Update to 20160618-3.1 release
fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
| -rw-r--r-- | meta-oe/recipes-devtools/libedit/libedit/stdc-predef.patch | 17 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/libedit/libedit_20160903-3.1.bb (renamed from meta-oe/recipes-devtools/libedit/libedit_20160618-3.1.bb) | 9 |
2 files changed, 22 insertions, 4 deletions
diff --git a/meta-oe/recipes-devtools/libedit/libedit/stdc-predef.patch b/meta-oe/recipes-devtools/libedit/libedit/stdc-predef.patch new file mode 100644 index 0000000000..c95cdc9d2d --- /dev/null +++ b/meta-oe/recipes-devtools/libedit/libedit/stdc-predef.patch | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | __STDC_ISO_10646__ is defined in stdc-predef.h | ||
| 2 | therefore include it to see if its there on a platform | ||
| 3 | |||
| 4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 5 | |||
| 6 | Index: libedit-20160903-3.1/src/chartype.h | ||
| 7 | =================================================================== | ||
| 8 | --- libedit-20160903-3.1.orig/src/chartype.h | ||
| 9 | +++ libedit-20160903-3.1/src/chartype.h | ||
| 10 | @@ -29,6 +29,7 @@ | ||
| 11 | #ifndef _h_chartype_f | ||
| 12 | #define _h_chartype_f | ||
| 13 | |||
| 14 | +#include <stdc-predef.h> | ||
| 15 | /* Ideally we should also test the value of the define to see if it | ||
| 16 | * supports non-BMP code points without requiring UTF-16, but nothing | ||
| 17 | * seems to actually advertise this properly, despite Unicode 3.1 having | ||
diff --git a/meta-oe/recipes-devtools/libedit/libedit_20160618-3.1.bb b/meta-oe/recipes-devtools/libedit/libedit_20160903-3.1.bb index bda421d812..90b5a1d392 100644 --- a/meta-oe/recipes-devtools/libedit/libedit_20160618-3.1.bb +++ b/meta-oe/recipes-devtools/libedit/libedit_20160903-3.1.bb | |||
| @@ -12,9 +12,10 @@ inherit autotools | |||
| 12 | 12 | ||
| 13 | # upstream site does not allow wget's User-Agent | 13 | # upstream site does not allow wget's User-Agent |
| 14 | FETCHCMD_wget += "-U bitbake" | 14 | FETCHCMD_wget += "-U bitbake" |
| 15 | SRC_URI = "http://www.thrysoee.dk/editline/${BPN}-${PV}.tar.gz" | 15 | SRC_URI = "http://www.thrysoee.dk/editline/${BPN}-${PV}.tar.gz \ |
| 16 | file://stdc-predef.patch \ | ||
| 17 | " | ||
| 18 | SRC_URI[md5sum] = "0467d27684c453a351fbcefebbcb16a3" | ||
| 19 | SRC_URI[sha256sum] = "0ccbd2e7d46097f136fcb1aaa0d5bc24e23bb73f57d25bee5a852a683eaa7567" | ||
| 16 | 20 | ||
| 17 | S = "${WORKDIR}/${BPN}-${PV}" | 21 | S = "${WORKDIR}/${BPN}-${PV}" |
| 18 | |||
| 19 | SRC_URI[md5sum] = "b6e60f326a3fce91bea1a6fe4700af58" | ||
| 20 | SRC_URI[sha256sum] = "b6b159c0c6ec8a7f349ea2a75d8b960efa346c462c1ac4921f1ac0de85a9f5d6" | ||
