summaryrefslogtreecommitdiff
path: root/package/wget/patches/patch-m4_spawn_h_m4
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-02-22 22:25:19 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-02-22 22:25:19 +0100
commitd8b552dbe4dc24a7bf7dac7d05a8d9d077470347 (patch)
tree8416a7e4c4866918e91990966efc723a95b2699e /package/wget/patches/patch-m4_spawn_h_m4
parent7d3fa6ece82fd4f834a928fa764f8db5f8b34d7f (diff)
parent7520a306e9fc2892d9d30c09fd257780694ed5ab (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/wget/patches/patch-m4_spawn_h_m4')
-rw-r--r--package/wget/patches/patch-m4_spawn_h_m419
1 files changed, 19 insertions, 0 deletions
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