Openembedded Core Discussions
 help / color / mirror / Atom feed
From: wangmy@fujitsu.com
To: openembedded-core@lists.openembedded.org
Cc: Wang Mingyu <wangmy@fujitsu.com>
Subject: [OE-core] [PATCH 32/56] man-db: upgrade 2.13.0 -> 2.13.1
Date: Mon, 12 May 2025 17:03:15 +0800	[thread overview]
Message-ID: <1747040619-7566-32-git-send-email-wangmy@fujitsu.com> (raw)
In-Reply-To: <1747040619-7566-1-git-send-email-wangmy@fujitsu.com>

From: Wang Mingyu <wangmy@fujitsu.com>

0001-check-for-_nl_msg_cat_cntr-in-configure.patch
flex.patch
removed since they're included in 2.13.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 ...ck-for-_nl_msg_cat_cntr-in-configure.patch | 61 -------------------
 meta/recipes-extended/man-db/files/flex.patch | 36 -----------
 .../{man-db_2.13.0.bb => man-db_2.13.1.bb}    |  6 +-
 3 files changed, 2 insertions(+), 101 deletions(-)
 delete mode 100644 meta/recipes-extended/man-db/files/0001-check-for-_nl_msg_cat_cntr-in-configure.patch
 delete mode 100644 meta/recipes-extended/man-db/files/flex.patch
 rename meta/recipes-extended/man-db/{man-db_2.13.0.bb => man-db_2.13.1.bb} (92%)

