summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/tar/tar-1.27/remove-gets.patch (renamed from meta/recipes-extended/tar/tar-1.26/remove-gets.patch)18
-rw-r--r--meta/recipes-extended/tar/tar-replacement-native_1.27.bb (renamed from meta/recipes-extended/tar/tar-replacement-native_1.26.bb)0
-rw-r--r--meta/recipes-extended/tar/tar_1.27.bb (renamed from meta/recipes-extended/tar/tar_1.26.bb)6
3 files changed, 12 insertions, 12 deletions
diff --git a/meta/recipes-extended/tar/tar-1.26/remove-gets.patch b/meta/recipes-extended/tar/tar-1.27/remove-gets.patch
index 2429d429ae..0b8be39eed 100644
--- a/meta/recipes-extended/tar/tar-1.26/remove-gets.patch
+++ b/meta/recipes-extended/tar/tar-1.27/remove-gets.patch
@@ -3,18 +3,20 @@ ISO C11 removes the specification of gets() from the C language, eglibc 2.16+ re
3Signed-off-by: Khem Raj <raj.khem@gmail.com> 3Signed-off-by: Khem Raj <raj.khem@gmail.com>
4 4
5Upstream-Status: Pending 5Upstream-Status: Pending
6Index: tar-1.26/gnu/stdio.in.h 6Index: tar-1.27/gnu/stdio.in.h
7=================================================================== 7===================================================================
8--- tar-1.26.orig/gnu/stdio.in.h 2011-03-12 01:14:33.000000000 -0800 8--- tar-1.27.orig/gnu/stdio.in.h 2013-06-29 08:54:26.000000000 +0300
9+++ tar-1.26/gnu/stdio.in.h 2012-07-04 12:18:58.997081535 -0700 9+++ tar-1.27/gnu/stdio.in.h 2013-10-16 15:22:46.977204737 +0300
10@@ -163,8 +163,10 @@ 10@@ -710,10 +710,12 @@
11 /* It is very rare that the developer ever has full control of stdin, 11 /* It is very rare that the developer ever has full control of stdin,
12 so any use of gets warrants an unconditional warning. Assume it is 12 so any use of gets warrants an unconditional warning; besides, C11
13 always declared, since it is required by C89. */ 13 removed it. */
14+#if defined gets 14+#if defined gets
15 #undef gets 15 #undef gets
16 #if HAVE_RAW_DECL_GETS
16 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); 17 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
18 #endif
17+#endif 19+#endif
18 20
19 #if @GNULIB_FOPEN@ 21
20 # if @REPLACE_FOPEN@ 22 #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@
diff --git a/meta/recipes-extended/tar/tar-replacement-native_1.26.bb b/meta/recipes-extended/tar/tar-replacement-native_1.27.bb
index 071ede765b..071ede765b 100644
--- a/meta/recipes-extended/tar/tar-replacement-native_1.26.bb
+++ b/meta/recipes-extended/tar/tar-replacement-native_1.27.bb
diff --git a/meta/recipes-extended/tar/tar_1.26.bb b/meta/recipes-extended/tar/tar_1.27.bb
index 8b774e6821..6cf6f708f9 100644
--- a/meta/recipes-extended/tar/tar_1.26.bb
+++ b/meta/recipes-extended/tar/tar_1.27.bb
@@ -3,10 +3,8 @@ require tar.inc
3LICENSE = "GPLv3" 3LICENSE = "GPLv3"
4LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 4LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
5 5
6PR = "r5"
7
8SRC_URI += "file://remove-gets.patch \ 6SRC_URI += "file://remove-gets.patch \
9 " 7 "
10 8
11SRC_URI[md5sum] = "2cee42a2ff4f1cd4f9298eeeb2264519" 9SRC_URI[md5sum] = "74f51434bfb7756bd571a0f718b171ae"
12SRC_URI[sha256sum] = "5a5369f464502a598e938029c310d4b3abd51e6bb8dfd045663e61c8ea9f6d41" 10SRC_URI[sha256sum] = "2238c5c63c7ecaccc962f10482d76875b45cedfed69138ed852a88e344af3c7b"