subtree updates

meta-raspberrypi: 95a9103f91..92a9b7a012:
  Michał Kluska (1):
        rpi-base: Added missing HiFiBerry

meta-openembedded: 9f0e513211..a0237019f5:
  Alexander Stein (1):
        libkcapi: Update HOMEPAGE url

  Changqing Li (4):
        syslog-ng: upgrade 4.0.1 -> 4.6.0
        multipath-tools: upgrade 0.9.3 -> 0.9.8
        nodejs: upgrade 20.11.0 -> 20.11.1
        postgresql: upgrade 15.5 -> 16.2

  Joe Slater (1):
        googletest: allow for shared libraries

  Khem Raj (17):
        python3-fastjsonschema: Add missing ptest deps
        python3-gpiod: Tests rely on configfs support in kernel
        python3-pyzmq: Add missing dep on python3-unixadmin for ptests
        python3-betamax: Upgrade to 0.9.0
        libgpiod: Tests rely on configfs support in kernel
        keyutils: Add missing rdep for ptests
        fuse3: Make kmod as a recommendation instead of rdep for ptests
        drbd-utils: Disable warnings as errors
        influxdb: Define GOPROXY
        crucible: Define GOPROXY
        syzkaller: Fix build with go 1.21
        e2tools: Delete unneeded files from ptest package
        ptest-packagelists-meta-oe: Move libgpiod out of PTESTS_PROBLEMS_META_OE
        ptest-packagelists-meta-python: Move py3-libgpiod out of PTESTS_PROBLEMS_META_PYTHON
        pgpool2: Upgrade to 4.5.1
        pgpool2: Fix build with postgresql 16+
        emacs: Add packageconfig for selinux support

  Krupal Ka Patel (1):
        python3-aiohappyeyeballs: Correct the typo of BBCLASSEXTEND

  Markus Volk (3):
        folks: update 0.15.6 -> 0.15.7
        mozjs-115: update 115.6.0 -> 115.8.0
        polkit: update 123 -> 124

  Martin Jansa (3):
        ristretto: use python3native and depend on glib-2.0-native, python3-packaging-native
        xfce4-notifyd: use python3native and depend on python3-packaging-native
        fuse3: use 4 spaces for indentation

  Mingli Yu (1):
        nlohmann-json: Upgrade to 3.11.3

  Randolph Sapp (1):
        glmark2: add upstream patch to not care about stencil config

  Ulrich Ölmann (1):
        signing.bbclass: fix typos

  Xiangyu Chen (3):
        iperf3: upgrade 3.15 -> 3.16
        grpc: upgrade 1.60.0 -> 1.60.1
        drbd-utils: upgrade 9.22.0 -> 9.27.0

  Yi Zhao (7):
        openipmi: fix do_configure error when using dash
        cryptsetup: upgrade 2.6.1 -> 2.7.0
        layer.conf: Add nativesdk-libdevmapper PREFERRED_RPROVIDER
        krb5: upgrade 1.20.2 -> 1.21.2
        postfix: upgrade 3.7.3 -> 3.8.5
        openldap: upgrade 2.5.16 -> 2.6.7
        openvpn: upgrade 2.6.7 -> 2.6.9

  Yoann Congal (3):
        drbd-utils: Drop a duplicated line in DESCRIPTION
        drbd-utils: Fix a udev rule reproducibility
        toybox-inittab: Fix serial getty reproducibility

  alperak (9):
        python3-google-auth: upgrade 2.28.0 -> 2.28.1
        python3-netaddr: upgrade 0.10.1 -> 1.2.1 and add ptest
        ptest-packagelists-meta-python: Move python3-xlrd from PTESTS_PROBLEMS_META_PYTHON to PTESTS_FAST_META_PYTHON
        python3-wrapt: add ptest
        python3-freezegun: add recipe and add ptest
        python3-dateutil: upgrade 2.8.2 -> 2.9.0
        python3-types-python-dateutil: add recipe
        python3-arrow: add ptest, update backend and runtime dependencies
        python3-marshmallow: upgrade 3.20.2 -> 3.21.1 and add ptest

