1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

man-db: upgrade 2.12.1 -> 2.13.0

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

(From OE-Core rev: 779218621fc5c3c0498c489510a93f50528fba41)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
hongxu
2024-11-27 15:35:57 -08:00
committed by Richard Purdie
parent b35dc1a99d
commit 3fd568f186
2 changed files with 1 additions and 40 deletions
@@ -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;
@@ -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"