mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-05 20:32:58 +02:00
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'
|
# Template file for 'unison'
|
||||||
pkgname="unison"
|
pkgname="unison"
|
||||||
version=2.48.4
|
version=2.48.4
|
||||||
revision=1
|
revision=2
|
||||||
short_desc="A file-synchronization tool"
|
short_desc="A file-synchronization tool"
|
||||||
maintainer="allan <mail@may.mooo.com>"
|
maintainer="allan <mail@may.mooo.com>"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
|
|
Loading…
Add table
Reference in a new issue