public inbox for buildroot@busybox.net
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/faketime: fix host build with glibc 2.43
@ 2026-03-06 22:42 Bernd Kuhls
  2026-03-07 12:54 ` Julien Olivain via buildroot
  2026-03-14  7:53 ` Thomas Perale via buildroot
  0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2026-03-06 22:42 UTC (permalink / raw)
  To: buildroot

Fixes:
https://autobuild.buildroot.net/results/911/9112933e2560b155a9c61f321874ec245b62b2a5/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 ...qualifiers-to-fix-build-with-ISO-C23.patch | 39 +++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 package/faketime/0001-Add-const-qualifiers-to-fix-build-with-ISO-C23.patch

diff --git a/package/faketime/0001-Add-const-qualifiers-to-fix-build-with-ISO-C23.patch b/package/faketime/0001-Add-const-qualifiers-to-fix-build-with-ISO-C23.patch
new file mode 100644
index 0000000000..ce84d40699
--- /dev/null
+++ b/package/faketime/0001-Add-const-qualifiers-to-fix-build-with-ISO-C23.patch
@@ -0,0 +1,39 @@
+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: https://github.com/wolfcw/libfaketime/commit/dbe865dfdba0145d993d70b7fd4ec88b2f47554b
+
+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
+---
+ 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);
+-- 
+2.47.3
+
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/faketime: fix host build with glibc 2.43
  2026-03-06 22:42 [Buildroot] [PATCH 1/1] package/faketime: fix host build with glibc 2.43 Bernd Kuhls
@ 2026-03-07 12:54 ` Julien Olivain via buildroot
  2026-03-14  7:53 ` Thomas Perale via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Julien Olivain via buildroot @ 2026-03-07 12:54 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: buildroot

On 06/03/2026 23:42, Bernd Kuhls wrote:
> Fixes:
> https://autobuild.buildroot.net/results/911/9112933e2560b155a9c61f321874ec245b62b2a5/
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/faketime: fix host build with glibc 2.43
  2026-03-06 22:42 [Buildroot] [PATCH 1/1] package/faketime: fix host build with glibc 2.43 Bernd Kuhls
  2026-03-07 12:54 ` Julien Olivain via buildroot
@ 2026-03-14  7:53 ` Thomas Perale via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Perale via buildroot @ 2026-03-14  7:53 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: Thomas Perale, buildroot

In reply of:
> Fixes:
> https://autobuild.buildroot.net/results/911/9112933e2560b155a9c61f321874ec245b62b2a5/
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Applied to 2025.02.x, 2025.11.x & 2026.02.x. Thanks

> ---
>  ...qualifiers-to-fix-build-with-ISO-C23.patch | 39 +++++++++++++++++++
>  1 file changed, 39 insertions(+)
>  create mode 100644 package/faketime/0001-Add-const-qualifiers-to-fix-build-with-ISO-C23.patch
> 
> diff --git a/package/faketime/0001-Add-const-qualifiers-to-fix-build-with-ISO-C23.patch b/package/faketime/0001-Add-const-qualifiers-to-fix-build-with-ISO-C23.patch
> new file mode 100644
> index 0000000000..ce84d40699
> --- /dev/null
> +++ b/package/faketime/0001-Add-const-qualifiers-to-fix-build-with-ISO-C23.patch
> @@ -0,0 +1,39 @@
> +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: https://github.com/wolfcw/libfaketime/commit/dbe865dfdba0145d993d70b7fd4ec88b2f47554b
> +
> +Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> +---
> + 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);
> +-- 
> +2.47.3
> +
> -- 
> 2.47.3
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-03-14  7:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-06 22:42 [Buildroot] [PATCH 1/1] package/faketime: fix host build with glibc 2.43 Bernd Kuhls
2026-03-07 12:54 ` Julien Olivain via buildroot
2026-03-14  7:53 ` Thomas Perale via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox