diff options
Diffstat (limited to 'sysutils/watchman')
-rw-r--r-- | sysutils/watchman/Makefile | 2 | ||||
-rw-r--r-- | sysutils/watchman/files/patch-watcher_inotify.c | 10 |
2 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/watchman/Makefile b/sysutils/watchman/Makefile index aa8ddf4ac238..44f6b7d421bc 100644 --- a/sysutils/watchman/Makefile +++ b/sysutils/watchman/Makefile @@ -13,6 +13,8 @@ LICENSE= APACHE20 BROKEN_mips= fails to build: watchman.h:169: undefined reference to '__sync_add_and_fetch_8' BROKEN_mips64= fails to build: watchman.h:169: undefined reference to '__sync_add_and_fetch_8' +BUILD_DEPENDS= ${LOCALBASE}/include/sys/inotify.h:devel/libinotify + USE_GITHUB= yes GH_ACCOUNT= facebook diff --git a/sysutils/watchman/files/patch-watcher_inotify.c b/sysutils/watchman/files/patch-watcher_inotify.c new file mode 100644 index 000000000000..335276f46c4b --- /dev/null +++ b/sysutils/watchman/files/patch-watcher_inotify.c @@ -0,0 +1,10 @@ +--- watcher/inotify.c.orig 2025-08-23 19:27:40 UTC ++++ watcher/inotify.c +@@ -8,6 +8,7 @@ + #ifndef IN_EXCL_UNLINK + /* defined in <linux/inotify.h> but we can't include that without + * breaking userspace */ ++#include <sys/inotify.h> // from the libinotify package + # define WATCHMAN_IN_EXCL_UNLINK 0x04000000 + #else + # define WATCHMAN_IN_EXCL_UNLINK IN_EXCL_UNLINK |