From 0cd03542850a3aacea7060d8debf0fdef333aacc Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 11 Feb 2014 14:24:39 +0100 Subject: fix musl compile --- package/vsftpd/patches/patch-sysdeputil_c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 package/vsftpd/patches/patch-sysdeputil_c (limited to 'package/vsftpd/patches/patch-sysdeputil_c') 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 + #include + #include ++/* for musl */ ++#if !defined(__GLIBC__) ++#define WTMPX_FILE "/dev/null" ++#endif + #endif + + #if defined(__linux__) && !defined(__ia64__) && !defined(__s390__) -- cgit v1.2.3