Skip to contentSkip to conversation

cheese: Require x11 distro feature

PATCH New Khem Raj 1 participant 18 messages Apr 16

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/18 cheese: Require x11 distro feature

libcanberra needs to be compiled with gtk3 and x11 support otherwise cheese fails to find libcanberra-gtk3 package which makes it hard depend upon x11

---
 meta-gnome/recipes-gnome/cheese/cheese_44.1.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-gnome/recipes-gnome/cheese/cheese_44.1.bb +4 -1
index 8e78162991..62073ebd13 100644
@@ -5,7 +5,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a17cb0a873d252440acfdf9b3d0e7fbf"
 
 inherit gnomebase gobject-introspection vala itstool gtk-icon-cache gsettings gnome-help gtk-doc
 
-REQUIRED_DISTRO_FEATURES = "opengl"
+# x11 is needed due to libcanberra dependency which does not compile
+# gtk3 support with out it and cheese look for
+# | aarch64-yoe-linux-ld.lld: error: unable to find library -lcanberra-gtk3
+REQUIRED_DISTRO_FEATURES = "opengl x11"
 
 SRC_URI += "file://0001-libcheese-Add-GtkWidget-cast-to-avoid-an-incompatibl.patch"
 
author
#1 lore raw

PATCH 2/18 libcanberra: Upgrade to 0.30-20

* Revert "Disable tdb feature on loong64 for bootstrapping"

---
 .../{libcanberra_0.30-19.bb => libcanberra_0.30-20.bb}          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/libcanberra/{libcanberra_0.30-19.bb => libcanberra_0.30-20.bb} (97%)
meta-oe/recipes-support/libcanberra/libcanberra_0.30-20.bb renamed from meta-oe/recipes-support/libcanberra/libcanberra_0.30-19.bb +1 -1
similarity index 97%
rename from meta-oe/recipes-support/libcanberra/libcanberra_0.30-19.bb
rename to meta-oe/recipes-support/libcanberra/libcanberra_0.30-20.bb
index 1f1c23d041..2f10a10931 100644
@@ -12,7 +12,7 @@ SRC_URI = " \
     git://salsa.debian.org/gnome-team/libcanberra;protocol=https;branch=debian/latest;tag=debian/${PV} \
     file://0001-Determine-audio-buffer-size-for-a-time-of-500ms.patch \
 "
-SRCREV = "d1ed1ac0c9950ed3908c04abb7c4a6de5c51ed94"
+SRCREV = "47d67f43c58af36143060888fc8e69a9cb0eddea"
 
 EXTRA_OECONF = "\
     --enable-null \
author
#2 lore raw

PATCH 3/18 systemd-netlogd: Upgrade to 1.4.5 release

In reply to Khem Raj

Fix build on 32-bit with 64-bit time_t
Fix build with C23 on

For full details:
https://github.com/systemd/systemd-netlogd/releases/tag/v1.4.5

---
 ...tness-for-pointer-variables-to-refer.patch | 60 +++++++++++++++++++
 ...logd_1.4.4.bb => systemd-netlogd_1.4.5.bb} |  6 +-
 2 files changed, 64 insertions(+), 2 deletions(-)
 create mode 100644 meta-oe/recipes-support/systemd-netlogd/systemd-netlogd/0001-Fix-const-correctness-for-pointer-variables-to-refer.patch
 rename meta-oe/recipes-support/systemd-netlogd/{systemd-netlogd_1.4.4.bb => systemd-netlogd_1.4.5.bb} (83%)