poky: 25d60ac6f6..7165c23237:
  Alexander Kanavin (48):
        xz: correct upstream version check
        python3-sphinxcontrib-jquery: add a recipe and make python3-sphinx-rtd-theme depend on it
        acl: upgrade 2.3.1 -> 2.3.2
        appstream: upgrade 1.0.0 -> 1.0.2
        boost: upgrade 1.83.0 -> 1.84.0
        btrfs-tools: upgrade 6.5.3 -> 6.7.1
        dnf: upgrade 4.18.2 -> 4.19.0
        diffoscope: upgrade 253 -> 259
        ell: upgrade 0.62 -> 0.63
        elfutils: upgrade 0.189 -> 0.191
        epiphany: upgrade 45.1 -> 45.3
        gettext: upgrade 0.22.4 -> 0.22.5
        glib-2.0: upgrade 2.78.3 -> 2.78.4
        glib-networking: upgrade 2.78.0 -> 2.78.1
        kmscube: upgrade to latest revision
        libbsd: upgrade 0.11.8 -> 0.12.1
        libdnf: update 0.72.0 -> 0.73.0
        libpciaccess: upgrade 0.17 -> 0.18
        libpcre2: upgrade 10.42 -> 10.43
        librepo: update 1.16.0 -> 1.17.0
        libusb1: upgrade 1.0.26 -> 1.0.27
        libxml2: upgrade 2.11.5 -> 2.12.5
        linux-firmware: upgrade 20231211 -> 20240220
        librsvg: upgrade 2.56.3 -> 2.57.1
        lsof: upgrade 4.98.0 -> 4.99.3
        man-pages: upgrade 6.05.01 -> 6.06
        mc: upgrade 4.8.30 -> 4.8.31
        mesa: upgrade 24.0.1 -> 24.0.2
        minicom: upgrade 2.8 -> 2.9
        nghttp2: upgrade 1.59.0 -> 1.60.0
        orc: upgrade 0.4.37 -> 0.4.38
        puzzles: upgrade to latest revision
        piglit: upgrade to latest revision
        python3-build: upgrade 1.0.3 -> 1.1.1
        python3-dtschema: upgrade 2023.7 -> 2024.2
        python3-jsonschema: upgrade 4.17.3 -> 4.21.1 and add new dependencies
        python3-ruamel-yaml: upgrade 0.17.35 -> 0.18.6
        python3-setuptools: upgrade 69.0.3 -> 69.1.1
        python3-wcwidth: upgrade 0.2.12 -> 0.2.13
        repo: upgrade 2.41 -> 2.42
        shaderc: update 2023.7 -> 2023.8
        systemd: upgrade 255.1 -> 255.4
        ttyrun: upgrade 2.30.0 -> 2.31.0
        taglib: upgrade 1.13.1 -> 2.0 and add utfcpp recipe to support that
        update-rc.d: upgrade to latest revision
        vala: upgrade 0.56.13 -> 0.56.15
        vulkan: upgrade 1.3.268.0 -> 1.3.275.0
        webkitgtk: upgrade 2.42.2 -> 2.42.5

  Bruce Ashfield (3):
        linux-yocto/cfg/6.6: drop CONFIG_DEBUG_CREDENTIALS
        linux-yocto/6.6: update to v6.6.20
        linux-yocto/6.6: update CVE exclusions

  Changqing Li (3):
        rxvt-unicode: Fix installing of terminfo
        systemd: fix dead link /var/log/README
        go: filter out build specific path from the linker flags

  Chen Qi (2):
        systemd: use RDEPENDS for systemd-vconsole-setup
        systemd: remove systemd-bus-proxy settings

  Christian Taedcke (1):
        image_types.bbclass: fix vfat image names

  Eilís 'pidge' Ní Fhlannagáin (6):
        qemurunner.py: Fix error on calls to run_monitor
        screenshot-tests: Add initial screenshot test png files for core-image-sato
        oeqa/runtime/login: Proof of concept for screenshot testcases
        oeqa/runtime/login: Exclude qemuriscv64
        oeqa/runtime/login: Add screenshot sample logic/timeout/dbus-wait
        sstatetests.py: Add testing for correct sstate permissions

  Fabio Estevam (1):
        u-boot: Move UBOOT_INITIAL_ENV back to u-boot.inc

  Geoff Parker (1):
        ref-manual: variables: adding multiple groups in GROUPADD_PARAM

  Johan Bezem (1):
        ref-manual: variables: correct sdk installation default path

  Jose Quaresma (7):
        go: rework patch to avoid identation
        go: bump 1.21.0
        goarch: disable dynamic linking globally
        oeqa/gotoolchain: set GOPROXY
        go: upgrade 1.21.0 -> 1.21.5
        go: upgrade 1.21.5 -> 1.21.7
        go: bump 1.22.0

  Khem Raj (4):
        mesa,mesa-gl: Fix build when dri3 is not enabled
        linux-yocto: Enable gpio-sim with ptests
        rust: Fix build failure re-appeared on riscv32
        gdb: Upgrade 14.1 -> 14.2

  Luca Ceresoli (2):
        ref-manual: tasks: do_cleanall: recommend using '-f' instead
        ref-manual: tasks: do_cleansstate: recommend using '-f' instead for a shared sstate

  Markus Volk (1):
        gtk+3: update 3.24.38 -> 3.24.41

  Michael Opdenacker (4):
        core-image-full-cmdline: add package-management
        bitbake: utils: remove BB_ENV_PASSTHROUGH from preserved_envvars()
        dev-manual: packages: fix capitalization
        manuals: document VIRTUAL-RUNTIME variables

  Randy MacLeod (1):
        valgrind: skip intermittently failing ptests

  Richard Purdie (9):
        no-gplv3: Tweak for packagemangement in core-image-full-cmdline
        qemu: Replace workaround with proper usermode fix for shmat
        bitbake: fetch/git: Avoid clean upon failure
        go: Further tweak indentation in patch
        go: Drop linkmode with nativesdk/cross-canadian
        libpng: Update SRC_URI to avoid redirects
        oeqa/runtime/login: Various code improvements and fixes
        oeqa/runtime/login: Mask out the mouse panel icon for now
        oeqa/runtime/login: Fix dbus-wait timeout and loop conditional

  Robert P. J. Day (1):
        python3-cryptography_42.0.5.bb: delete redundant ptest packaging

  Ross Burton (2):
        Add genericarm64 MACHINE
        rxvt: add rxvt to desktop entry name

  Simone Weiß (4):
        coreutils: backport patch to fix heap overflow in split
        qemu: backport patch for ui/clipboard issue
        ref-manual: classes: add cve status check for oe.qa
        contributor-guide: add notes for tests

  Tim Orling (1):
        python3-hypothesis: upgrade 6.98.12 -> 6.98.15

  Trevor Woerner (2):
        bmaptool: now part of Yocto Project
        dev-manual: bmaptool: rename

  Yi Zhao (1):
        expat: upgrdae 2.6.0 -> 2.6.1

  Yoann Congal (1):
        bitbake: prserv/serv: Fix a PID file removal race on prserv stop

