diffutils: bump to version 3.3
Also drop diffutils-gets-no-longer-exists-in-eglibc-2.16.patch because gets is unconditionally undefined now so we don't need the patch. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
2e162a76ff
commit
51243f52e1
|
@ -1,26 +0,0 @@
|
||||||
Handle the fact that gets() no longer exists in glibc >= 2.16
|
|
||||||
|
|
||||||
The problem has been fixed upstream, but no release containing the fix
|
|
||||||
has been made so far.
|
|
||||||
|
|
||||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
||||||
|
|
||||||
Index: b/lib/stdio.in.h
|
|
||||||
===================================================================
|
|
||||||
--- a/lib/stdio.in.h
|
|
||||||
+++ b/lib/stdio.in.h
|
|
||||||
@@ -693,12 +693,14 @@
|
|
||||||
_GL_CXXALIAS_SYS (gets, char *, (char *s));
|
|
||||||
# undef gets
|
|
||||||
# endif
|
|
||||||
+# if defined gets
|
|
||||||
_GL_CXXALIASWARN (gets);
|
|
||||||
/* 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");
|
|
||||||
#endif
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
|
|
||||||
#if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@
|
|
|
@ -4,7 +4,7 @@
|
||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
DIFFUTILS_VERSION = 3.2
|
DIFFUTILS_VERSION = 3.3
|
||||||
DIFFUTILS_SOURCE = diffutils-$(DIFFUTILS_VERSION).tar.xz
|
DIFFUTILS_SOURCE = diffutils-$(DIFFUTILS_VERSION).tar.xz
|
||||||
DIFFUTILS_SITE = $(BR2_GNU_MIRROR)/diffutils
|
DIFFUTILS_SITE = $(BR2_GNU_MIRROR)/diffutils
|
||||||
DIFFUTILS_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
|
DIFFUTILS_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user