mirror of
https://git.freebsd.org/ports.git
synced 2025-05-14 08:11:50 -04:00
- The port does not currently work with the inotify observer as the inotify functions are no longer in the base system/libc. The patch adds a lib_depend on devel/libinotify and patches the appropriate file in the port. - Bump PORTREVISION PR: 260939 Reported by: Robert Kruss <rob.kruus@gmail.com>
11 lines
409 B
Python
11 lines
409 B
Python
--- src/watchdog/observers/inotify_c.py.orig 2022-06-10 10:11:14 UTC
|
|
+++ src/watchdog/observers/inotify_c.py
|
|
@@ -25,7 +25,7 @@ from functools import reduce
|
|
from ctypes import c_int, c_char_p, c_uint32
|
|
from watchdog.utils import UnsupportedLibc
|
|
|
|
-libc = ctypes.CDLL(None)
|
|
+libc = ctypes.CDLL('libinotify.so')
|
|
|
|
if not hasattr(libc, 'inotify_init') or \
|
|
not hasattr(libc, 'inotify_add_watch') or \
|