meta-oe/recipes-support/systemd-netlogd/systemd-netlogd/0001-Fix-const-correctness-for-pointer-variables-to-refer.patch new file +60 -0
new file mode 100644
index 0000000000..190baff606
@@ -0,0 +1,60 @@
+From 515e23b37ad1400bfb73797771c4f0fd78655328 Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Wed, 15 Apr 2026 10:52:05 -0700
+Subject: [PATCH] Fix const-correctness for pointer variables to referred
+ strings
+
+Mark pointer variables 'e' as 'const char *' in
+config_parse_netlog_remote_address,file_in_same_dir, and
+socket_address_parse, since they point to memory they do not
+own or modify.
+
+Upstream-Status: Submitted [https://github.com/systemd/systemd-netlogd/pull/148]
+Signed-off-by: Khem Raj <[email protected]>
+---
+ src/netlog/netlog-conf.c | 2 +-
+ src/share/path-util.c    | 3 ++-
+ src/share/socket-util.c  | 3 ++-
+ 3 files changed, 5 insertions(+), 3 deletions(-)
+
+diff --git a/src/netlog/netlog-conf.c b/src/netlog/netlog-conf.c
+index a4cf0da..59bdd23 100644
+--- a/src/netlog/netlog-conf.c
++++ b/src/netlog/netlog-conf.c
+@@ -22,7 +22,7 @@ int config_parse_netlog_remote_address(const char *unit,
+                                        void *data,
+                                        void *userdata) {
+         Manager *m = userdata;
+-        char *e;
++        const char *e;
+         int r;
+
+         assert(filename);
+diff --git a/src/share/path-util.c b/src/share/path-util.c
+index dda7ec6..ad6f24a 100644
+--- a/src/share/path-util.c
++++ b/src/share/path-util.c
+@@ -327,7 +327,8 @@ bool path_is_safe(const char *p) {
+ }
+
+ char *file_in_same_dir(const char *path, const char *filename) {
+-        char *e, *ret;
++        const char *e;
++        char *ret;
+         size_t k;
+
+         assert(path);
+diff --git a/src/share/socket-util.c b/src/share/socket-util.c
+index ae33338..5a6284b 100644
+--- a/src/share/socket-util.c
++++ b/src/share/socket-util.c
+@@ -33,7 +33,8 @@
+ #include "util.h"
+
+ int socket_address_parse(SocketAddress *a, const char *s) {
+-        char *e, *n;
++        const char *e;
++        char *n;
+         unsigned u;
+         int r;
+
meta-oe/recipes-support/systemd-netlogd/systemd-netlogd_1.4.5.bb renamed from meta-oe/recipes-support/systemd-netlogd/systemd-netlogd_1.4.4.bb +4 -2
similarity index 83%
rename from meta-oe/recipes-support/systemd-netlogd/systemd-netlogd_1.4.4.bb
rename to meta-oe/recipes-support/systemd-netlogd/systemd-netlogd_1.4.5.bb
index 019098fdf7..c52940ec70 100644
@@ -3,8 +3,10 @@ SUMMARY = "Forwards messages from the journal to other hosts over the network us
 LICENSE = "LGPL-2.1-or-later"
 LIC_FILES_CHKSUM = "file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c"
 
-SRC_URI = "git://github.com/systemd/systemd-netlogd.git;protocol=https;branch=main"
-SRCREV = "b03cc3b1a75048c7cf19467d8918a4b7320767e6"
+SRC_URI = "git://github.com/systemd/systemd-netlogd.git;protocol=https;branch=main;tag=v${PV} \
+           file://0001-Fix-const-correctness-for-pointer-variables-to-refer.patch \
+		  "
+SRCREV = "20534091417686d1185acb3f29e93944d8663c4b"
 
 inherit meson systemd pkgconfig useradd features_check
 
author
#3 lore raw

PATCH 4/18 libvarlink: Fix build with C23 support in glibc

In reply to Khem Raj
---
 ...use-const-for-strchr-return-pointers.patch | 96 +++++++++++++++++++
 .../libvarlink/libvarlink_24.0.1.bb           |  4 +-
 2 files changed, 99 insertions(+), 1 deletion(-)
 create mode 100644 meta-oe/recipes-support/libvarlink/libvarlink/0001-transport-tool-use-const-for-strchr-return-pointers.patch
meta-oe/recipes-support/libvarlink/libvarlink/0001-transport-tool-use-const-for-strchr-return-pointers.patch new file +96 -0
new file mode 100644
index 0000000000..348dc88838
@@ -0,0 +1,96 @@
+From 27e4f4504b3c60356b9507e926aae2b82ba47275 Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Wed, 15 Apr 2026 11:10:01 -0700
+Subject: [PATCH] transport,tool: use const for strchr return pointers
+
+Fixes errors seen after c23 implemented in glibc
+
+lib/transport-device.c:13:14: error: assigning to 'char *' from 'const char *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
+   13 |         parm = strchr(address, ';');
+      |              ^ ~~~~~~~~~~~~~~~~~~~~
+1 error generated.
+
+Upstream-Status: Submitted [https://github.com/varlink/libvarlink/pull/85]
+Signed-off-by: Khem Raj <[email protected]>
+---
+ lib/transport-device.c | 2 +-
+ lib/transport-tcp.c    | 4 ++--
+ lib/transport-unix.c   | 2 +-
+ tool/command-format.c  | 2 +-
+ tool/command-info.c    | 2 +-
+ 5 files changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/lib/transport-device.c b/lib/transport-device.c
+index 0b8cec5..205eac4 100644
+--- a/lib/transport-device.c
++++ b/lib/transport-device.c
+@@ -7,7 +7,7 @@
+ #include <fcntl.h>
+
+ static int strip_parameters(const char *address, char **devicep) {
+-        char *parm;
++        const char *parm;
+         _cleanup_(freep) char *device = NULL;
+
+         parm = strchr(address, ';');
+diff --git a/lib/transport-tcp.c b/lib/transport-tcp.c
+index 92a0e7b..fff2379 100644
+--- a/lib/transport-tcp.c
++++ b/lib/transport-tcp.c
+@@ -10,7 +10,7 @@
+ #include <sys/socket.h>
+
+ static int strip_parameters(const char *address, char **hostp) {
+-        char *parm;
++        const char *parm;
+         _cleanup_(freep) char *host = NULL;
+
+         parm = strchr(address, ';');
+@@ -34,7 +34,7 @@ static void freeaddrinfop(struct addrinfo **ai) {
+ static int resolve_addrinfo(const char *address, struct addrinfo **resultp) {
+         _cleanup_(freep) char *host = NULL;
+         char *endptr;
+-        char *port;
++        const char *port;
+         struct addrinfo hints = {
+                 .ai_family = AF_UNSPEC,
+                 .ai_socktype = SOCK_STREAM,
+diff --git a/lib/transport-unix.c b/lib/transport-unix.c
+index 5dc3853..2414b29 100644
+--- a/lib/transport-unix.c
++++ b/lib/transport-unix.c
+@@ -10,7 +10,7 @@
+ #include <unistd.h>
+
+ static int strip_parameters(const char *address, char **pathp) {
+-        char *parm;
++        const char *parm;
+         _cleanup_(freep) char *path = NULL;
+
+         parm = strchr(address, ';');
+diff --git a/tool/command-format.c b/tool/command-format.c
+index 6932bc4..0f5ef8c 100644
+--- a/tool/command-format.c
++++ b/tool/command-format.c
+@@ -155,7 +155,7 @@ static long format_run(Cli *UNUSED(cli), int argc, char **argv) {
+ static long format_complete(Cli *cli, int argc, char **UNUSED(argv), const char *current) {
+         _cleanup_(freep) char *prefix = NULL;
+         DIR *dir;
+-        char *p;
++        const char *p;
+
+         if (argc != 1)
+                 return 0;
+diff --git a/tool/command-info.c b/tool/command-info.c
+index 571b6fd..9d252f7 100644
+--- a/tool/command-info.c
++++ b/tool/command-info.c
+@@ -137,7 +137,7 @@ static long info_run(Cli *cli, int argc, char **argv) {
+ static long info_complete(Cli *UNUSED(cli), int argc, char **UNUSED(argv), const char *current) {
+         _cleanup_(freep) char *prefix = NULL;
+         DIR *dir;
+-        char *p;
++        const char *p;
+
+         if (argc != 1)
+                 return 0;
meta-oe/recipes-support/libvarlink/libvarlink_24.0.1.bb +3 -1
index de2f30c487..1d1419a878 100644
@@ -6,7 +6,9 @@ SECION = "devel"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
 
-SRC_URI = "git://github.com/varlink/libvarlink.git;protocol=https;branch=master;tag=v${PV}"
+SRC_URI = "git://github.com/varlink/libvarlink.git;protocol=https;branch=master;tag=v${PV} \
+           file://0001-transport-tool-use-const-for-strchr-return-pointers.patch \
+          "
 SRCREV = "2ad4ec7ca62e148dbf0ad98646ec68c2e7e8a88e"
 
 inherit meson bash-completion lib_package
author
#4 lore raw

PATCH 5/18 magic-enum: Upgrade to latest

In reply to Khem Raj
---
 meta-oe/recipes-extended/magic-enum/magic-enum_0.9.7.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-extended/magic-enum/magic-enum_0.9.7.bb +2 -1
index 6d5399c8d0..15dd2846f4 100644
@@ -16,7 +16,8 @@ SRC_URI = " \
     file://run-ptest \
 "
 
-SRCREV = "e046b69a3736d314fad813e159b1c192eaef92cd"
+SRCREV = "715b442682f3cac6e04636d8beaf4104c20bac23"
+PV .= "+git"
 
 inherit cmake ptest
 
author
#5 lore raw

PATCH 6/18 dhcp-relay: disable C23 support to fix configure check

In reply to Khem Raj

Set ac_cv_prog_cc_c23=no to prevent autoconf from detecting C23 compiler support, avoiding potential build failures as the package is not yet fully ported to support C23 standard.

---
 meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.3p1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-connectivity/dhcp/dhcp-relay_4.4.3p1.bb +1 -1
index 707eeb0e26..04fe9b9acd 100644
@@ -39,7 +39,7 @@ BIND_EXTRA_CONFIG = "\
         --host=${HOST_SYS} \
         --target=${TARGET_SYS} \
 "
-
+CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no"
 EXTRA_OECONF = "--with-bind-extra-config="${BIND_EXTRA_CONFIG}" \
                 --enable-paranoia \
                 --disable-static \
author
#6 lore raw

PATCH 7/18 ruli: disable C23 support to fix build

In reply to Khem Raj

Avoid potential build failures as the package
is not yet fully ported to support C23 standard.

---
 meta-networking/recipes-support/ruli/ruli_0.36.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-support/ruli/ruli_0.36.bb +1 -1
index 0526f842a8..972184ae2c 100644
@@ -20,7 +20,7 @@ SRC_URI[sha256sum] = "11d32def5b514748fbd9ea8c88049ae99e1bb358efc74eb91a4d268a39
 
 # -shared is passed via CFLAGS, clang complains since its used during linking
 # and not compiling
-CFLAGS:append:toolchain-clang = " -Wno-error=unused-command-line-argument"
+CFLAGS:append:toolchain-clang = " -std=gnu11 -Wno-error=unused-command-line-argument"
 
 EXTRA_OEMAKE = 'CC="${CC}" CPPFLAGS="${CFLAGS}" OOP_BASE_DIR="${STAGING_EXECPREFIXDIR}" \
                 INSTALL_BASE_DIR="${D}${exec_prefix}" \
author
#7 lore raw

PATCH 8/18 dante,openflow,linux-atm: disable C23 support to fix configure check

In reply to Khem Raj

Set ac_cv_prog_cc_c23=no to prevent autoconf from detecting C23 compiler support, avoiding potential build failures as the package is not yet fully ported to support C23 standard.

---
 meta-networking/recipes-protocols/dante/dante_1.4.4.bb       | 2 ++
 meta-networking/recipes-protocols/openflow/openflow_git.bb   | 2 ++
 meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb | 2 ++
 3 files changed, 6 insertions(+)
meta-networking/recipes-protocols/dante/dante_1.4.4.bb +2 -0
index 52cfba4c5f..6a1eed3edb 100644
@@ -25,6 +25,8 @@ EXTRA_OECONF += "--without-gssapi --sbindir=${bindir}"
 DEPENDS += "flex-native bison-native libpam libtirpc"
 inherit autotools-brokensep features_check
 
+CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no"
+
 CPPFLAGS += "-P"
 CFLAGS += "-I${STAGING_INCDIR}/tirpc"
 LIBS += "-ltirpc"
meta-networking/recipes-protocols/openflow/openflow_git.bb +2 -0
index 1588245f8a..d506dd4d01 100644
@@ -40,6 +40,8 @@ DEPENDS:append:libc-musl = " libexecinfo"
 
 inherit autotools-brokensep pkgconfig
 
+CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no"
+
 do_configure:prepend() {
     ./boot.sh
 }
meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb +2 -0
index fd18ed7386..f87aa92932 100644
@@ -32,6 +32,8 @@ file://COPYING.LGPL;md5=6e29c688d912da12b66b73e32b03d812"
 
 inherit autotools pkgconfig
 
+CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no"
+
 EXTRA_OEMAKE += "ROOTPREFIX=${root_prefix}"
 
 FILES:${PN} += "${nonarch_base_libdir}/firmware"
author
#8 lore raw

PATCH 9/18 sthttpd: disable C23 support to fix configure check

In reply to Khem Raj

Set ac_cv_prog_cc_c23=no to prevent autoconf from detecting C23 compiler support, avoiding potential build failures as the package is not yet fully ported to support C23 standard.

---
 meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.1.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.1.bb +2 -0
index 9459670344..33543071ba 100644
@@ -19,6 +19,8 @@ UPSTREAM_CHECK_REGEX = "v(?P<pver>\d+(\.\d+)+).tar.gz"
 
 inherit autotools update-rc.d systemd update-alternatives
 
+CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no"
+
 ALTERNATIVE_PRIORITY = "100"
 ALTERNATIVE:${PN}-doc = "htpasswd.1"
 ALTERNATIVE_LINK_NAME[htpasswd.1] = "${mandir}/man1/htpasswd.1"
author
#9 lore raw

PATCH 10/18 audiofile: disable C23 support to fix configure check

In reply to Khem Raj

Set ac_cv_prog_cc_c23=no to prevent autoconf from detecting C23 compiler support, avoiding potential build failures as the package is not yet fully ported to support C23 standard.

Drop enforcing -std=c++14 as thats no longer needed

---
 meta-oe/recipes-multimedia/audiofile/audiofile_0.3.6.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-multimedia/audiofile/audiofile_0.3.6.bb +1 -1
index 6ebb54e261..c837dad87c 100644
@@ -30,7 +30,7 @@ SRC_URI[sha256sum] = "ea2449ad3f201ec590d811db9da6d02ffc5e87a677d06b92ab15363d8c
 
 inherit autotools lib_package pkgconfig ptest
 
-CXXFLAGS += "-std=c++14"
+CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no"
 
 DEPENDS = " \
     asciidoc-native \
author
#10 lore raw

PATCH 11/18 meta-oe/recipes: disable C23 support to fix configure check

In reply to Khem Raj

Set ac_cv_prog_cc_c23=no to prevent autoconf from detecting C23 compiler support, avoiding potential build failures as the package is not yet fully ported to support C23 standard.

---
 meta-oe/recipes-benchmark/sysbench/sysbench_1.0.20.bb | 2 +-
 meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb   | 2 ++
 meta-oe/recipes-extended/enscript/enscript_1.6.6.bb   | 2 ++
 meta-oe/recipes-extended/figlet/figlet_git.bb         | 1 +
 meta-oe/recipes-extended/lprng/lprng_3.9.0.bb         | 1 +
 meta-oe/recipes-extended/rsyslog/rsyslog_8.2512.0.bb  | 1 +
 meta-oe/recipes-extended/zsync/zsync-curl_git.bb      | 2 ++
 meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb        | 3 +++
 meta-oe/recipes-support/pidgin/pidgin_2.14.14.bb      | 1 +
 9 files changed, 14 insertions(+), 1 deletion(-)
meta-oe/recipes-benchmark/sysbench/sysbench_1.0.20.bb +1 -1
index 198552e5c6..3154db2705 100644
@@ -15,7 +15,7 @@ SRCREV = "ebf1c90da05dea94648165e4f149abc20c979557"
 
 
 COMPATIBLE_HOST = "(arm|aarch64|i.86|x86_64).*-linux*"
-
+CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no"
 EXTRA_OECONF += "--enable-largefile --with-system-luajit --with-system-ck --without-gcc-arch --with-lib-prefix=no"
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[aio] = "--enable-aio,--disable-aio,libaio,"
meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb +2 -0
index c55a01d3b9..fca29eed05 100644
@@ -16,6 +16,8 @@ UPSTREAM_CHECK_REGEX = "Libmcrypt/(?P<pver>\d+(\.\d+)+)/"
 
 inherit autotools-brokensep gettext binconfig multilib_script
 
+CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no"
+
 CFLAGS += "-Wno-error=implicit-int"
 
 do_configure() {
meta-oe/recipes-extended/enscript/enscript_1.6.6.bb +2 -0
index 4ca7c081ea..d1480e836a 100644
@@ -19,6 +19,8 @@ SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \
 
 inherit autotools gettext
 
+CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no"
+
 EXTRA_OECONF += "PERL='${USRBINPATH}/env perl'"
 
 SRC_URI[sha256sum] = "6d56bada6934d055b34b6c90399aa85975e66457ac5bf513427ae7fc77f5c0bb"
meta-oe/recipes-extended/figlet/figlet_git.bb +1 -0
index d226806050..6a8bb42699 100644
@@ -10,5 +10,6 @@ SRCREV = "5bbcd7383a8c3a531299b216b0c734e1495c6db3"
 PV = "2.2.5+git"
 
 inherit autotools
+CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no"
 
 BBCLASSEXTEND = "native nativesdk"
meta-oe/recipes-extended/lprng/lprng_3.9.0.bb +1 -0
index 04376b66ed..0f427a7d05 100644
@@ -10,6 +10,7 @@ UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/lprng/files/lprng/"
 UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.tar"
 
 inherit autotools gettext
+CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no"
 
 EXTRA_OECONF = "--disable-ssl --disable-kerberos --enable-force_localhost \
 				CHOWN=${base_bindir}/chown CHGRP=${base_bindir}/chgrp \
meta-oe/recipes-extended/rsyslog/rsyslog_8.2512.0.bb +1 -0
index c50a7a3f7a..186e1ccf24 100644
@@ -40,6 +40,7 @@ CVE_STATUS[CVE-2015-3243] = "fix-file-included: The shipped default rsyslog.conf
 
 inherit autotools pkgconfig systemd update-rc.d ptest
 
+CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no"
 EXTRA_OECONF += "--enable-imfile-tests ${ATOMICS}"
 ATOMICS = "ap_cv_atomic_builtins_64=yes ap_cv_atomic_builtins=yes"
 ATOMICS:mipsarch = ""
meta-oe/recipes-extended/zsync/zsync-curl_git.bb +2 -0
index e624b26941..79b8ee18e7 100644
@@ -15,6 +15,8 @@ UPSTREAM_CHECK_COMMITS = "1"
 
 inherit autotools
 
+CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no"
+
 AUTOTOOLS_SCRIPT_PATH = "${S}/src"
 
 BBCLASSEXTEND = "native nativesdk"
meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb +3 -0
index 85eac33369..99d0939b34 100644
@@ -20,6 +20,9 @@ UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)"
 DEPENDS += "bison-native flex-native wget-native gawk-native"
 
 inherit autotools-brokensep update-alternatives
+
+CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no"
+
 ALTERNATIVE_PRIORITY = "50"
 ALTERNATIVE:${PN}-yang = " ietf-interfaces ietf-netconf-acm ietf-netconf-with-defaults ietf-netconf"
 ALTERNATIVE_LINK_NAME[ietf-interfaces] = "${datadir}/yang/ietf-interfaces.yang"
meta-oe/recipes-support/pidgin/pidgin_2.14.14.bb +1 -0
index 85c521df87..af44864fa9 100644
@@ -50,6 +50,7 @@ EXTRA_OECONF = " \
     --disable-farstream \
     --disable-vv \
 "
+CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no"
 
 # CONFIG_ARGS is used to display build info. Replace full paths by reproducible
 # variables ($S, $WORKDIR)
author
#11 lore raw

PATCH 12/18 ruli: Delete -ansi and -pedantic from compiler commandline

In reply to Khem Raj

The build fails because ruli is compiled with -ansi (which implies C89/C90), but glibc's memchr macro uses _Generic, a C11 feature. Clang treats this as an error via -Werror,-Wc11-extensions.

Fixes build with glibc 2.43+

| ruli_conf.c:86:12: error: '_Generic' is a C11 extension [-Werror,-Wc11-extensions]
|    86 |       if (!memchr(inbuf, '\0', LOAD_SEARCH_LIST_INBUFSZ))
|       |            ^
---
 ...ake-space-for-flags-from-environment.patch | 25 +++++++++++--------
 1 file changed, 15 insertions(+), 10 deletions(-)
meta-networking/recipes-support/ruli/files/0001-Make-space-for-flags-from-environment.patch +15 -10
index c3ca07a390..739d7f797e 100644
@@ -12,8 +12,6 @@ Signed-off-by: Khem Raj <[email protected]>
  src/Makefile    |  8 ++++----
  2 files changed, 14 insertions(+), 14 deletions(-)
 
-diff --git a/sample/Makefile b/sample/Makefile
-index 15cafd9..d83641f 100644
 --- a/sample/Makefile
 +++ b/sample/Makefile
 @@ -35,9 +35,9 @@ ifeq ($(PLATFORM),SunOS)
@@ -50,13 +48,23 @@ index 15cafd9..d83641f 100644
 
  %.o: %.c
  	$(CC) $(ARCH) $(CPPFLAGS) $(CFLAGS) -c $<
-diff --git a/src/Makefile b/src/Makefile
-index 9b56b5e..39a5ea1 100644
 --- a/src/Makefile
 +++ b/src/Makefile
-@@ -45,7 +45,7 @@ endif
+@@ -2,7 +2,7 @@
+ # $Id: Makefile,v 1.57 2005/06/13 16:34:53 evertonm Exp $
+ #
 
- WARN = -pedantic -ansi -Wshadow -Wpointer-arith -Wcast-qual \
+-#DEBUG += -DRULI_SRV_DEBUG
++#DEBUG += -DRULI_SRV_DEBUG
+ #DEBUG += -DRULI_HOST_DEBUG
+ #DEBUG += -DRULI_RES_DEBUG
+ #DEBUG += -DRULI_TXT_COMPARE_DEBUG
+@@ -43,9 +43,9 @@ ifeq ($(PLATFORM),SunOS)
+ DEFINE_SOLARIS = -D_RULI_SOLARIS_
+ endif
+
+-WARN = -pedantic -ansi -Wshadow -Wpointer-arith -Wcast-qual \
++WARN = -Wshadow -Wpointer-arith -Wcast-qual \
  	-Wcast-align -Wwrite-strings -Wredundant-decls
 -CC = gcc
 +CC ?= gcc
@@ -72,7 +80,7 @@ index 9b56b5e..39a5ea1 100644
  LIBOBJ = ruli_isaac.o ruli_mem.o ruli_rand.o ruli_util.o ruli_list.o \
  	ruli_addr.o ruli_sock.o ruli_txt.o ruli_msg.o ruli_fsm.o \
  	ruli_res.o ruli_parse.o ruli_host.o ruli_srv.o ruli_conf.o \
-@@ -66,7 +66,7 @@ LIBOBJ = ruli_isaac.o ruli_mem.o ruli_rand.o ruli_util.o ruli_list.o \
+@@ -66,7 +66,7 @@ LIBOBJ = ruli_isaac.o ruli_mem.o ruli_ra
  	ruli_getaddrinfo.o
  SHAREDOBJ = $(LIBOBJ:%.o=%.os)
  SONAME = libruli.so.4
@@ -90,6 +98,3 @@ index 9b56b5e..39a5ea1 100644
  	@echo
  	@echo "REMINDER:"
  	@echo "Add $(INSTALL_LIB_DIR) to your dynamic loader path:"
---
-2.24.0
-
author
#12 lore raw

PATCH 13/18 eog: Update to 49.3

In reply to Khem Raj

Turn color management into packageconfig knob which is turned off by default as it needs x11 support.

---
 meta-gnome/recipes-gnome/eog/{eog_49.1.bb => eog_49.3.bb} | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
 rename meta-gnome/recipes-gnome/eog/{eog_49.1.bb => eog_49.3.bb} (75%)
meta-gnome/recipes-gnome/eog/eog_49.3.bb renamed from meta-gnome/recipes-gnome/eog/eog_49.1.bb +5 -2
similarity index 75%
rename from meta-gnome/recipes-gnome/eog/eog_49.1.bb
rename to meta-gnome/recipes-gnome/eog/eog_49.3.bb
index 202d68700a..d67c3733af 100644
@@ -13,7 +13,6 @@ DEPENDS = " \
     libpeas-1 \
     libportal \
     libexif \
-    lcms \
 "
 
 
@@ -22,7 +21,11 @@ inherit gnomebase pkgconfig gsettings gobject-introspection gettext mime-xdg fea
 # FIXME: whilst eog uses libpeas <2, g-i is needed. This can be removed when libpeas2 is used.
 REQUIRED_DISTRO_FEATURES = "opengl gobject-introspection-data"
 
-SRC_URI[archive.sha256sum] = "fadd12e14ba9cd2be6989dfbcef40001645b63440ceed8e04867b07587b066dc"
+SRC_URI[archive.sha256sum] = "6b4e69c7a8086ae85d556ca4a24daa665b5622c4097e1ee59564bff4cc963124"
+
+PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'x11','cms', '', d)}"
+
+PACKAGECONFIG[cms] = "-Dcms=true,-Dcms=false,lcms"
 
 GTKDOC_MESON_OPTION = "gtk_doc"
 
author
#13 lore raw

PATCH 14/18 taisei: Fix build with glibc 2.43 + c23

In reply to Khem Raj
---
 ...ed-const-qualifiers-in-char-pointer-.patch | 56 +++++++++++++++
 ...necessary-recursion-in-vfs_mkparents.patch | 71 +++++++++++++++++++
 .../recipes-graphics/taisei/taisei_1.4.4.bb   |  5 +-
 3 files changed, 131 insertions(+), 1 deletion(-)
 create mode 100644 meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei/0001-misc-fix-discarded-const-qualifiers-in-char-pointer-.patch
 create mode 100644 meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei/0001-vfs-avoid-unnecessary-recursion-in-vfs_mkparents.patch
meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei/0001-misc-fix-discarded-const-qualifiers-in-char-pointer-.patch new file +56 -0
new file mode 100644
index 0000000000..1b37633a36
@@ -0,0 +1,56 @@
+From d0326cd89b01600a6d8ba5e32e8e090f2ea29f2d Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Wed, 15 Apr 2026 16:28:28 -0700
+Subject: [PATCH] misc: fix discarded const qualifiers in char pointer
+ assignments
+
+These show up with glibc 2.43 + clang-22, glibc-2.43 has C23 versions
+of str* mem* functions
+
+Upstream-Status: Backport [https://github.com/taisei-project/taisei/commit/1c8f773912cbbd72b4a4df271fda1bd6d2aeb27f]
+Signed-off-by: Khem Raj <[email protected]>
+---
+ src/log.c           | 2 +-
+ src/pixmap/pixmap.c | 2 +-
+ src/vfs/pathutil.c  | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/log.c b/src/log.c
+index 8194535a..88f34386 100644
+--- a/src/log.c
++++ b/src/log.c
+@@ -161,7 +161,7 @@ static void add_debug_info(StringBuffer *buf) {
+ static size_t modname(const char *filename, size_t filename_len, char *mod) {
+ 	size_t mlen = filename_len;
+
+-	char *dot = memchr(filename, '.', mlen);
++	const char *dot = memchr(filename, '.', mlen);
+ 	if(dot) {
+ 		mlen = dot - filename;
+ 	}
+diff --git a/src/pixmap/pixmap.c b/src/pixmap/pixmap.c
+index 25105215..9717f22a 100644
+--- a/src/pixmap/pixmap.c
++++ b/src/pixmap/pixmap.c
+@@ -49,7 +49,7 @@ void *pixmap_alloc_buffer_for_conversion(const Pixmap *src, PixmapFormat format,
+ }
+
+ static PixmapFileFormatHandler *pixmap_handler_for_filename(const char *file) {
+-	char *ext = strrchr(file, '.');
++	const char *ext = strrchr(file, '.');
+
+ 	if(!ext || !*(++ext)) {
+ 		return NULL;
+diff --git a/src/vfs/pathutil.c b/src/vfs/pathutil.c
+index f6bd6a80..85ccf5ee 100644
+--- a/src/vfs/pathutil.c
++++ b/src/vfs/pathutil.c
+@@ -14,7 +14,7 @@ char *vfs_path_normalize(const char *path, char *out) {
+ 	const char *p = path;
+ 	char *o = out;
+ 	char *last_sep = out - 1;
+-	char *path_end = strchr(path, 0);
++	const char *path_end = strchr(path, 0);
+
+ 	#define IS_SEP_OR_NUL(chr) (VFS_IS_PATH_SEPARATOR(chr) || (chr == '\0'))
+
meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei/0001-vfs-avoid-unnecessary-recursion-in-vfs_mkparents.patch new file +71 -0

71 lines not on this page · raw message

meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei_1.4.4.bb +4 -1
index bb08ad4a1c..844e735b69 100644
@@ -20,7 +20,10 @@ DEPENDS = "\
 DEPENDS:append:libc-musl = " libucontext"
 LDFLAGS:append:libc-musl = " -lucontext"
 
-SRC_URI = "gitsm://github.com/taisei-project/taisei.git;branch=v1.4.x;protocol=https;tag=v${PV}"
+SRC_URI = "gitsm://github.com/taisei-project/taisei.git;branch=v1.4.x;protocol=https;tag=v${PV} \
+           file://0001-misc-fix-discarded-const-qualifiers-in-char-pointer-.patch \
+		   file://0001-vfs-avoid-unnecessary-recursion-in-vfs_mkparents.patch \
+		  "
 SRCREV = "6a484e6e61cc51a22a9943762dc2ff6883914f38"
 
 inherit features_check meson mime mime-xdg pkgconfig
author
#14 lore raw

PATCH 15/18 hiawatha: Upgrade to 12.1 release

In reply to Khem Raj

- HTTP/2 support added via the nghttp2 library (credits to Heiko Zimmermann) — noted as experimental, so testing carefully before enabling on production servers is recommended.
- mbed TLS updated from 4.0.0 to 4.1.0.
- ssi-cgi removed — the release notes suggest using Hiawatha's XSLT support as a more advanced alternative.

---
 .../hiawatha/{hiawatha_12.0.bb => hiawatha_12.1.bb}             | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-webserver/recipes-httpd/hiawatha/{hiawatha_12.0.bb => hiawatha_12.1.bb} (97%)
meta-webserver/recipes-httpd/hiawatha/hiawatha_12.1.bb renamed from meta-webserver/recipes-httpd/hiawatha/hiawatha_12.0.bb +1 -1
similarity index 97%
rename from meta-webserver/recipes-httpd/hiawatha/hiawatha_12.0.bb
rename to meta-webserver/recipes-httpd/hiawatha/hiawatha_12.1.bb
index d6fa250cb9..8299e58263 100644
@@ -11,7 +11,7 @@ SRC_URI = "https://hiawatha.leisink.net/files/download/hiawatha-${PV}.tar.gz \
            file://hiawatha.service \
           "
 
-SRC_URI[sha256sum] = "57b61a6d2640e72601d5ba0a063d6f1639613b910287871216f7ea06c75bfb96"
+SRC_URI[sha256sum] = "e93e5964e69d98061d366fa4a0ec7b5d33d3e92e6c02efa8b291a79c646006b1"
 
 INITSCRIPT_NAME = "hiawatha"
 INITSCRIPT_PARAMS = "defaults 70"
author
#15 lore raw

PATCH 16/18 xrdp: Guard ptests with x11 distro feature

In reply to Khem Raj

xrdp only builds when x11 is enabled, make it consistent

---
 meta-oe/conf/include/ptest-packagelists-meta-oe.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/conf/include/ptest-packagelists-meta-oe.inc +1 -1
index 0763e218bb..b764d5dd58 100644
@@ -59,7 +59,7 @@ PTESTS_FAST_META_OE = "\
     utf8proc \
     uthash \
     xdg-dbus-proxy \
-    ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'xrdp', '', d)} \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'pam x11', 'xrdp', '', d)} \
     zeromq \
 "
 PTESTS_FAST_META_OE:append:x86 = " mcelog"
author
#16 lore raw

PATCH 17/18 packagegroup-meta-oe: Make pcp and remmina depend upon x11 distro feature

In reply to Khem Raj
---
 meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +2 -4
index 72c061e872..7c2df00207 100644
@@ -840,12 +840,11 @@ RDEPENDS:packagegroup-meta-oe-support = "\
     openldap \
     opensc \
     p910nd \
-    pcp \
     pcsc-lite \
     pcsc-tools \
     picocom \
     pidgin \
-    ${@bb.utils.contains("DISTRO_FEATURES", "x11", "pidgin-otr", "", d)} \
+    ${@bb.utils.contains("DISTRO_FEATURES", "x11", "pcp pidgin-otr", "", d)} \
     pidgin-sipe \
     pngcheck \
     poco \
@@ -861,7 +860,6 @@ RDEPENDS:packagegroup-meta-oe-support = "\
     rdfind \
     re2 \
     read-edid \
-    remmina \
     rsnapshot \
     sassc \
     satyr \
@@ -875,7 +873,7 @@ RDEPENDS:packagegroup-meta-oe-support = "\
     srecord \
     ssiapi \
     stm32flash \
-    ${@bb.utils.contains("DISTRO_FEATURES", "x11", "synergy", "", d)} \
+    ${@bb.utils.contains("DISTRO_FEATURES", "x11", "remmina synergy", "", d)} \
     syslog-ng \
     tbb \
     thin-provisioning-tools \
author
#17 lore raw

PATCH 18/18 packagegroup-meta-python: Enable python3-pyatspi conditional upon GI data

In reply to Khem Raj
---
 .../recipes-core/packagegroups/packagegroup-meta-python.bb      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +1 -1
index 2ff88e6264..65f23cfe9e 100644
@@ -300,7 +300,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-py-ubjson \
     python3-pyalsaaudio \
     python3-pyasn1-modules \
-    python3-pyatspi \
+    ${@bb.utils.contains("DISTRO_FEATURES", "gobject-introspection-data ${GTK2DISTROFEATURES}", "python3-pyatspi", "", d)} \
     python3-pyaudio \
     python3-pybind11 \
     python3-pybind11-json \