summaryrefslogtreecommitdiff
path: root/package/vsftpd/patches/patch-sysdeputil_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-02-12 12:35:08 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-02-12 12:35:08 +0100
commit7bae0bafa415b79ad56a00043fdd18df49a5788a (patch)
tree9831615d14bed18e6ae22893f1d492b3c3e68c07 /package/vsftpd/patches/patch-sysdeputil_c
parent250a8ef6bb0da8ef615b167811081cc35b7a5fe7 (diff)
parent2b2ad4912de8c60a2ad8372f93ee1cfe1a1bee7a (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/vsftpd/patches/patch-sysdeputil_c')
-rw-r--r--package/vsftpd/patches/patch-sysdeputil_c13
1 files changed, 13 insertions, 0 deletions
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__)