unison: update to 2.51.4.

This commit is contained in:
Leah Neukirchen 2021-07-16 21:22:52 +02:00
parent e4667842b7
commit 9fc51c7721
2 changed files with 3 additions and 14 deletions

View File

@ -1,11 +0,0 @@
--- a/src/fsmonitor/linux/inotify_stubs.c
+++ b/src/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"

View File

@ -1,14 +1,14 @@
# Template file for 'unison' # Template file for 'unison'
pkgname=unison pkgname=unison
version=2.51.3 version=2.51.4
revision=2 revision=1
hostmakedepends="ocaml" hostmakedepends="ocaml"
short_desc="File-synchronization tool" short_desc="File-synchronization tool"
maintainer="allan <mail@may.mooo.com>" maintainer="allan <mail@may.mooo.com>"
license="GPL-3.0-or-later" license="GPL-3.0-or-later"
homepage="https://www.cis.upenn.edu/~bcpierce/unison/" homepage="https://www.cis.upenn.edu/~bcpierce/unison/"
distfiles="https://github.com/bcpierce00/unison/archive/v${version}.tar.gz" distfiles="https://github.com/bcpierce00/unison/archive/v${version}.tar.gz"
checksum=0c287d17f52729440b2bdc28edf4d19b2d5ea5869983d78e780d501c5866914b checksum=d1ecc7581aaf2ed0f3403d4960f468acd7b9f1d92838a17c96e6d1df79b802d5
nocross="OCaml does not cross compile" nocross="OCaml does not cross compile"
do_build() { do_build() {