summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-04-02 12:29:48 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-04-03 22:39:49 +0200
commit83800fa2598bf21aaec18f6176ae1cbcea2fa205 (patch)
tree89e0a434b6d77628a516cd7fd471e51868047b0e
parente99d21b5e59413885083be2de93c9b8e42f4568d (diff)
downloadbuildroot-novena-83800fa2598bf21aaec18f6176ae1cbcea2fa205.tar.gz
buildroot-novena-83800fa2598bf21aaec18f6176ae1cbcea2fa205.zip
dropbear: add vfork fix
Causes scp to fail badly. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/dropbear/dropbear-fix-vfork-logic.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/dropbear/dropbear-fix-vfork-logic.patch b/package/dropbear/dropbear-fix-vfork-logic.patch
new file mode 100644
index 000000000..2706bc85c
--- /dev/null
+++ b/package/dropbear/dropbear-fix-vfork-logic.patch
@@ -0,0 +1,21 @@
+
+# HG changeset patch
+# User Matt Johnston <matt@ucc.asn.au>
+# Date 1364743743 -28800
+# Node ID fedfb8ede1fdebad5d19df7bd4d452c3264d9545
+# Parent f27058078d61a8c3a057530d3ddcd19bd5062569
+Fix incorrect logic for USE_VFORK and calling arg_setup()
+
+diff -r f27058078d61 -r fedfb8ede1fd scp.c
+--- a/scp.c Sun Mar 31 23:15:35 2013 +0800
++++ b/scp.c Sun Mar 31 23:29:03 2013 +0800
+@@ -230,7 +230,7 @@
+ close(pin[0]);
+ close(pout[1]);
+
+-#ifdef USE_VFORK
++#ifndef USE_VFORK
+ arg_setup(host, remuser, cmd);
+ #endif
+
+