termux-packages/packages/dropbear/sysoptions.h.patch
Leonid Plyushch c4061e081f dropbear: update to 2018.76 (#2356)
* dropbear: update to 2018.76

* dropbear: fix hardcoded paths

* dropbear: enable scp
2018-04-22 21:22:48 +02:00

13 lines
379 B
Diff

diff -uNr dropbear-2018.76/sysoptions.h dropbear-2018.76.mod/sysoptions.h
--- dropbear-2018.76/sysoptions.h 2018-02-27 16:25:12.000000000 +0200
+++ dropbear-2018.76.mod/sysoptions.h 2018-04-21 13:48:41.227075019 +0300
@@ -71,7 +71,7 @@
#define _PATH_TTY "/dev/tty"
-#define _PATH_CP "/bin/cp"
+#define _PATH_CP "@TERMUX_PREFIX@/bin/cp"
#define DROPBEAR_ESCAPE_CHAR '~'