fdm: fix musl compile
[feed/packages.git] / mail / fdm / patches / 020-musl_GLOB_BRACE.patch
diff --git a/mail/fdm/patches/020-musl_GLOB_BRACE.patch b/mail/fdm/patches/020-musl_GLOB_BRACE.patch
new file mode 100644 (file)
index 0000000..2b5683d
--- /dev/null
@@ -0,0 +1,22 @@
+--- a/fetch-maildir.c
++++ b/fetch-maildir.c
+@@ -31,6 +31,8 @@
+ #include "fdm.h"
+ #include "fetch.h"
++#define GLOB_BRACE 0
++
+ int   fetch_maildir_commit(struct account *, struct mail *);
+ void  fetch_maildir_abort(struct account *);
+ u_int fetch_maildir_total(struct account *);
+--- a/fetch-mbox.c
++++ b/fetch-mbox.c
+@@ -32,6 +32,8 @@
+ #include "fdm.h"
+ #include "fetch.h"
++#define GLOB_BRACE 0
++
+ int   fetch_mbox_commit(struct account *, struct mail *);
+ void  fetch_mbox_abort(struct account *);
+ u_int fetch_mbox_total(struct account *);