Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Angelo Compagnucci <angelo.compagnucci@gmail.com>
To: buildroot@buildroot.org
Cc: Biagio Montaruli <biagio.hkr@gmail.com>,
	Edgar Bonet <bonet@grenoble.cnrs.fr>,
	Ludovic Desroches <ludovic.desroches@microchip.com>,
	Simon Dawson <spdawson@gmail.com>,
	Angelo Compagnucci <angelo.compagnucci@gmail.com>
Subject: [Buildroot] [PATCH 4/5] boot/at91bootstrap3: drop the patch for 3.10.3
Date: Tue, 10 Nov 2026 22:55:56 +0100	[thread overview]
Message-ID: <20261110215557.2248804-5-angelo.compagnucci@gmail.com> (raw)
In-Reply-To: <20261110215557.2248804-1-angelo.compagnucci@gmail.com>

No defconfig uses AT91Bootstrap 3.10.3 anymore: the build fix for
GCC 15 is carried for 3.10.4, the 3.x version of the package.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
---
 ...conditionally-define-bool-false-and-.patch | 47 -------------------
 1 file changed, 47 deletions(-)
 delete mode 100644 boot/at91bootstrap3/v3.10.3/0001-include-types.h-conditionally-define-bool-false-and-.patch

diff --git a/boot/at91bootstrap3/v3.10.3/0001-include-types.h-conditionally-define-bool-false-and-.patch b/boot/at91bootstrap3/v3.10.3/0001-include-types.h-conditionally-define-bool-false-and-.patch
deleted file mode 100644
index 352c1c0a43..0000000000
--- a/boot/at91bootstrap3/v3.10.3/0001-include-types.h-conditionally-define-bool-false-and-.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From 908c65678867565a934ea5a967bfe7e204d1ccaf Mon Sep 17 00:00:00 2001
-From: Edgar Bonet <bonet@grenoble.cnrs.fr>
-Date: Wed, 25 Jun 2025 11:13:43 +0200
-Subject: [PATCH] include/types.h: conditionally define bool, false and true
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-include/types.h typedefs ‘bool’ and macro-defines ‘false’ and ‘true’.
-However, since C23, these are predefine keywords. As C23 is the default
-C dialect for GCC 15, building with this compiler fails with:
-
-    include/types.h:23:23: error: ‘bool’ cannot be defined via ‘typedef’
-       23 | typedef unsigned char bool;
-          |                       ^~~~
-    include/types.h:23:23: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
-
-Fix this build failure by only defining ‘bool’, ‘false’ and ‘true’ on C
-dialects older than C23.
-
-Upstream: https://github.com/linux4sam/at91bootstrap/pull/188
-[Edgar: backport to v3.10.3]
-
-Signed-off-by: Edgar Bonet <bonet@grenoble.cnrs.fr>
----
- include/types.h | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/include/types.h b/include/types.h
-index 1246a4df..2c1a41cf 100644
---- a/include/types.h
-+++ b/include/types.h
-@@ -42,8 +42,11 @@ typedef signed long long s64;
- typedef unsigned long size_t;
- typedef signed long ssize_t;
- 
-+/* bool, false and true are predefined since C23. */
-+#if __STDC_VERSION__ < 202311L
- typedef unsigned char bool;
- #define false	0U
- #define true	1U
-+#endif
- 
- #endif /* TYPES_H_ */
--- 
-2.43.0
-
-- 
2.53.0

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

  parent reply	other threads:[~2026-11-10 21:56 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-10 21:55 [Buildroot] [PATCH 0/5] at91bootstrap3: bump to 3.10.4, re-add the Arietta G25 defconfigs Angelo Compagnucci
2026-11-10 21:55 ` [Buildroot] [PATCH 1/5] boot/at91bootstrap3: bump 3.x series to 3.10.4 Angelo Compagnucci
2026-11-11 11:55   ` Edgar Bonet via buildroot
2026-11-10 21:55 ` [Buildroot] [PATCH 2/5] configs/acmesystems_acqua_a5_*: bump AT91Bootstrap " Angelo Compagnucci
2026-11-11 11:55   ` Edgar Bonet via buildroot
2026-11-10 21:55 ` [Buildroot] [PATCH 3/5] configs/at91sam9x5ek*: " Angelo Compagnucci
2026-11-10 21:55 ` Angelo Compagnucci [this message]
2026-11-10 21:55 ` [Buildroot] [PATCH 5/5] configs/acmesystems_arietta_g25_{128mb, 256mb}_defconfig: re-add defconfigs Angelo Compagnucci
2026-11-11 15:45 ` [Buildroot] [PATCH v2 1/6] boot/at91bootstrap3: bump 3.x series to 3.10.4 Angelo Compagnucci
2026-11-11 15:45   ` [Buildroot] [PATCH v2 2/6] configs/acmesystems_acqua_a5_*: bump AT91Bootstrap " Angelo Compagnucci
2026-11-11 15:45   ` [Buildroot] [PATCH v2 3/6] configs/at91sam9x5ek*: " Angelo Compagnucci
2026-11-11 15:45   ` [Buildroot] [PATCH v2 4/6] boot/at91bootstrap3: drop the patch for 3.10.3 Angelo Compagnucci
2026-11-11 15:45   ` [Buildroot] [PATCH v2 5/6] boot/at91bootstrap3: find the memory@ node of Linux device trees Angelo Compagnucci
2026-11-11 18:13     ` Edgar Bonet via buildroot
2026-11-11 18:50       ` Angelo Compagnucci
2026-11-11 15:45   ` [Buildroot] [PATCH v2 6/6] configs/acmesystems_arietta_g25_{128mb, 256mb}_defconfig: re-add defconfigs Angelo Compagnucci
2026-11-11 18:37   ` [Buildroot] [PATCH v3 1/7] boot/at91bootstrap3: bump 3.x series to 3.10.4 Angelo Compagnucci
2026-11-11 18:37     ` [Buildroot] [PATCH v3 2/7] configs/acmesystems_acqua_a5_*: bump AT91Bootstrap " Angelo Compagnucci
2026-11-11 18:37     ` [Buildroot] [PATCH v3 3/7] configs/at91sam9x5ek*: " Angelo Compagnucci
2026-11-11 18:37     ` [Buildroot] [PATCH v3 4/7] boot/at91bootstrap3: drop the patch for 3.10.3 Angelo Compagnucci
2026-11-11 18:37     ` [Buildroot] [PATCH v3 5/7] boot/at91bootstrap3: find the memory@ node of Linux device trees Angelo Compagnucci
2026-11-11 18:37     ` [Buildroot] [PATCH v3 6/7] configs/acmesystems_arietta_g25_{128mb, 256mb}_defconfig: re-add defconfigs Angelo Compagnucci
2026-11-11 18:37     ` [Buildroot] [PATCH v3 7/7] DEVELOPERS: remove Biagio Montaruli Angelo Compagnucci

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=20261110215557.2248804-5-angelo.compagnucci@gmail.com \
    --to=angelo.compagnucci@gmail.com \
    --cc=biagio.hkr@gmail.com \
    --cc=bonet@grenoble.cnrs.fr \
    --cc=buildroot@buildroot.org \
    --cc=ludovic.desroches@microchip.com \
    --cc=spdawson@gmail.com \
    /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