Change-Id: Ie94e4df79e3d8f68aea3377f816d7106987a05f8
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/meta-openembedded/meta-oe/recipes-dbs/postgresql/files/0001-Add-support-for-RISC-V.patch b/meta-openembedded/meta-oe/recipes-dbs/postgresql/files/0001-Add-support-for-RISC-V.patch
index 7a4ba98..34d34ec 100644
--- a/meta-openembedded/meta-oe/recipes-dbs/postgresql/files/0001-Add-support-for-RISC-V.patch
+++ b/meta-openembedded/meta-oe/recipes-dbs/postgresql/files/0001-Add-support-for-RISC-V.patch
@@ -1,21 +1,19 @@
-From 780fd27ea6f7f2c446c46a7a5e26d94106c67efd Mon Sep 17 00:00:00 2001
+From ba079b8d6a50796db41bb0ddf4c22bfe022ef898 Mon Sep 17 00:00:00 2001
 From: "Richard W.M. Jones" <rjones@redhat.com>
 Date: Sun, 20 Nov 2016 15:04:52 +0000
-Subject: [PATCH] Add support for RISC-V.
+Subject: [PATCH 1/5] Add support for RISC-V.
 
 The architecture is sufficiently similar to aarch64 that simply
 extending the existing aarch64 macro works.
 ---
-Upstream-Status: Pending
-
- src/include/storage/s_lock.h | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
+ src/include/storage/s_lock.h | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
 
 diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h
-index 4d3ffc7..22e27bf 100644
+index c9fa84c..9b491e8 100644
 --- a/src/include/storage/s_lock.h
 +++ b/src/include/storage/s_lock.h
-@@ -317,11 +317,12 @@ tas(volatile slock_t *lock)
+@@ -252,11 +252,12 @@ spin_delay(void)
  
  /*
   * On ARM and ARM64, we use __sync_lock_test_and_set(int *, int) if available.
@@ -24,21 +22,20 @@
   * We use the int-width variant of the builtin because it works on more chips
   * than other widths.
   */
--#if defined(__arm__) || defined(__arm) || defined(__aarch64__) || defined(__aarch64)
-+#if defined(__arm__) || defined(__arm) || defined(__aarch64__) || defined(__aarch64) || defined(__riscv)
+-#if defined(__arm__) || defined(__arm) || defined(__aarch64__)
++#if defined(__arm__) || defined(__arm) || defined(__aarch64__) || defined(__riscv)
  #ifdef HAVE_GCC__SYNC_INT32_TAS
  #define HAS_TEST_AND_SET
  
-@@ -355,8 +356,7 @@ spin_delay(void)
+@@ -290,7 +291,7 @@ spin_delay(void)
  
- #endif	 /* __aarch64__ || __aarch64 */
+ #endif	 /* __aarch64__ */
  #endif	 /* HAVE_GCC__SYNC_INT32_TAS */
--#endif	 /* __arm__ || __arm || __aarch64__ || __aarch64 */
--
-+#endif	 /* __arm__ || __arm || __aarch64__ || __aarch64 || __riscv */
+-#endif	 /* __arm__ || __arm || __aarch64__ */
++#endif	 /* __arm__ || __arm || __aarch64__ || __riscv */
+ 
  
  /* S/390 and S/390x Linux (32- and 64-bit zSeries) */
- #if defined(__s390__) || defined(__s390x__)
 -- 
-2.34.1
+2.25.1
 
diff --git a/meta-openembedded/meta-oe/recipes-dbs/postgresql/files/0001-Improve-reproducibility.patch b/meta-openembedded/meta-oe/recipes-dbs/postgresql/files/0002-Improve-reproducibility.patch
similarity index 89%
rename from meta-openembedded/meta-oe/recipes-dbs/postgresql/files/0001-Improve-reproducibility.patch
rename to meta-openembedded/meta-oe/recipes-dbs/postgresql/files/0002-Improve-reproducibility.patch
index 02f4c9e..b3e87cb 100644
--- a/meta-openembedded/meta-oe/recipes-dbs/postgresql/files/0001-Improve-reproducibility.patch
+++ b/meta-openembedded/meta-oe/recipes-dbs/postgresql/files/0002-Improve-reproducibility.patch
@@ -1,7 +1,7 @@
-From bbba8a5261a99e79c9cd4693ef56021014a9856b Mon Sep 17 00:00:00 2001
+From 084cc44215c1d5e6d33bc3d2e1d24da4fc98bdcd Mon Sep 17 00:00:00 2001
 From: Changqing Li <changqing.li@windriver.com>
 Date: Mon, 28 Dec 2020 16:38:21 +0800
