]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
man-db: upgrade 2.12.1 -> 2.13.0
authorhongxu <hongxu.jia@eng.windriver.com>
Wed, 27 Nov 2024 23:35:57 +0000 (15:35 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 29 Nov 2024 18:25:54 +0000 (18:25 +0000)
Due to meta-clang has upgraded clang to 19.1.2 release [1]
which contains clang fix [2], drop 0001-man-Move-local-variable-declaration-to-function-scop.patch

[1] https://github.com/kraj/meta-clang/commit/d3180c5e597f587c822192caba3ceced2452b861
[2] https://github.com/llvm/llvm-project/commit/8bd06d5b6584

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/man-db/files/0001-man-Move-local-variable-declaration-to-function-scop.patch [deleted file]
meta/recipes-extended/man-db/man-db_2.13.0.bb [moved from meta/recipes-extended/man-db/man-db_2.12.1.bb with 94% similarity]

diff --git a/meta/recipes-extended/man-db/files/0001-man-Move-local-variable-declaration-to-function-scop.patch b/meta/recipes-extended/man-db/files/0001-man-Move-local-variable-declaration-to-function-scop.patch
deleted file mode 100644 (file)
index 57ecd48..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-From e4125223631f0d555fc327da6d8705bcc8ee5ba5 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Wed, 9 Feb 2022 17:30:16 -0800
-Subject: [PATCH] man: Move local variable declaration to function scope
-
-There is a clang bug [1] unearthed here, so help clang by re-arranging
-code without changing the logic, until its fixed in clang
-
-[1] https://github.com/llvm/llvm-project/issues/53692
-
-Upstream-Status: Inappropriate [Inappropriate: Clang bug]
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- src/man.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/man.c b/src/man.c
-index 195d35d..6870989 100644
---- a/src/man.c
-+++ b/src/man.c
-@@ -379,7 +379,7 @@ static void init_html_pager (void)
- static error_t parse_opt (int key, char *arg, struct argp_state *state)
- {
-       static bool apropos, whatis; /* retain values between calls */
--
-+      char *s;
-       /* Please keep these keys in the same order as in options above. */
-       switch (key) {
-               case 'C':
-@@ -411,7 +411,7 @@ static error_t parse_opt (int key, char *arg, struct argp_state *state)
-               case OPT_WARNINGS:
- #ifdef NROFF_WARNINGS
-                       {
--                              char *s = xstrdup
-+                              s = xstrdup
-                                       (arg ? arg : default_roff_warnings);
-                               const char *warning;
similarity index 94%
rename from meta/recipes-extended/man-db/man-db_2.12.1.bb
rename to meta/recipes-extended/man-db/man-db_2.13.0.bb
index 5c6797c8f13def5bd6d19f83ee821fbe567087fb..2fa18a8f24f17b8a2fab2bf8094d6386eb2f9ca1 100644 (file)
@@ -9,9 +9,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464 \
 
 SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/man-db/man-db-${PV}.tar.xz \
            file://99_mandb \
-           file://0001-man-Move-local-variable-declaration-to-function-scop.patch \
           "
-SRC_URI[sha256sum] = "ddee249daeb78cf92bab794ccd069cc8b575992265ea20e239e887156e880265"
+SRC_URI[sha256sum] = "82f0739f4f61aab5eb937d234de3b014e777b5538a28cbd31433c45ae09aefb9"
 
 DEPENDS = "libpipeline gdbm groff-native base-passwd"
 RDEPENDS:${PN} += "base-passwd"