From: Joachim Wiberg <troglobit@gmail.com>
To: Bernd Kuhls <bernd@kuhls.net>, buildroot@buildroot.org
Cc: Bogdan Radulescu <bogdan@nimblex.net>,
Steve Kenton <skenton@ou.edu>, Wade Berrier <wberrier@gmail.com>
Subject: Re: [Buildroot] [PATCH 3/5] package/mrouted: fix build with gcc-15.x
Date: Sun, 18 May 2025 20:43:29 +0200 [thread overview]
Message-ID: <836bd770a0189f99a9322be4acc38843d8272eb8.camel@gmail.com> (raw)
In-Reply-To: <20250518174630.2149476-3-bernd@kuhls.net>
I guess that's a reminder as good as any to merge the PR.
lgtm /J
Reviewed-by: Joachim Wiberg <troglobit@gmail.com>
On Sun, 2025-05-18 at 19:46 +0200, Bernd Kuhls wrote:
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> ---
> package/mrouted/0001-gcc15.patch | 33
> ++++++++++++++++++++++++++++++++
> 1 file changed, 33 insertions(+)
> create mode 100644 package/mrouted/0001-gcc15.patch
>
> diff --git a/package/mrouted/0001-gcc15.patch b/package/mrouted/0001-
> gcc15.patch
> new file mode 100644
> index 0000000000..781f83f5c7
> --- /dev/null
> +++ b/package/mrouted/0001-gcc15.patch
> @@ -0,0 +1,33 @@
> +From cdb388c8dc6e661d2a23f1e9b79102bc68e89af5 Mon Sep 17 00:00:00
> 2001
> +From: Philippe Troin <phil+github-commits@fifi.org>
> +Date: Wed, 23 Apr 2025 16:04:20 -0700
> +Subject: [PATCH] C23 compatibility.
> +
> +bool is a keyword in C23.
> +
> +Upstream: https://github.com/troglobit/mrouted/pull/65
> +
> +Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> +---
> + src/kern.c | 6 +++---
> + 1 file changed, 3 insertions(+), 3 deletions(-)
> +
> +diff --git a/src/kern.c b/src/kern.c
> +index 27f8dd4..04f1c36 100644
> +--- a/src/kern.c
> ++++ b/src/kern.c
> +@@ -104,11 +104,11 @@ void k_set_rcvbuf(int bufsize, int minsize)
> + * in the kernel and "panic". The kernel patch for netinet/ip_raw.c
> + * coming with this distribution fixes it.
> + */
> +-void k_hdr_include(int bool)
> ++void k_hdr_include(int flag)
> + {
> + #ifdef IP_HDRINCL
> +- if (setsockopt(igmp_socket, IPPROTO_IP, IP_HDRINCL, &bool,
> sizeof(bool)) < 0)
> +- logit(LOG_ERR, errno, "Failed setting socket IP_HDRINCL %u",
> bool);
> ++ if (setsockopt(igmp_socket, IPPROTO_IP, IP_HDRINCL, &flag,
> sizeof(flag)) < 0)
> ++ logit(LOG_ERR, errno, "Failed setting socket IP_HDRINCL %u",
> flag);
> + #endif
> + }
> +
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2025-05-18 18:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-18 17:46 [Buildroot] [PATCH 1/5] package/iftop: fix build with gcc-15.x Bernd Kuhls
2025-05-18 17:46 ` [Buildroot] [PATCH 2/5] package/mjpegtools: " Bernd Kuhls
2025-05-18 17:46 ` [Buildroot] [PATCH 3/5] package/mrouted: " Bernd Kuhls
2025-05-18 18:43 ` Joachim Wiberg [this message]
2025-05-18 17:46 ` [Buildroot] [PATCH 4/5] package/ngrep: " Bernd Kuhls
2025-05-18 17:46 ` [Buildroot] [PATCH 5/5] package/pppd: " Bernd Kuhls
2025-05-19 16:43 ` [Buildroot] [PATCH 1/5] package/iftop: " Julien Olivain
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=836bd770a0189f99a9322be4acc38843d8272eb8.camel@gmail.com \
--to=troglobit@gmail.com \
--cc=bernd@kuhls.net \
--cc=bogdan@nimblex.net \
--cc=buildroot@buildroot.org \
--cc=skenton@ou.edu \
--cc=wberrier@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.