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.patch13
1 files changed, 13 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..009ce789cc
--- /dev/null
+++ b/community/unison/fix_inotify_check.patch
@@ -0,0 +1,13 @@
+diff -ru a/fsmonitor/linux/inotify_stubs.c b/fsmonitor/linux/inotify_stubs.c
+--- a/fsmonitor/linux/inotify_stubs.c 2016-05-23 18:40:05.000000000 +0200
++++ b/fsmonitor/linux/inotify_stubs.c 2017-01-23 23:14:47.613834613 +0100
+@@ -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