-Subject: [PATCH] Improve reproducibility,
+Subject: [PATCH 2/5] Improve reproducibility,
 
 Remove build patch from binaries which pg_config do
 not record var-CC, var-CFLAGS, and configure
@@ -23,7 +23,7 @@
  1 file changed, 3 deletions(-)
 
 diff --git a/src/common/Makefile b/src/common/Makefile
-index 880722f..7a9b9d4 100644
+index 113029b..58842a6 100644
 --- a/src/common/Makefile
 +++ b/src/common/Makefile
 @@ -31,9 +31,6 @@ include $(top_builddir)/src/Makefile.global
@@ -37,5 +37,5 @@
  override CPPFLAGS += -DVAL_LDFLAGS="\"$(STD_LDFLAGS)\""
  override CPPFLAGS += -DVAL_LDFLAGS_EX="\"$(LDFLAGS_EX)\""
 -- 
-2.34.1
+2.25.1
 
diff --git a/meta-openembedded/meta-oe/recipes-dbs/postgresql/files/0001-configure.ac-bypass-autoconf-2.69-version-check.patch b/meta-openembedded/meta-oe/recipes-dbs/postgresql/files/0003-configure.ac-bypass-autoconf-2.69-version-check.patch
similarity index 75%
rename from meta-openembedded/meta-oe/recipes-dbs/postgresql/files/0001-configure.ac-bypass-autoconf-2.69-version-check.patch
rename to meta-openembedded/meta-oe/recipes-dbs/postgresql/files/0003-configure.ac-bypass-autoconf-2.69-version-check.patch
index ab57805..d76d199 100644
--- a/meta-openembedded/meta-oe/recipes-dbs/postgresql/files/0001-configure.ac-bypass-autoconf-2.69-version-check.patch
+++ b/meta-openembedded/meta-oe/recipes-dbs/postgresql/files/0003-configure.ac-bypass-autoconf-2.69-version-check.patch
@@ -1,7 +1,7 @@
-From d44c83ed0f30462a31930d6d925762b3f8412ce2 Mon Sep 17 00:00:00 2001
+From 30b1b37d309f67ba6d58f2197bd917107bc7d56c Mon Sep 17 00:00:00 2001
 From: Yi Fan Yu <yifan.yu@windriver.com>
 Date: Fri, 5 Feb 2021 17:15:42 -0500
-Subject: [PATCH] configure.ac: bypass autoconf 2.69 version check
+Subject: [PATCH 3/5] configure.ac: bypass autoconf 2.69 version check
 
 for upgrade to autoconf 2.71
 
@@ -13,18 +13,18 @@
  1 file changed, 4 deletions(-)
 
 diff --git a/configure.ac b/configure.ac
-index e988503..d1b2cfd 100644
+index 401ce30..27f382d 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -19,10 +19,6 @@ m4_pattern_forbid(^PGAC_)dnl to catch undefined macros
  
- AC_INIT([PostgreSQL], [15.5], [pgsql-bugs@lists.postgresql.org], [], [https://www.postgresql.org/])
+ AC_INIT([PostgreSQL], [16.2], [pgsql-bugs@lists.postgresql.org], [], [https://www.postgresql.org/])
  
 -m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.69], [], [m4_fatal([Autoconf version 2.69 is required.
 -Untested combinations of 'autoconf' and PostgreSQL versions are not
 -recommended.  You can remove the check from 'configure.ac' but it is then
 -your responsibility whether the result works or not.])])
- AC_COPYRIGHT([Copyright (c) 1996-2022, PostgreSQL Global Development Group])
+ AC_COPYRIGHT([Copyright (c) 1996-2023, PostgreSQL Global Development Group])
  AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c])
  AC_CONFIG_AUX_DIR(config)
 -- 
