diff options
author | Dima Panov <fluffy@FreeBSD.org> | 2025-07-18 21:38:16 +0300 |
---|---|---|
committer | Dima Panov <fluffy@FreeBSD.org> | 2025-07-18 21:38:16 +0300 |
commit | ee526ccf38aa02b24990e169cd7b14680fe0cd8a (patch) | |
tree | 26608c1d7e26c60a1a6891fddb822b4436489507 /mail/rspamd-devel/files/patch-contrib_libev_ev.c | |
parent | mail/rspamd: unbreak build on -current after inotify implementation (+) (diff) |
mail/rspamd-devel: unbreak build on -current after inotify implementation (+)
Approved by: portmgr blanket
Diffstat (limited to 'mail/rspamd-devel/files/patch-contrib_libev_ev.c')
-rw-r--r-- | mail/rspamd-devel/files/patch-contrib_libev_ev.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mail/rspamd-devel/files/patch-contrib_libev_ev.c b/mail/rspamd-devel/files/patch-contrib_libev_ev.c new file mode 100644 index 000000000000..132965381667 --- /dev/null +++ b/mail/rspamd-devel/files/patch-contrib_libev_ev.c @@ -0,0 +1,15 @@ +--- contrib/libev/ev.c.orig 2025-06-17 09:32:30 UTC ++++ contrib/libev/ev.c +@@ -527,7 +527,11 @@ + #endif + + #if EV_USE_INOTIFY +-# include <sys/statfs.h> ++# ifdef __FreeBSD__ ++# include <sys/mount.h> ++# else ++ # include <sys/statfs.h> ++# endif + # include <sys/inotify.h> + /* some very old inotify.h headers don't have IN_DONT_FOLLOW */ + # ifndef IN_DONT_FOLLOW |