deleted file mode 100644
@@ -1,34 +0,0 @@
-From dbe865dfdba0145d993d70b7fd4ec88b2f47554b Mon Sep 17 00:00:00 2001
-From: Tomas Korbar <tkorbar@redhat.com>
-Date: Mon, 15 Dec 2025 11:03:21 +0100
-Subject: [PATCH] Add const qualifiers to fix build with ISO C23
-
-Fix https://github.com/wolfcw/libfaketime/issues/524
-
-Upstream-Status: Backport [https://github.com/wolfcw/libfaketime/pull/525]
----
- src/libfaketime.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/libfaketime.c b/src/libfaketime.c
-index ef1dca9..02839c8 100644
---- a/src/libfaketime.c
-+++ b/src/libfaketime.c
-@@ -2666,7 +2666,7 @@ int timespec_get(struct timespec *ts, int base)
- static void parse_ft_string(const char *user_faked_time)
- {
- struct tm user_faked_time_tm;
-- char * tmp_time_fmt;
-+ const char * tmp_time_fmt;
- char * nstime_str;
-
- if (!strncmp(user_faked_time, user_faked_time_saved, BUFFERLEN))
-@@ -3338,7 +3338,7 @@ static void prepare_config_contents(char *contents)
- bool str_array_contains(const char *haystack, const char *needle)
- {
- size_t needle_len = strlen(needle);
-- char *pos = strstr(haystack, needle);
-+ const char *pos = strstr(haystack, needle);
- while (pos) {
- if (pos == haystack || *(pos - 1) == ',') {
- char nextc = *(pos + needle_len);
similarity index 81%
rename from meta/recipes-support/libfaketime/libfaketime_0.9.12.bb
rename to meta/recipes-support/libfaketime/libfaketime_0.9.13.bb
@@ -4,11 +4,9 @@ HOMEPAGE = "https://github.com/wolfcw/libfaketime"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
-SRCREV = "3ccdd344aadf1e317156fa5fb7c881f2c4404778"
+SRCREV = "86b37fde2fed7336ea2d0c17928e3015a55d9b4a"
-SRC_URI = "git://github.com/wolfcw/libfaketime.git;branch=master;tag=v${PV};protocol=https \
- file://0001-Add-const-qualifiers-to-fix-build-with-ISO-C23.patch \
-"
+SRC_URI = "git://github.com/wolfcw/libfaketime.git;branch=master;tag=v${PV};protocol=https"
CFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE"
@@ -29,3 +27,6 @@ FILES:${PN} = "${bindir}/faketime ${libdir}/faketime/lib*${SOLIBS}"
FILES:${PN}-dev += "${libdir}/faketime/lib*${SOLIBSDEV}"
BBCLASSEXTEND = "native"
+
+# Building with -O2 results in clobbered variable error on 0.9.13
+FULL_OPTIMIZATION = "-O1"
Changelog: - Improved macOS arm64/arm64e build and runtime compatibility, including shared-memory lifecycle, clock, wait, configuration, and failure-path regression coverage. - Hardened initialization and cleanup across Linux and macOS, including shared-memory validation, descriptor ownership, loader re-entry, and bounded process/loader tests. - Fixed clock-domain handling for monotonic and realtime waits, timerfd, semaphore, pthread, futex, poll, select, and pselect contracts. - Added glibc 32-bit time64 ABI coverage and improved selection of the appropriate time64 preload library. - Improved configuration and numeric parsing validation, including overflow, embedded NUL, CRLF, comment, and malformed-input cases. - Prevented timestamp-save write failures from wrapping offsets or hanging on short, zero-byte, or interrupted writes. - Fixed deterministic FAKE_RANDOM seed handling for the complete unsigned 64-bit seed range and made seeded output independent of loader startup activity. - Expanded filesystem timestamp and ABI probes, including fstatat and symlink metadata behavior, while documenting implementation-dependent contracts. - Added bounded sanitizer, Valgrind, low-resource, loader, concurrency, and optional runtime compatibility checks. - Expanded Linux CI coverage to Debian, Fedora, Rocky Linux, CentOS Stream, openSUSE Tumbleweed, Arch Linux, Alpine/musl, ARM64, and 32-bit/time64 variants. - Added CI execution of the documented test snippets and improved failure log collection and release-hygiene checks. Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> --- ...onst-qualifiers-to-fix-build-with-ISO-C23.patch | 34 ---------------------- ...libfaketime_0.9.12.bb => libfaketime_0.9.13.bb} | 9 +++--- 2 files changed, 5 insertions(+), 38 deletions(-)