diff --git a/meta-openembedded/meta-oe/recipes-dbs/postgresql/files/0001-config_info.c-not-expose-build-info.patch b/meta-openembedded/meta-oe/recipes-dbs/postgresql/files/0004-config_info.c-not-expose-build-info.patch
similarity index 83%
rename from meta-openembedded/meta-oe/recipes-dbs/postgresql/files/0001-config_info.c-not-expose-build-info.patch
rename to meta-openembedded/meta-oe/recipes-dbs/postgresql/files/0004-config_info.c-not-expose-build-info.patch
index 52ca276..ff0582a 100644
--- a/meta-openembedded/meta-oe/recipes-dbs/postgresql/files/0001-config_info.c-not-expose-build-info.patch
+++ b/meta-openembedded/meta-oe/recipes-dbs/postgresql/files/0004-config_info.c-not-expose-build-info.patch
@@ -1,7 +1,7 @@
-From b92eebe8b0760fee7bd55c6c22318620c2c07579 Mon Sep 17 00:00:00 2001
+From 5be3ffdf767c1efcbfd2d1be87aa83f2e37e348e Mon Sep 17 00:00:00 2001
 From: Mingli Yu <mingli.yu@windriver.com>
 Date: Mon, 1 Aug 2022 15:44:38 +0800
-Subject: [PATCH] config_info.c: not expose build info
+Subject: [PATCH 4/5] config_info.c: not expose build info
 
 Don't collect the build information to fix the buildpaths issue.
 
@@ -10,14 +10,14 @@
 Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
 ---
  configure.ac             |  2 +-
- src/common/config_info.c | 68 ----------------------------------------
- 2 files changed, 1 insertion(+), 69 deletions(-)
+ src/common/config_info.c | 70 +---------------------------------------
+ 2 files changed, 2 insertions(+), 70 deletions(-)
 
 diff --git a/configure.ac b/configure.ac
-index 0eb595b..508487b 100644
+index 27f382d..3dd6bb1 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -23,7 +23,7 @@ AC_COPYRIGHT([Copyright (c) 1996-2021, PostgreSQL Global Development Group])
+@@ -23,7 +23,7 @@ AC_COPYRIGHT([Copyright (c) 1996-2023, PostgreSQL Global Development Group])
  AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c])
  AC_CONFIG_AUX_DIR(config)
  AC_PREFIX_DEFAULT(/usr/local/pgsql)
@@ -27,19 +27,19 @@
  [PG_MAJORVERSION=`expr "$PACKAGE_VERSION" : '\([0-9][0-9]*\)'`]
  [PG_MINORVERSION=`expr "$PACKAGE_VERSION" : '.*\.\([0-9][0-9]*\)'`]
 diff --git a/src/common/config_info.c b/src/common/config_info.c
-index e72e729..b482c20 100644
+index 09e78a6..86e4230 100644
 --- a/src/common/config_info.c
 +++ b/src/common/config_info.c
-@@ -38,7 +38,7 @@
+@@ -38,7 +38,7 @@ get_configdata(const char *my_exec_path, size_t *configdata_len)
  	int			i = 0;
  
  	/* Adjust this to match the number of items filled below */
 -	*configdata_len = 23;
 +	*configdata_len = 14;
- 	configdata = (ConfigData *) palloc(*configdata_len * sizeof(ConfigData));
+ 	configdata = palloc_array(ConfigData, *configdata_len);
  
  	configdata[i].name = pstrdup("BINDIR");
-@@ -123,74 +123,6 @@
+@@ -123,74 +123,6 @@ get_configdata(const char *my_exec_path, size_t *configdata_len)
  	configdata[i].setting = pstrdup(path);
  	i++;
  
