aboutsummaryrefslogtreecommitdiffstats
path: root/package/vsftpd/patches/find-libs.patch
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-05-15 20:39:09 +0000
committerNicolas Thill <nico@openwrt.org>2005-05-15 20:39:09 +0000
commit172dca5aa6e6d27ec7900644b2d492b3cdd4bccd (patch)
treea46173845e125cac6d2353fa5bc7119738f86d55 /package/vsftpd/patches/find-libs.patch
parent4eddce762d46dfe00af99b6e51762b3aa79796da (diff)
downloadupstream-172dca5aa6e6d27ec7900644b2d492b3cdd4bccd.tar.gz
upstream-172dca5aa6e6d27ec7900644b2d492b3cdd4bccd.tar.bz2
upstream-172dca5aa6e6d27ec7900644b2d492b3cdd4bccd.zip
Add vsftpd package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@913 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/vsftpd/patches/find-libs.patch')
-rw-r--r--package/vsftpd/patches/find-libs.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/vsftpd/patches/find-libs.patch b/package/vsftpd/patches/find-libs.patch
new file mode 100644
index 0000000000..ae8e9f7dbf
--- /dev/null
+++ b/package/vsftpd/patches/find-libs.patch
@@ -0,0 +1,14 @@
+diff -ruN vsftpd-1.2.2-orig/Makefile vsftpd-1.2.2-3/Makefile
+--- vsftpd-1.2.2-orig/Makefile 2003-09-15 13:41:58.000000000 +0200
++++ vsftpd-1.2.2-3/Makefile 2005-03-09 22:23:12.000000000 +0100
+@@ -5,8 +5,8 @@
+ #CFLAGS = -g
+ CFLAGS = -O2 -Wall -W -Wshadow #-pedantic -Werror -Wconversion
+
+-LIBS = `./vsf_findlibs.sh`
+-LINK = -Wl,-s
++LIBS = -lcrypt -lnsl
++LINK =
+
+ OBJS = main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o \
+ tunables.o ftpdataio.o secbuf.o ls.o \