libiconv: update to libiconv-1.15

This commit is contained in:
MilhouseVH 2017-07-07 17:37:22 +01:00
parent f454de0435
commit 488d735d02
2 changed files with 1 additions and 17 deletions

View File

@ -17,7 +17,7 @@
################################################################################
PKG_NAME="libiconv"
PKG_VERSION="1.14"
PKG_VERSION="1.15"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://savannah.gnu.org/projects/libiconv/"

View File

@ -1,16 +0,0 @@
from
http://www.itkb.ro/kb/linux/patch-libiconv-pentru-glibc-216
--- a/srclib/stdio.in.h.orig 2011-08-07 16:42:06.000000000 +0300
+++ b/srclib/stdio.in.h 2013-01-10 15:53:03.000000000 +0200
@@ -695,7 +695,9 @@
/* It is very rare that the developer ever has full control of stdin,
so any use of gets warrants an unconditional warning. Assume it is
always declared, since it is required by C89. */
-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+#if defined(__GLIBC__) && !defined(__UCLIBC__) && !__GLIBC_PREREQ(2, 16)
+ _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+#endif
#endif