diff --git a/meta-openembedded/meta-oe/recipes-dbs/postgresql/files/0001-postgresql-fix-ptest-failure-of-sysviews.patch b/meta-openembedded/meta-oe/recipes-dbs/postgresql/files/0005-postgresql-fix-ptest-failure-of-sysviews.patch
similarity index 72%
rename from meta-openembedded/meta-oe/recipes-dbs/postgresql/files/0001-postgresql-fix-ptest-failure-of-sysviews.patch
rename to meta-openembedded/meta-oe/recipes-dbs/postgresql/files/0005-postgresql-fix-ptest-failure-of-sysviews.patch
index 4db36d2..af36da4 100644
--- a/meta-openembedded/meta-oe/recipes-dbs/postgresql/files/0001-postgresql-fix-ptest-failure-of-sysviews.patch
+++ b/meta-openembedded/meta-oe/recipes-dbs/postgresql/files/0005-postgresql-fix-ptest-failure-of-sysviews.patch
@@ -1,7 +1,7 @@
-From 9f81377dddfe32d950844d7053020a36b40fce08 Mon Sep 17 00:00:00 2001
+From 1a8b94140988d2ee5ff987b0bb3e7c3e936b8c01 Mon Sep 17 00:00:00 2001
 From: Manoj Saun <manojsingh.saun@windriver.com>
 Date: Wed, 22 Mar 2023 08:07:26 +0000
-Subject: [PATCH] postgresql: fix ptest failure of sysviews
+Subject: [PATCH 5/5] postgresql: fix ptest failure of sysviews
 
 The patch "0001-config_info.c-not-expose-build-info.patch" hides the debug info
 in pg_config table which reduces the count of rows from pg_config and leads to
@@ -18,9 +18,11 @@
  src/test/regress/sql/sysviews.sql      | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
 
+diff --git a/src/test/regress/expected/sysviews.out b/src/test/regress/expected/sysviews.out
+index 001c6e7..8256898 100644
 --- a/src/test/regress/expected/sysviews.out
 +++ b/src/test/regress/expected/sysviews.out
-@@ -29,7 +29,7 @@ select name, ident, parent, level, total
+@@ -29,7 +29,7 @@ select name, ident, parent, level, total_bytes >= free_bytes
  (1 row)
  
  -- At introduction, pg_config had 23 entries; it may grow
@@ -29,9 +31,11 @@
   ok 
  ----
   t
+diff --git a/src/test/regress/sql/sysviews.sql b/src/test/regress/sql/sysviews.sql
+index 351e469..84c113e 100644
 --- a/src/test/regress/sql/sysviews.sql
 +++ b/src/test/regress/sql/sysviews.sql
-@@ -18,7 +18,7 @@ select name, ident, parent, level, total
+@@ -18,7 +18,7 @@ select name, ident, parent, level, total_bytes >= free_bytes
    from pg_backend_memory_contexts where level = 0;
  
  -- At introduction, pg_config had 23 entries; it may grow
@@ -40,3 +44,6 @@
  
  -- We expect no cursors in this test; see also portals.sql
  select count(*) = 0 as ok from pg_cursors;
+-- 
+2.25.1
+
diff --git a/meta-openembedded/meta-oe/recipes-dbs/postgresql/postgresql.inc b/meta-openembedded/meta-oe/recipes-dbs/postgresql/postgresql.inc
index 15ecdee..868a2e4 100644
--- a/meta-openembedded/meta-oe/recipes-dbs/postgresql/postgresql.inc
+++ b/meta-openembedded/meta-oe/recipes-dbs/postgresql/postgresql.inc
@@ -54,7 +54,7 @@
 
 PACKAGECONFIG ??= " \
     ${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd', d)} \
-    openssl python uuid libxml tcl perl zlib \
+    openssl python uuid libxml tcl perl zlib icu \
 "
 PACKAGECONFIG[tcl] = "--with-tcl --with-tclconfig=${STAGING_BINDIR_CROSS},--without-tcl,tcl tcl-native,"
 PACKAGECONFIG[perl] = "--with-perl,--without-perl,perl,perl"
