git: 26914af758ed - main - www/rubygem-passenger: Fix build on 15-CURRENT
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Jul 2025 07:27:48 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=26914af758edf9ba27a782664da60e5998eb4074
commit 26914af758edf9ba27a782664da60e5998eb4074
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-07-23 07:20:45 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-07-23 07:23:24 +0000
www/rubygem-passenger: Fix build on 15-CURRENT
Reference: https://pkg-status.freebsd.org/beefy17/data/main-i386-default/pa24f68e859d8_s78935fa40ee/logs/rubygem-passenger-nginx-6.0.27.log
Obtained from: devel/libev/files/patch-ev.c
---
www/rubygem-passenger/files/patch-libev | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/www/rubygem-passenger/files/patch-libev b/www/rubygem-passenger/files/patch-libev
new file mode 100644
index 000000000000..b7c89c1af886
--- /dev/null
+++ b/www/rubygem-passenger/files/patch-libev
@@ -0,0 +1,23 @@
+--- src/cxx_supportlib/vendor-modified/libev/ev.c.orig 2025-07-13 19:43:52 UTC
++++ src/cxx_supportlib/vendor-modified/libev/ev.c
+@@ -421,6 +421,11 @@
+
+ #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
+@@ -2753,7 +2758,7 @@ ev_recommended_backends (void) EV_THROW
+ {
+ unsigned int flags = ev_supported_backends ();
+
+-#ifndef __NetBSD__
++#if !defined(__NetBSD__) && !defined(__FreeBSD__)
+ /* kqueue is borked on everything but netbsd apparently */
+ /* it usually doesn't work correctly on anything but sockets and pipes */
+ flags &= ~EVBACKEND_KQUEUE;