summaryrefslogtreecommitdiff
path: root/package/wget
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-02-21 17:31:41 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-02-21 17:31:41 +0100
commit73040662a805c7d29b89bb85772d5b09c2a6e63f (patch)
tree6f84e43028eaaf3ba967c195039e522d18538631 /package/wget
parentf4c748be56e6b6731537624bb333d001469f4f50 (diff)
fix compile with uclibc
Diffstat (limited to 'package/wget')
-rw-r--r--package/wget/Makefile4
-rw-r--r--package/wget/patches/patch-m4_spawn_h_m419
2 files changed, 21 insertions, 2 deletions
diff --git a/package/wget/Makefile b/package/wget/Makefile
index 30b074096..7abbe7241 100644
--- a/package/wget/Makefile
+++ b/package/wget/Makefile
@@ -4,9 +4,9 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= wget
-PKG_VERSION:= 1.14
+PKG_VERSION:= 1.15
PKG_RELEASE:= 1
-PKG_MD5SUM:= 12edc291dba8127f2e9696e69f36299e
+PKG_MD5SUM:= 506df41295afc6486662cc47470b4618
PKG_DESCR:= retrieving files using HTTP(S) and FTP
PKG_SECTION:= www
PKG_BUILDDEP:= autotool
diff --git a/package/wget/patches/patch-m4_spawn_h_m4 b/package/wget/patches/patch-m4_spawn_h_m4
new file mode 100644
index 000000000..f49598f3b
--- /dev/null
+++ b/package/wget/patches/patch-m4_spawn_h_m4
@@ -0,0 +1,19 @@
+--- wget-1.15.orig/m4/spawn_h.m4 2014-01-19 11:00:21.000000000 +0100
++++ wget-1.15/m4/spawn_h.m4 2014-02-21 17:25:19.000000000 +0100
+@@ -64,7 +64,15 @@ AC_DEFUN([gl_HAVE_POSIX_SPAWN],
+ dnl once only, before all statements that occur in other macros.
+ AC_REQUIRE([gl_SPAWN_H_DEFAULTS])
+
+- AC_CHECK_FUNCS_ONCE([posix_spawn])
++ LIB_POSIX_SPAWN=
++ AC_SUBST([LIB_POSIX_SPAWN])
++ gl_saved_libs=$LIBS
++ AC_SEARCH_LIBS([posix_spawn], [rt],
++ [test "$ac_cv_search_posix_spawn" = "none required" ||
++ LIB_POSIX_SPAWN=$ac_cv_search_posix_spawn])
++ AC_CHECK_FUNCS([posix_spawn])
++ LIBS=$gl_saved_libs
++
+ if test $ac_cv_func_posix_spawn != yes; then
+ HAVE_POSIX_SPAWN=0
+ fi