diff options
Diffstat (limited to 'package/vsftpd/patches')
-rw-r--r-- | package/vsftpd/patches/patch-Makefile | 4 | ||||
-rw-r--r-- | package/vsftpd/patches/patch-sysdeputil_c | 13 |
2 files changed, 15 insertions, 2 deletions
diff --git a/package/vsftpd/patches/patch-Makefile b/package/vsftpd/patches/patch-Makefile index fecf5ff17..1549bc920 100644 --- a/package/vsftpd/patches/patch-Makefile +++ b/package/vsftpd/patches/patch-Makefile @@ -1,5 +1,5 @@ --- vsftpd-3.0.2.orig/Makefile 2012-09-16 09:27:35.000000000 +0200 -+++ vsftpd-3.0.2/Makefile 2013-11-09 11:38:47.000000000 +0100 ++++ vsftpd-3.0.2/Makefile 2014-02-11 12:59:30.000000000 +0100 @@ -1,16 +1,16 @@ # Makefile for systems with GNU tools -CC = gcc @@ -21,7 +21,7 @@ OBJS = main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o \ tunables.o ftpdataio.o secbuf.o ls.o \ -@@ -29,21 +29,8 @@ vsftpd: $(OBJS) +@@ -29,21 +29,8 @@ vsftpd: $(OBJS) $(CC) -o vsftpd $(OBJS) $(LINK) $(LDFLAGS) $(LIBS) install: diff --git a/package/vsftpd/patches/patch-sysdeputil_c b/package/vsftpd/patches/patch-sysdeputil_c new file mode 100644 index 000000000..693d90b63 --- /dev/null +++ b/package/vsftpd/patches/patch-sysdeputil_c @@ -0,0 +1,13 @@ +--- vsftpd-3.0.2.orig/sysdeputil.c 2012-09-16 06:18:04.000000000 +0200 ++++ vsftpd-3.0.2/sysdeputil.c 2014-02-11 14:21:18.000000000 +0100 +@@ -81,6 +81,10 @@ + #include <linux/unistd.h> + #include <errno.h> + #include <syscall.h> ++/* for musl */ ++#if !defined(__GLIBC__) ++#define WTMPX_FILE "/dev/null" ++#endif + #endif + + #if defined(__linux__) && !defined(__ia64__) && !defined(__s390__) |