void-packages/srcpkgs/vsftpd/patches/009-i686-musl.patch
Jürgen Buchmüller 4b78a00fcc
vsftpd: fix i686-musl
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-04-25 10:45:15 +02:00

15 lines
394 B
Diff

--- ptracesandbox.c.orig 2018-04-25 10:43:45.885676254 +0200
+++ ptracesandbox.c 2018-04-25 10:44:23.021677437 +0200
@@ -854,8 +854,12 @@
arg2 != F_SETOWN &&
arg2 != F_SETLK &&
arg2 != F_SETLKW &&
+#if defined(F_SETLK64)
arg2 != F_SETLK64 &&
+#endif
+#if defined(F_SETLK64)
arg2 != F_SETLKW64 &&
+#endif
arg2 != F_SETFD &&
arg2 != F_GETFD)
{