unison: unbreak musl
This commit is contained in:
parent
8cb134045f
commit
861ddac5f6
2 changed files with 12 additions and 1 deletions
11
srcpkgs/unison/patches/musl.patch
Normal file
11
srcpkgs/unison/patches/musl.patch
Normal file
|
@ -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 <sys/inotify.h>
|
||||
#else
|
||||
#include "inotify_compat.h"
|
|
@ -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 <mail@may.mooo.com>"
|
||||
license="GPL-3"
|
||||
|
|
Loading…
Reference in a new issue