From 861ddac5f6b53d1b075075af0cc0c6ff63391eec Mon Sep 17 00:00:00 2001 From: Duncaen Date: Sun, 17 Jul 2016 17:08:11 +0200 Subject: [PATCH] unison: unbreak musl --- srcpkgs/unison/patches/musl.patch | 11 +++++++++++ srcpkgs/unison/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/unison/patches/musl.patch diff --git a/srcpkgs/unison/patches/musl.patch b/srcpkgs/unison/patches/musl.patch new file mode 100644 index 00000000000..7203e16f18b --- /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 d88811f27a0..785d158f401 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"