git: 06475261fd66 - main - devel/p5-EV: Unbreak build on current

From: Kirill Ponomarev <krion_at_FreeBSD.org>
Date: Mon, 21 Jul 2025 10:07:04 UTC
The branch main has been updated by krion:

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

commit 06475261fd6657c01efda21826f6eed146f6474f
Author:     Kirill Ponomarev <krion@FreeBSD.org>
AuthorDate: 2025-07-21 10:06:39 +0000
Commit:     Kirill Ponomarev <krion@FreeBSD.org>
CommitDate: 2025-07-21 10:06:39 +0000

    devel/p5-EV: Unbreak build on current
---
 devel/p5-EV/files/patch-libev_ev.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/devel/p5-EV/files/patch-libev_ev.c b/devel/p5-EV/files/patch-libev_ev.c
new file mode 100644
index 000000000000..ab255b4ae56d
--- /dev/null
+++ b/devel/p5-EV/files/patch-libev_ev.c
@@ -0,0 +1,14 @@
+--- libev/ev.c.orig	2025-07-21 10:03:33 UTC
++++ libev/ev.c
+@@ -511,7 +511,11 @@
+ #endif
+ 
+ #if EV_USE_INOTIFY
++# 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