From a312e0cc124c1ff7d579aacbb8788fa60e9644e8 Mon Sep 17 00:00:00 2001 From: Ramon Fried Date: Fri, 12 Nov 2021 01:46:37 +0200 Subject: bitwise: Upgrade 0.42 -> 0.43 Signed-off-by: Ramon Fried Signed-off-by: Khem Raj --- meta-oe/recipes-extended/bitwise/bitwise_0.42.bb | 25 -------------------- meta-oe/recipes-extended/bitwise/bitwise_0.43.bb | 24 +++++++++++++++++++ ...ror-format-security-errors-with-mvwprintw.patch | 27 ---------------------- 3 files changed, 24 insertions(+), 52 deletions(-) delete mode 100644 meta-oe/recipes-extended/bitwise/bitwise_0.42.bb create mode 100644 meta-oe/recipes-extended/bitwise/bitwise_0.43.bb delete mode 100644 meta-oe/recipes-extended/bitwise/files/0001-Fix-Werror-format-security-errors-with-mvwprintw.patch (limited to 'meta-oe/recipes-extended/bitwise') diff --git a/meta-oe/recipes-extended/bitwise/bitwise_0.42.bb b/meta-oe/recipes-extended/bitwise/bitwise_0.42.bb deleted file mode 100644 index ebf4b3c5e6..0000000000 --- a/meta-oe/recipes-extended/bitwise/bitwise_0.42.bb +++ /dev/null @@ -1,25 +0,0 @@ -SUMMARY = "Bitwise terminal calculator" -DESCRIPTION = "Bitwise is multi base interactive calculator \ -supporting dynamic base conversion and bit manipulation.\ -It's a handy tool for low level hackers, \ -kernel developers and device drivers developers." - -HOMEPAGE = "https://github.com/mellowcandle/bitwise" -SECTION = "console/utils" - -LICENSE = "GPLv3" -LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464" - -SRC_URI = "https://github.com/mellowcandle/bitwise/releases/download/v${PV}/bitwise-v${PV}.tar.gz \ - file://0001-makefile.am-Fix-build-when-build-dir-is-not-same-as-.patch \ - file://0001-Fix-Werror-format-security-errors-with-mvwprintw.patch \ - " -SRC_URI[sha256sum] = "d3d43cef47bf8f49e85f7ed381c3eaf1df921ca51805e0962f1a97a517e1d1d2" - -UPSTREAM_CHECK_URI = "https://github.com/mellowcandle/bitwise/releases" - -S = "${WORKDIR}/${BPN}-v${PV}" - -DEPENDS = "ncurses readline" - -inherit autotools diff --git a/meta-oe/recipes-extended/bitwise/bitwise_0.43.bb b/meta-oe/recipes-extended/bitwise/bitwise_0.43.bb new file mode 100644 index 0000000000..f473ccaf5a --- /dev/null +++ b/meta-oe/recipes-extended/bitwise/bitwise_0.43.bb @@ -0,0 +1,24 @@ +SUMMARY = "Bitwise terminal calculator" +DESCRIPTION = "Bitwise is multi base interactive calculator \ +supporting dynamic base conversion and bit manipulation.\ +It's a handy tool for low level hackers, \ +kernel developers and device drivers developers." + +HOMEPAGE = "https://github.com/mellowcandle/bitwise" +SECTION = "console/utils" + +LICENSE = "GPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464" + +SRC_URI = "https://github.com/mellowcandle/bitwise/releases/download/v${PV}/bitwise-v${PV}.tar.gz \ + file://0001-makefile.am-Fix-build-when-build-dir-is-not-same-as-.patch \ + " +SRC_URI[sha256sum] = "f524f794188a10defc4df673d8cf0b3739f93e58e93aff0cdb8a99fbdcca2ffb" + +UPSTREAM_CHECK_URI = "https://github.com/mellowcandle/bitwise/releases" + +S = "${WORKDIR}/${BPN}-v${PV}" + +DEPENDS = "ncurses readline" + +inherit autotools diff --git a/meta-oe/recipes-extended/bitwise/files/0001-Fix-Werror-format-security-errors-with-mvwprintw.patch b/meta-oe/recipes-extended/bitwise/files/0001-Fix-Werror-format-security-errors-with-mvwprintw.patch deleted file mode 100644 index ebcb0dd5ee..0000000000 --- a/meta-oe/recipes-extended/bitwise/files/0001-Fix-Werror-format-security-errors-with-mvwprintw.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 53237c103b06f58ad9c2ce3914fcc7fe73629f11 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sat, 30 Oct 2021 01:11:33 -0700 -Subject: [PATCH] Fix -Werror=format-security errors with mvwprintw() - -Here a non-constant is used as a format string which -compiler complains about. Fix by using "%s" as format. - -Upstream-Status: Submitted [https://github.com/mellowcandle/bitwise/pull/49] -Signed-off-by: Khem Raj ---- - src/interactive.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/interactive.c b/src/interactive.c -index cce418a..2c0b152 100644 ---- a/src/interactive.c -+++ b/src/interactive.c -@@ -114,7 +114,7 @@ void update_history_win(void) - break; - } - -- mvwprintw(history_win, j, 2, history[history_pos - i].line); -+ mvwprintw(history_win, j, 2, "%s", history[history_pos - i].line); - } - - if (g_has_color) -- cgit v1.2.3-54-g00ecf