aboutsummaryrefslogtreecommitdiffstats
path: root/community/unison/fix-inotify-check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/unison/fix-inotify-check.patch')
-rw-r--r--community/unison/fix-inotify-check.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/unison/fix-inotify-check.patch b/community/unison/fix-inotify-check.patch
new file mode 100644
index 0000000000..54233079d0
--- /dev/null
+++ b/community/unison/fix-inotify-check.patch
@@ -0,0 +1,12 @@
+--- a/fsmonitor/linux/inotify_stubs.c
++++ b/fsmonitor/linux/inotify_stubs.c
+@@ -35,6 +35,9 @@
+ #define GLIBC_SUPPORT_INOTIFY 0
+ #endif
+
++/* Alpine linux supports inotify */
++#define GLIBC_SUPPORT_INOTIFY 1
++
+ #if GLIBC_SUPPORT_INOTIFY
+ #include <sys/inotify.h>
+ #else