diff options
author | Nuno Teixeira <eduardo@FreeBSD.org> | 2025-07-12 11:05:38 +0100 |
---|---|---|
committer | Nuno Teixeira <eduardo@FreeBSD.org> | 2025-07-12 11:19:24 +0100 |
commit | cf7638ce9d71b857f12bdc87b768cc2466d849d4 (patch) | |
tree | af82d6d9021e0e3e826f7b20f6872f3188581188 /devel/libev/files/patch-ev.c | |
parent | security/vuxml: extend libxml2/libxslt vuln to linux-* ports (diff) |
devel/libev: Unbreak current after inotify add
After inotify was added to main, if condition bellow leads to build error
related to missing (linux) statfs.h header.
Fix it by adjusting correct headers:
#if EV_USE_INOTIFY
-# include <sys/statfs.h>
+# include <sys/mount.h>
# include <sys/inotify.h>
While here, refresh patches.
Approved by: portmgr (blanket, build fix)
Sugested by: markj
See also; https://lists.freebsd.org/archives/dev-commits-src-all/2025-July/057269.html
Diffstat (limited to 'devel/libev/files/patch-ev.c')
-rw-r--r-- | devel/libev/files/patch-ev.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/devel/libev/files/patch-ev.c b/devel/libev/files/patch-ev.c index 28a00f3aaf8b..65b372e5415a 100644 --- a/devel/libev/files/patch-ev.c +++ b/devel/libev/files/patch-ev.c @@ -1,6 +1,15 @@ ---- ev.c.orig 2015-12-20 21:12:53 UTC +--- ev.c.orig 2020-03-18 12:27:32 UTC +++ ev.c -@@ -2736,7 +2736,7 @@ ev_recommended_backends (void) EV_THROW +@@ -507,7 +507,7 @@ + #endif + + #if EV_USE_INOTIFY +-# include <sys/statfs.h> ++# include <sys/mount.h> + # include <sys/inotify.h> + /* some very old inotify.h headers don't have IN_DONT_FOLLOW */ + # ifndef IN_DONT_FOLLOW +@@ -3149,7 +3149,7 @@ ev_recommended_backends (void) EV_NOEXCEPT { unsigned int flags = ev_supported_backends (); |