diff --git a/meta/recipes-extended/man-db/files/0001-check-for-_nl_msg_cat_cntr-in-configure.patch b/meta/recipes-extended/man-db/files/0001-check-for-_nl_msg_cat_cntr-in-configure.patch
deleted file mode 100644
index feef52b11c..0000000000
--- a/meta/recipes-extended/man-db/files/0001-check-for-_nl_msg_cat_cntr-in-configure.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From ea00e32a87cc733dd5aa05cef407a5bee3e6db29 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Tue, 18 Mar 2025 22:42:45 -0700
-Subject: [PATCH] check for _nl_msg_cat_cntr in configure
-
-_nl_msg_cat_cntr is not available in all implementations e.g. musl libintl
-does not have it, therefore add a check to detect it and use it only if
-it is found.
-
-Upstream-Status: Backport [https://gitlab.com/man-db/man-db/-/commit/7430ca617b5cee3d4420da3158382c5ffbc3e77d]
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- configure.ac        | 9 +++++++++
- include/manconfig.h | 6 ++++--
- 2 files changed, 13 insertions(+), 2 deletions(-)
-
---- a/configure.ac
-+++ b/configure.ac
-@@ -404,6 +404,15 @@ AC_TYPE_PID_T
- AC_TYPE_UID_T
- AC_TYPE_SIZE_T
- 
-+dnl _nl_msg_cat_cntr is required for GNU gettext
-+AC_MSG_CHECKING([for _nl_msg_cat_cntr])
-+AC_LINK_IFELSE([AC_LANG_PROGRAM(
-+	[[#include <libintl.h>
-+	extern int _nl_msg_cat_cntr;]],
-+	[[++_nl_msg_cat_cntr;]])],
-+	AC_MSG_RESULT([yes]); AC_DEFINE([HAVE_NL_MSG_CAT_CNTR], [], [_nl_msg_cat_cntr from GNU Gettext]),
-+	AC_MSG_RESULT([no]))
-+
- # Check for pipeline library.
- PKG_CHECK_MODULES([libpipeline], [libpipeline >= 1.5.0])
- 
---- a/include/manconfig.h
-+++ b/include/manconfig.h
-@@ -24,6 +24,8 @@
- #ifndef MANCONFIG_H
- #define MANCONFIG_H
- 
-+#include "config.h"
-+
- /* STD_SECTIONS must contain all of your man hierarchy subdirectories. The
-    order is important. Manual pages will be displayed in this order. Ie
-    if "1" comes before "2", then a kill(1) will be displayed in preference to
-@@ -138,13 +140,13 @@
- #define UNLIKELY(cond) __builtin_expect ((cond), 0)
- 
- /* GNU gettext needs to know when the locale changes. This macro tells it. */
--#ifdef ENABLE_NLS
-+#ifdef HAVE_NL_MSG_CAT_CNTR
- extern int _nl_msg_cat_cntr;
- #  define locale_changed()                                                    \
- 	  do {                                                                \
- 		  ++_nl_msg_cat_cntr;                                         \
- 	  } while (0)
--#else /* !ENABLE_NLS */
-+#else /* !HAVE_NL_MSG_CAT_CNTR */
- #  define locale_changed()
- #endif /* ENABLE_NLS */
- 
diff --git a/meta/recipes-extended/man-db/files/flex.patch b/meta/recipes-extended/man-db/files/flex.patch
deleted file mode 100644
index c18be7e36a..0000000000
--- a/meta/recipes-extended/man-db/files/flex.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From d3f7c160bddf5d879c74e19e4f577882e8b22559 Mon Sep 17 00:00:00 2001
-From: Ross Burton <ross.burton@arm.com>
-Date: Wed, 22 Jan 2025 14:16:48 +0000
-Subject: [PATCH] configure: check for shipped generated sources in source
- directory
-
-The configure script fails if it can't find flex and the pregenerated
-source code isn't available, as is the case in builds from git whereas
-tarballs include the code.
-
-However this breaks with out-of-tree builds, where cwd during configure
-is the build directory not the source directory, and the pregenerated
-sources will always be inside the source directory.
-
-Upstream-Status: Submitted [https://gitlab.com/man-db/man-db/-/merge_requests/12]
-Signed-off-by: Ross Burton <ross.burton@arm.com>
----
- configure.ac | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index 7e9148fb..49a213fd 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -380,7 +380,7 @@ dnl To add more decompressors just follow the scheme above.
- dnl The "noyywrap" argument is new in Autoconf 2.70, but this also works
- dnl fine with older versions that ignore the argument.
- AC_PROG_LEX([noyywrap])
--if test "$LEX" = ":" && (test ! -e src/lexgrog.c || test ! -e src/zsoelim.c)
-+if test "$LEX" = ":" && (test ! -e $srcdir/src/lexgrog.c || test ! -e $srcdir/src/zsoelim.c)
- then
- 	AC_MSG_ERROR([flex is required when building from revision control])
- fi
--- 
-2.43.0
-
diff --git a/meta/recipes-extended/man-db/man-db_2.13.0.bb b/meta/recipes-extended/man-db/man-db_2.13.1.bb
similarity index 92%
rename from meta/recipes-extended/man-db/man-db_2.13.0.bb
rename to meta/recipes-extended/man-db/man-db_2.13.1.bb
index a0ce2150f9..f044a47f7d 100644
--- a/meta/recipes-extended/man-db/man-db_2.13.0.bb
+++ b/meta/recipes-extended/man-db/man-db_2.13.1.bb
@@ -8,11 +8,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464 \
                    "
 
 SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/man-db/man-db-${PV}.tar.xz \
-           file://flex.patch \
-           file://0001-check-for-_nl_msg_cat_cntr-in-configure.patch \
            file://99_mandb \
-          "
-SRC_URI[sha256sum] = "82f0739f4f61aab5eb937d234de3b014e777b5538a28cbd31433c45ae09aefb9"
+           "
+SRC_URI[sha256sum] = "8afebb6f7eb6bb8542929458841f5c7e6f240e30c86358c1fbcefbea076c87d9"
 
 DEPENDS = "libpipeline gdbm groff-native base-passwd"
 RDEPENDS:${PN} += "base-passwd"
-- 
2.43.0



  parent reply	other threads:[~2025-05-12  9:04 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-12  9:02 [OE-core] [PATCH 01/56] appstream: upgrade 1.0.4 -> 1.0.5 wangmy
2025-05-12  9:02 ` [OE-core] [PATCH 02/56] at-spi2-core: upgrade 2.56.1 -> 2.56.2 wangmy
2025-05-12  9:02 ` [OE-core] [PATCH 03/56] babeltrace2: upgrade 2.1.0 -> 2.1.1 wangmy
2025-05-12  9:02 ` [OE-core] [PATCH 04/56] barebox-tools: upgrade 2025.03.0 -> 2025.04.0 wangmy
2025-05-12  9:02 ` [OE-core] [PATCH 05/56] bind: upgrade 9.20.7 -> 9.20.8 wangmy
2025-05-12  9:02 ` [OE-core] [PATCH 06/56] boost: upgrade 1.87.0 -> 1.88.0 wangmy
2025-05-12  9:02 ` [OE-core] [PATCH 07/56] ca-certificates: upgrade 20241223 -> 20250419 wangmy
2025-05-12  9:02 ` [OE-core] [PATCH 08/56] ccache: upgrade 4.11.2 -> 4.11.3 wangmy
2025-05-12  9:02 ` [OE-core] [PATCH 09/56] cups: upgrade 2.4.11 -> 2.4.12 wangmy
2025-05-12  9:02 ` [OE-core] [PATCH 10/56] debianutils: upgrade 5.21 -> 5.22 wangmy
2025-05-12  9:02 ` [OE-core] [PATCH 11/56] diffstat: upgrade 1.67 -> 1.68 wangmy
2025-05-12  9:02 ` [OE-core] [PATCH 12/56] enchant2: upgrade 2.8.2 -> 2.8.4 wangmy
2025-05-12  9:02 ` [OE-core] [PATCH 13/56] epiphany: upgrade 48.0 -> 48.3 wangmy
2025-05-12  9:02 ` [OE-core] [PATCH 14/56] fmt: upgrade 11.1.4 -> 11.2.0 wangmy
2025-05-12  9:02 ` [OE-core] [PATCH 15/56] ghostscript: upgrade 10.05.0 -> 10.05.1 wangmy
2025-05-12  9:02 ` [OE-core] [PATCH 16/56] grep: upgrade 3.11 -> 3.12 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 17/56] harfbuzz: upgrade 11.1.0 -> 11.2.0 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 18/56] iso-codes: upgrade 4.17.0 -> 4.18.0 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 19/56] kexec-tools: upgrade 2.0.30 -> 2.0.31 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 20/56] libadwaita: upgrade 1.7.0 -> 1.7.2 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 21/56] libcgroup: upgrade 3.1.0 -> 3.2.0 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 22/56] libffi: upgrade 3.4.7 -> 3.4.8 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 23/56] libgpg-error: upgrade 1.51 -> 1.55 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 24/56] libjitterentropy: upgrade 3.6.2 -> 3.6.3 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 25/56] libjpeg-turbo: upgrade 3.0.1 -> 3.1.0 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 26/56] libpng: upgrade 1.6.47 -> 1.6.48 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 27/56] libsdl2: upgrade 2.32.4 -> 2.32.6 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 28/56] liburcu: upgrade 0.15.1 -> 0.15.2 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 29/56] libuv: upgrade 1.50.0 -> 1.51.0 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 30/56] libxft: upgrade 2.3.8 -> 2.3.9 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 31/56] libxkbcommon: upgrade 1.8.1 -> 1.9.2 wangmy
2025-05-12  9:03 ` wangmy [this message]
2025-05-12  9:03 ` [OE-core] [PATCH 33/56] openssh: upgrade 9.9p2 -> 10.0p1 wangmy
2025-05-12 13:22   ` Richard Purdie
2025-05-13 14:29     ` Peter Kjellerstedt
2025-05-14 14:07       ` Richard Purdie
2025-05-12  9:03 ` [OE-core] [PATCH 34/56] pixman: upgrade 0.44.2 -> 0.46.0 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 35/56] python3-calver: upgrade 2025.04.02 -> 2025.04.17 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 36/56] python3-certifi: upgrade 2025.1.31 -> 2025.4.26 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 37/56] python3-hatch-fancy-pypi-readme: upgrade 24.1.0 -> 25.1.0 wangmy
2025-05-14  6:41   ` Martin Jansa
2025-05-14  8:39     ` Mingyu Wang (Fujitsu)
2025-05-14  9:46       ` Martin Jansa
2025-05-12  9:03 ` [OE-core] [PATCH 38/56] python3-hypothesis: upgrade 6.131.0 -> 6.131.14 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 39/56] python3-jsonschema-specifications: upgrade 2024.10.1 -> 2025.4.1 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 40/56] python3-lxml: upgrade 5.3.2 -> 5.4.0 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 41/56] python3-mako: upgrade 1.3.9 -> 1.3.10 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 42/56] python3-markdown: upgrade 3.7 -> 3.8 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 43/56] python3-meson-python: upgrade 0.17.1 -> 0.18.0 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 44/56] python3-packaging: upgrade 24.2 -> 25.0 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 45/56] python3-pdm: upgrade 2.23.1 -> 2.24.1 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 46/56] python3-pip: upgrade 25.0.1 -> 25.1.1 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 47/56] python3-poetry-core: upgrade 2.1.2 -> 2.1.3 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 48/56] python3-pycairo: upgrade 1.27.0 -> 1.28.0 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 49/56] python3-typing-extensions: upgrade 4.13.1 -> 4.13.2 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 50/56] python3: upgrade 3.13.2 -> 3.13.3 wangmy
2025-05-12  9:33   ` Trevor Gamblin
2025-05-12  9:03 ` [OE-core] [PATCH 51/56] python3-yamllint: upgrade 1.37.0 -> 1.37.1 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 52/56] re2c: upgrade 4.1 -> 4.2 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 53/56] repo: upgrade 2.53 -> 2.54 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 54/56] resolvconf: upgrade 1.92 -> 1.93 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 55/56] shaderc: upgrade 2025.1 -> 2025.2 wangmy
2025-05-12  9:03 ` [OE-core] [PATCH 56/56] swig: upgrade 4.3.0 -> 4.3.1 wangmy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1747040619-7566-32-git-send-email-wangmy@fujitsu.com \
    --to=wangmy@fujitsu.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox