git: ee526ccf38aa - main - mail/rspamd-devel: unbreak build on -current after inotify implementation (+)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Fri, 18 Jul 2025 18:52:29 UTC
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ee526ccf38aa02b24990e169cd7b14680fe0cd8a

commit ee526ccf38aa02b24990e169cd7b14680fe0cd8a
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2025-07-18 18:38:16 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2025-07-18 18:38:16 +0000

    mail/rspamd-devel: unbreak build on -current after inotify implementation (+)
    
    Approved by:    portmgr blanket
---
 mail/rspamd-devel/files/patch-contrib_libev_ev.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

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