diff --git a/srcpkgs/unison/patches/musl.patch b/srcpkgs/unison/patches/musl.patch new file mode 100644 index 0000000000..7203e16f18 --- /dev/null +++ b/srcpkgs/unison/patches/musl.patch @@ -0,0 +1,11 @@ +--- fsmonitor/linux/inotify_stubs.c ++++ fsmonitor/linux/inotify_stubs.c +@@ -35,7 +35,7 @@ + #define GLIBC_SUPPORT_INOTIFY 0 + #endif + +-#if GLIBC_SUPPORT_INOTIFY ++#if GLIBC_SUPPORT_INOTIFY || (!defined(__GLIBC__) && defined(__linux)) + #include + #else + #include "inotify_compat.h" diff --git a/srcpkgs/unison/template b/srcpkgs/unison/template index d88811f27a..785d158f40 100644 --- a/srcpkgs/unison/template +++ b/srcpkgs/unison/template @@ -1,7 +1,7 @@ # Template file for 'unison' pkgname="unison" version=2.48.4 -revision=1 +revision=2 short_desc="A file-synchronization tool" maintainer="allan " license="GPL-3"