fdm: fix musl compile
[feed/packages.git] / mail / fdm / patches / 030-musl_ACCESSPERMS.patch
diff --git a/mail/fdm/patches/030-musl_ACCESSPERMS.patch b/mail/fdm/patches/030-musl_ACCESSPERMS.patch
new file mode 100644 (file)
index 0000000..b781871
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/file.c
++++ b/file.c
+@@ -26,6 +26,8 @@
+ #include "fdm.h"
++#define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO)
++
+ int   mklock(u_int, const char *);
+ void  rmlock(u_int, const char *);
+ int   lockfd(u_int, int);