mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-30 00:50:00 +00:00
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>
This commit is contained in:
@@ -0,0 +1,17 @@
|
|||||||
|
__STDC_ISO_10646__ is defined in stdc-predef.h
|
||||||
|
therefore include it to see if its there on a platform
|
||||||
|
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
|
||||||
|
Index: libedit-20160903-3.1/src/chartype.h
|
||||||
|
===================================================================
|
||||||
|
--- libedit-20160903-3.1.orig/src/chartype.h
|
||||||
|
+++ libedit-20160903-3.1/src/chartype.h
|
||||||
|
@@ -29,6 +29,7 @@
|
||||||
|
#ifndef _h_chartype_f
|
||||||
|
#define _h_chartype_f
|
||||||
|
|
||||||
|
+#include <stdc-predef.h>
|
||||||
|
/* Ideally we should also test the value of the define to see if it
|
||||||
|
* supports non-BMP code points without requiring UTF-16, but nothing
|
||||||
|
* seems to actually advertise this properly, despite Unicode 3.1 having
|
||||||
+5
-4
@@ -12,9 +12,10 @@ inherit autotools
|
|||||||
|
|
||||||
# upstream site does not allow wget's User-Agent
|
# upstream site does not allow wget's User-Agent
|
||||||
FETCHCMD_wget += "-U bitbake"
|
FETCHCMD_wget += "-U bitbake"
|
||||||
SRC_URI = "http://www.thrysoee.dk/editline/${BPN}-${PV}.tar.gz"
|
SRC_URI = "http://www.thrysoee.dk/editline/${BPN}-${PV}.tar.gz \
|
||||||
|
file://stdc-predef.patch \
|
||||||
|
"
|
||||||
|
SRC_URI[md5sum] = "0467d27684c453a351fbcefebbcb16a3"
|
||||||
|
SRC_URI[sha256sum] = "0ccbd2e7d46097f136fcb1aaa0d5bc24e23bb73f57d25bee5a852a683eaa7567"
|
||||||
|
|
||||||
S = "${WORKDIR}/${BPN}-${PV}"
|
S = "${WORKDIR}/${BPN}-${PV}"
|
||||||
|
|
||||||
SRC_URI[md5sum] = "b6e60f326a3fce91bea1a6fe4700af58"
|
|
||||||
SRC_URI[sha256sum] = "b6b159c0c6ec8a7f349ea2a75d8b960efa346c462c1ac4921f1ac0de85a9f5d6"
|
|
||||||
Reference in New Issue
Block a user