mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 18:49:32 +02:00
expect: update code for Tcl channel implementation
Tcl 8.4.0 changed the channel implementation, take a patch submitted upstream to update the code for the new interface and remove the silencing of the incompatible assignment error which was due to this issue. (From OE-Core rev: 20cadf7b66f30e8a3b409b4a96eced614ac21013) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
committed by
Steve Sakoman
parent
c8a81cd75f
commit
357a4beab6
@@ -28,6 +28,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/expect/Expect/${PV}/${BPN}${PV}.tar.gz \
|
||||
file://0001-fixline1-fix-line-1.patch \
|
||||
file://0001-Add-prototype-to-function-definitions.patch \
|
||||
file://expect-configure-c99.patch \
|
||||
file://tcl840.patch \
|
||||
file://run-ptest \
|
||||
"
|
||||
SRC_URI[md5sum] = "00fce8de158422f5ccd2666512329bd2"
|
||||
@@ -82,7 +83,3 @@ FILES:${PN} += "${libdir}/libexpect${PV}.so \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
# http://errors.yoctoproject.org/Errors/Details/766950/
|
||||
# expect5.45.4/exp_chan.c:62:5: error: initialization of 'struct Tcl_ChannelTypeVersion_ *' from incompatible pointer type 'int (*)(void *, int)' [-Wincompatible-pointer-types]
|
||||
CFLAGS += "-Wno-error=incompatible-pointer-types"
|
||||
|
||||
Reference in New Issue
Block a user