From 8195cff91100a2051c19df104f46c61c7b4f3b93 Mon Sep 17 00:00:00 2001 From: Zang Ruochen Date: Wed, 13 Nov 2019 13:25:13 +0800 Subject: libedit: upgrade 20190324 -> 20191025 -libedit/0001-readline.c-fix-cannot-get-history.patch Removed since this is included in 20191025-3.1. (From OE-Core rev: a29bb560de072e669835e16d65ef50b72583a081) Signed-off-by: Zang Ruochen Signed-off-by: Richard Purdie --- .../0001-readline.c-fix-cannot-get-history.patch | 34 ---------------------- .../libedit/libedit_20190324-3.1.bb | 20 ------------- .../libedit/libedit_20191025-3.1.bb | 19 ++++++++++++ 3 files changed, 19 insertions(+), 54 deletions(-) delete mode 100644 meta/recipes-devtools/libedit/libedit/0001-readline.c-fix-cannot-get-history.patch delete mode 100644 meta/recipes-devtools/libedit/libedit_20190324-3.1.bb create mode 100644 meta/recipes-devtools/libedit/libedit_20191025-3.1.bb diff --git a/meta/recipes-devtools/libedit/libedit/0001-readline.c-fix-cannot-get-history.patch b/meta/recipes-devtools/libedit/libedit/0001-readline.c-fix-cannot-get-history.patch deleted file mode 100644 index 7e54ac97ea..0000000000 --- a/meta/recipes-devtools/libedit/libedit/0001-readline.c-fix-cannot-get-history.patch +++ /dev/null @@ -1,34 +0,0 @@ -From ef1fa9bef497d9491a51017f3cad0135a23bb0b4 Mon Sep 17 00:00:00 2001 -From: Changqing Li -Date: Tue, 20 Aug 2019 17:33:15 +0800 -Subject: [PATCH] readline.c: fix cannot get history - -if history_offset not increate when add history, -it will make current history event not align with offset, -and cannot get history correctly. - -Upstream-Status: Submitted [tech-userlevel@NetBSD.org] - -Signed-off-by: Changqing Li ---- - src/readline.c | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/src/readline.c b/src/readline.c -index 43ac5bd..54b0548 100644 ---- a/src/readline.c -+++ b/src/readline.c -@@ -1476,7 +1476,10 @@ add_history(const char *line) - if (ev.num == history_length) - history_base++; - else -+ { -+ history_offset++; - history_length = ev.num; -+ } - return 0; - } - --- -2.7.4 - diff --git a/meta/recipes-devtools/libedit/libedit_20190324-3.1.bb b/meta/recipes-devtools/libedit/libedit_20190324-3.1.bb deleted file mode 100644 index 25667ccce7..0000000000 --- a/meta/recipes-devtools/libedit/libedit_20190324-3.1.bb +++ /dev/null @@ -1,20 +0,0 @@ -SUMMARY = "BSD replacement for libreadline" -DESCRIPTION = "Command line editor library providing generic line editing, \ -history, and tokenization functions" -HOMEPAGE = "http://www.thrysoee.dk/editline/" -SECTION = "libs" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://COPYING;md5=1e4228d0c5a9093b01aeaaeae6641533" - -DEPENDS = "ncurses" - -inherit autotools - -SRC_URI = "http://www.thrysoee.dk/editline/${BP}.tar.gz \ - file://stdc-predef.patch \ - file://0001-readline.c-fix-cannot-get-history.patch \ - " -SRC_URI[md5sum] = "bec755c8044ad84b752dfe49a0b371d8" -SRC_URI[sha256sum] = "ac8f0f51c1cf65492e4d1e3ed2be360bda41e54633444666422fbf393bba1bae" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/libedit/libedit_20191025-3.1.bb b/meta/recipes-devtools/libedit/libedit_20191025-3.1.bb new file mode 100644 index 0000000000..f810013a68 --- /dev/null +++ b/meta/recipes-devtools/libedit/libedit_20191025-3.1.bb @@ -0,0 +1,19 @@ +SUMMARY = "BSD replacement for libreadline" +DESCRIPTION = "Command line editor library providing generic line editing, \ +history, and tokenization functions" +HOMEPAGE = "http://www.thrysoee.dk/editline/" +SECTION = "libs" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://COPYING;md5=1e4228d0c5a9093b01aeaaeae6641533" + +DEPENDS = "ncurses" + +inherit autotools + +SRC_URI = "http://www.thrysoee.dk/editline/${BP}.tar.gz \ + file://stdc-predef.patch \ + " +SRC_URI[md5sum] = "2d6568467080cfd75e715d045102b544" +SRC_URI[sha256sum] = "6dff036660d478bfaa14e407fc5de26d22da1087118c897b1a3ad2e90cb7bf39" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf