summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConstantin Musca <constantinx.musca@intel.com>2012-08-24 13:07:31 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-25 14:46:58 +0100
commitf69937079f4cfdb0da7938ce6282bf7bee9f8224 (patch)
tree820f31ed9671fbbff626293dba51868f12f4e238
parent6848280c54bc68ece864c0d9a49e4784edb54727 (diff)
downloadpoky-f69937079f4cfdb0da7938ce6282bf7bee9f8224.tar.gz
wget: upgrade to 1.14
remove-gets.patch: removed - included in the new version (From OE-Core rev: 396af9e2c8a8b7ad8d49566350d79f05898734a7) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/wget/wget-1.13.4/remove-gets.patch23
-rw-r--r--meta/recipes-extended/wget/wget-1.14/fix_makefile.patch (renamed from meta/recipes-extended/wget/wget-1.13.4/fix_makefile.patch)0
-rw-r--r--meta/recipes-extended/wget/wget_1.13.4.bb10
-rw-r--r--meta/recipes-extended/wget/wget_1.14.bb9
4 files changed, 9 insertions, 33 deletions
diff --git a/meta/recipes-extended/wget/wget-1.13.4/remove-gets.patch b/meta/recipes-extended/wget/wget-1.13.4/remove-gets.patch
deleted file mode 100644
index ed1d019383..0000000000
--- a/meta/recipes-extended/wget/wget-1.13.4/remove-gets.patch
+++ /dev/null
@@ -1,23 +0,0 @@
1ISO C11 removes the specification of gets() from the C language, eglibc 2.16+ removed it
2
3Signed-off-by: Khem Raj <raj.khem@gmail.com>
4
5Upstream-Status: Pending
6Index: wget-1.13.4/lib/stdio.in.h
7===================================================================
8--- wget-1.13.4.orig/lib/stdio.in.h 2011-09-13 01:15:14.000000000 -0700
9+++ wget-1.13.4/lib/stdio.in.h 2012-07-04 12:22:45.749092515 -0700
10@@ -693,11 +693,13 @@
11 _GL_CXXALIAS_SYS (gets, char *, (char *s));
12 # undef gets
13 # endif
14+# if defined gets
15 _GL_CXXALIASWARN (gets);
16 /* It is very rare that the developer ever has full control of stdin,
17 so any use of gets warrants an unconditional warning. Assume it is
18 always declared, since it is required by C89. */
19 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
20+# endif
21 #endif
22
23
diff --git a/meta/recipes-extended/wget/wget-1.13.4/fix_makefile.patch b/meta/recipes-extended/wget/wget-1.14/fix_makefile.patch
index b76a017df6..b76a017df6 100644
--- a/meta/recipes-extended/wget/wget-1.13.4/fix_makefile.patch
+++ b/meta/recipes-extended/wget/wget-1.14/fix_makefile.patch
diff --git a/meta/recipes-extended/wget/wget_1.13.4.bb b/meta/recipes-extended/wget/wget_1.13.4.bb
deleted file mode 100644
index 9a9441eafc..0000000000
--- a/meta/recipes-extended/wget/wget_1.13.4.bb
+++ /dev/null
@@ -1,10 +0,0 @@
1PR = "${INC_PR}.3"
2
3SRC_URI = "${GNU_MIRROR}/wget/wget-${PV}.tar.gz \
4 file://fix_makefile.patch \
5 file://remove-gets.patch \
6 "
7SRC_URI[md5sum] = "1df489976a118b9cbe1b03502adbfc27"
8SRC_URI[sha256sum] = "24c7710bc9f220ce23d8a9e0f5673b0efc1cace62db6de0239b5863ecc934dcd"
9
10require wget.inc
diff --git a/meta/recipes-extended/wget/wget_1.14.bb b/meta/recipes-extended/wget/wget_1.14.bb
new file mode 100644
index 0000000000..f26b884be6
--- /dev/null
+++ b/meta/recipes-extended/wget/wget_1.14.bb
@@ -0,0 +1,9 @@
1PR = "${INC_PR}.0"
2
3SRC_URI = "${GNU_MIRROR}/wget/wget-${PV}.tar.gz \
4 file://fix_makefile.patch \
5 "
6SRC_URI[md5sum] = "12edc291dba8127f2e9696e69f36299e"
7SRC_URI[sha256sum] = "f3a6898e3a765bb94435b04a6668db9e5d19b3e90e0c69a503a2773ae936c269"
8
9require wget.inc