From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: Phil Eichinger <phil.eichinger@gmail.com>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/zsh: fix build with gcc >= 14
Date: Sat, 20 Jul 2024 23:05:00 +0200 [thread overview]
Message-ID: <20240720230500.26fbd225@windsurf> (raw)
In-Reply-To: <20240720195505.1052184-1-fontaine.fabrice@gmail.com>
On Sat, 20 Jul 2024 21:55:05 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Fix the following build failure with gcc >= 14:
>
> termcap.c:45:14: error: conflicting types for 'boolcodes'; have 'char *[]'
> 45 | static char *boolcodes[] = {
> | ^~~~~~~~~
> In file included from ../../Src/zshterm.h:1,
> from ../../Src/zsh_system.h:932,
> from ../../Src/zsh.mdh:17,
> from termcap.mdh:17,
> from termcap.c:38:
> /home/autobuild/autobuild/instance-0/output-1/host/or1k-buildroot-linux-uclibc/sysroot/usr/include/term.h:764:56: note: previous declaration of 'boolcodes' with type 'const char * const[]'
> 764 | extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) boolcodes[];
> | ^~~~~~~~~
>
> Fixes:
> - http://autobuild.buildroot.org/results/fe2f7170465e96cc1de3dae139a25f615331f4b9
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> ...er-types-in-terminfo-global-variable.patch | 51 +++++++++++++++++++
> package/zsh/zsh.mk | 2 +
> 2 files changed, 53 insertions(+)
> create mode 100644 package/zsh/0001-52383-Avoid-incompatible-pointer-types-in-terminfo-global-variable.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2024-07-20 21:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-20 19:55 [Buildroot] [PATCH 1/1] package/zsh: fix build with gcc >= 14 Fabrice Fontaine
2024-07-20 21:05 ` Thomas Petazzoni via buildroot [this message]
2024-08-29 6:15 ` Peter Korsgaard
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=20240720230500.26fbd225@windsurf \
--to=buildroot@buildroot.org \
--cc=fontaine.fabrice@gmail.com \
--cc=phil.eichinger@gmail.com \
--cc=thomas.petazzoni@bootlin.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.