summaryrefslogtreecommitdiff
path: root/openwrt/package/dropbear/patches/150-dbconvert_standalone.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-01-31 13:33:25 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-01-31 13:33:25 +0000
commit051931d5fbbee0947e9035b892760f57719ae8a3 (patch)
treea45147e6ddf71eb8a6a325b7e33cfd3da79796fb /openwrt/package/dropbear/patches/150-dbconvert_standalone.patch
parent4590caced72f7c825d4ecc7f9d2e300bbb13f5e8 (diff)
downloadmtk-20170518-051931d5fbbee0947e9035b892760f57719ae8a3.zip
mtk-20170518-051931d5fbbee0947e9035b892760f57719ae8a3.tar.gz
mtk-20170518-051931d5fbbee0947e9035b892760f57719ae8a3.tar.bz2
disable dropbear zlib support and split off dropbearconvert to save flash space
SVN-Revision: 3085
Diffstat (limited to 'openwrt/package/dropbear/patches/150-dbconvert_standalone.patch')
-rw-r--r--openwrt/package/dropbear/patches/150-dbconvert_standalone.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/openwrt/package/dropbear/patches/150-dbconvert_standalone.patch b/openwrt/package/dropbear/patches/150-dbconvert_standalone.patch
new file mode 100644
index 0000000..50c035a
--- /dev/null
+++ b/openwrt/package/dropbear/patches/150-dbconvert_standalone.patch
@@ -0,0 +1,14 @@
+--- dropbear-0.47.old/options.h 2006-01-31 13:36:25.301562500 +0100
++++ dropbear-0.47.dev/options.h 2006-01-31 13:37:41.846346250 +0100
+@@ -5,6 +5,11 @@
+ #ifndef _OPTIONS_H_
+ #define _OPTIONS_H_
+
++#if !defined(DROPBEAR_CLIENT) && !defined(DROPBEAR_SERVER)
++#define DROPBEAR_SERVER
++#define DROPBEAR_CLIENT
++#endif
++
+ /******************************************************************
+ * Define compile-time options below - the "#ifndef DROPBEAR_XXX .... #endif"
+ * parts are to allow for commandline -DDROPBEAR_XXX options etc.