@@ -69,6 +69,7 @@
 PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib"
 PACKAGECONFIG[lz4] = "--with-lz4,--without-lz4,lz4"
 PACKAGECONFIG[openssl] = "--with-ssl=openssl,ac_cv_file__dev_urandom=yes,openssl"
+PACKAGECONFIG[icu] = "--with-icu,--without-icu,icu,icu"
 
 EXTRA_OECONF += "--enable-thread-safety --disable-rpath \
     --datadir=${datadir}/${BPN} \
@@ -229,6 +230,16 @@
 SSTATE_SCAN_FILES += "Makefile.global"
 SSTATE_SCAN_FILES:remove = "*_config"
 
+postgresql_fix_sources () {
+	for f in ${PKGD}${TARGET_DBGSRC_DIR}/src/pl/plperl/Util.c \
+			${PKGD}${TARGET_DBGSRC_DIR}/src/pl/plperl/SPI.c; do
+		if [ -e $f ]; then
+			sed -i -e 's#${B}/../${P}#${TARGET_DBGSRC_DIR}#g' $f
+		fi
+	done
+}
+PACKAGESPLITFUNCS =+ "postgresql_fix_sources"
+
 PACKAGES =+ "${PN}-client ${PN}-server-dev ${PN}-timezone \
     libecpg-compat libecpg-compat-dev \
     libecpg libecpg-dev libecpg-staticdev libecpg-doc \
diff --git a/meta-openembedded/meta-oe/recipes-dbs/postgresql/postgresql_15.5.bb b/meta-openembedded/meta-oe/recipes-dbs/postgresql/postgresql_15.5.bb
deleted file mode 100644
index cb90ff9..0000000
--- a/meta-openembedded/meta-oe/recipes-dbs/postgresql/postgresql_15.5.bb
+++ /dev/null
@@ -1,16 +0,0 @@
-require postgresql.inc
-
-LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=c31f662bb2bfb3b4187fe9a53e0ffe7c"
-
-SRC_URI += "\
-   file://not-check-libperl.patch \
-   file://0001-Add-support-for-RISC-V.patch \
-   file://0001-Improve-reproducibility.patch \
-   file://0001-configure.ac-bypass-autoconf-2.69-version-check.patch \
-   file://0001-config_info.c-not-expose-build-info.patch \
-   file://0001-postgresql-fix-ptest-failure-of-sysviews.patch \
-"
-
-SRC_URI[sha256sum] = "8f53aa95d78eb8e82536ea46b68187793b42bba3b4f65aa342f540b23c9b10a6"
-
-CVE_STATUS[CVE-2017-8806] = "not-applicable-config: Ddoesn't apply to out configuration of postgresql so we can safely ignore it."
diff --git a/meta-openembedded/meta-oe/recipes-dbs/postgresql/postgresql_16.2.bb b/meta-openembedded/meta-oe/recipes-dbs/postgresql/postgresql_16.2.bb
new file mode 100644
index 0000000..31f83a5
--- /dev/null
+++ b/meta-openembedded/meta-oe/recipes-dbs/postgresql/postgresql_16.2.bb
@@ -0,0 +1,16 @@
+require postgresql.inc
+
+LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=89afbb2d7716371015101c2b2cb4297a"
+
+SRC_URI += "\
+   file://not-check-libperl.patch \
+   file://0001-Add-support-for-RISC-V.patch \
+   file://0002-Improve-reproducibility.patch \
+   file://0003-configure.ac-bypass-autoconf-2.69-version-check.patch \
+   file://0004-config_info.c-not-expose-build-info.patch \
+   file://0005-postgresql-fix-ptest-failure-of-sysviews.patch \
+"
+
+SRC_URI[sha256sum] = "446e88294dbc2c9085ab4b7061a646fa604b4bec03521d5ea671c2e5ad9b2952"
+
+CVE_STATUS[CVE-2017-8806] = "not-applicable-config: Ddoesn't apply to out configuration of postgresql so we can safely ignore it."