aboutsummaryrefslogtreecommitdiffstats
path: root/main/dropbear/dropbear-0.53.1-static_build_fix.patch
diff options
context:
space:
mode:
authorMichael Zhou <zhoumichaely@gmail.com>2011-07-14 06:50:15 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-07-14 07:40:25 +0000
commit1fba2a7f9b9a08661c54b107291bda0a223182f0 (patch)
treedbd68b6b0247e98529ddbf362b781f8dd2d0dc81 /main/dropbear/dropbear-0.53.1-static_build_fix.patch
parenta5c6e8bdcb51c633548bc09900fde177cdbfe025 (diff)
downloadaports-1fba2a7f9b9a08661c54b107291bda0a223182f0.tar.bz2
aports-1fba2a7f9b9a08661c54b107291bda0a223182f0.tar.xz
main/dropbear: Upgrade to 0.53.1
Diffstat (limited to 'main/dropbear/dropbear-0.53.1-static_build_fix.patch')
-rw-r--r--main/dropbear/dropbear-0.53.1-static_build_fix.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/dropbear/dropbear-0.53.1-static_build_fix.patch b/main/dropbear/dropbear-0.53.1-static_build_fix.patch
new file mode 100644
index 0000000000..0e0a91a27e
--- /dev/null
+++ b/main/dropbear/dropbear-0.53.1-static_build_fix.patch
@@ -0,0 +1,26 @@
+dropbear: fix static build
+
+the -lcrypt is missing during the link
+
+svr-authpasswd.o: In function `svr_auth_password':
+svr-authpasswd.c:(.text+0xfc): undefined reference to `crypt'
+collect2: ld returned 1 exit status
+
+Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
+---
+ Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: b/Makefile.in
+===================================================================
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -77,7 +77,7 @@ STRIP=@STRIP@
+ INSTALL=@INSTALL@
+ CPPFLAGS=@CPPFLAGS@
+ CFLAGS+=-I. -I$(srcdir) $(CPPFLAGS) @CFLAGS@
+-LIBS+=@LIBS@
++LIBS+=@CRYPTLIB@ @LIBS@
+ LDFLAGS=@LDFLAGS@
+
+ EXEEXT=@EXEEXT@