[Buildroot] [PATCH] package/gnutls: Fix build with uClibc

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Jul 27 13:28:02 UTC 2020


On Tue, 23 Jun 2020 12:15:33 +0200
stefan at astylos.dk wrote:

> From: Stefan Sørensen <stefan.sorensen at spectralink.com>
> 
> Since v3.6.14 gnutls wants to use the 'e' flag with fopen to set the
> O_CLOEXEC flags. Since this is a glibc extension, it will trigger a
> gnulib override of fopen on non-glibc systems, but that override
> breaks the uClibc stdio.h header.
> 
> Fixes:
> http://autobuild.buildroot.org/results/02f/02f2b524add307c8f7cc1af1ed0783bb1baf029a
> 
> Signed-off-by: Stefan Sørensen <stefan.sorensen at spectralink.com>
> ---
>  ...Fix-gnulib-stdio.h-include-on-uclibc.patch | 49 +++++++++++++++++++
>  1 file changed, 49 insertions(+)
>  create mode 100644 package/gnutls/0001-Fix-gnulib-stdio.h-include-on-uclibc.patch

This patch was applied to master quite some time ago, but I forgot to
notify. Here is the notification! :-)

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list