package/libiconv: bump to 1.15
PATCH 1/1 package/libiconv: bump to 1.15
libiconv doesn't build with gcc 6 due to a macro in stdio.h using gets() which has been removed with the C11 standard.
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
With libiconv 1.15, this macro is protected by
#if HAVE_RAW_DECL_GETS && !defined __cplusplus _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); #endif
Fixes:
http://autobuild.buildroot.net/results/61b/61bbfc839f99feb043d3456f107429d6e5319258
--- package/libiconv/libiconv.hash | 2 +- package/libiconv/libiconv.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/libiconv/libiconv.hash +1 -1
@@ -1,2 +1,2 @@ # Locally calculated after checking pgp signature -sha256 72b24ded17d687193c3366d0ebe7cde1e6b18f0df8c55438ac95be39e8a30613 libiconv-1.14.tar.gz +sha256 ccf536620a45458d26ba83887a983b96827001e92a13847b45e4925cc8913178 libiconv-1.15.tar.gz
package/libiconv/libiconv.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -LIBICONV_VERSION = 1.14 +LIBICONV_VERSION = 1.15 LIBICONV_SITE = $(BR2_GNU_MIRROR)/libiconv LIBICONV_INSTALL_STAGING = YES LIBICONV_LICENSE = GPL-3.0+ (iconv program), LGPL-2.0+ (library)
Signature · 1 line
2.9.4
Thomas Petazzoni
AppliedPATCH 1/1 package/libiconv: bump to 1.15
Hello,
Quoted 11 lines · Romain Naour
libiconv doesn't build with gcc 6 due to a macro in
stdio.husinggets()which has been removed with the C11 standard.
_GL_WARN_ON_USE(gets, "gets is a security hole - use fgets instead");With libiconv 1.15, this macro is protected by
#if
HAVE_RAW_DECL_GETS&& !defined__cplusplus_GL_WARN_ON_USE(gets, "gets is a security hole - use fgets instead"); #endif
Quoted 8 lines
Fixes:
http://autobuild.buildroot.net/results/61b/61bbfc839f99feb043d3456f107429d6e5319258Signed-off-by Romain Naour <[email protected]>--- package/libiconv/libiconv.hash | 2 +- package/libiconv/libiconv.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com