diff options
author | jaapb <jaapb@pkgsrc.org> | 2016-05-06 14:29:04 +0000 |
---|---|---|
committer | jaapb <jaapb@pkgsrc.org> | 2016-05-06 14:29:04 +0000 |
commit | 6bdff58228f0a7b44fd5e5d03e949dcd82abf8b3 (patch) | |
tree | b3e4876b103e162c52e4d8188ced1cd3a7c2e42e /net/unison | |
parent | 064d4098a5402537aceb4e4281305e0e94b8b8ec (diff) | |
download | pkgsrc-6bdff58228f0a7b44fd5e5d03e949dcd82abf8b3.tar.gz |
Added two patches that solve a compilation problem with ocaml 4.03.0.
Diffstat (limited to 'net/unison')
-rw-r--r-- | net/unison/distinfo | 4 | ||||
-rw-r--r-- | net/unison/patches/patch-fs.ml | 14 | ||||
-rw-r--r-- | net/unison/patches/patch-system_system_intf.ml | 14 |
3 files changed, 31 insertions, 1 deletions
diff --git a/net/unison/distinfo b/net/unison/distinfo index 5d87af17d6e..71e8bed91c3 100644 --- a/net/unison/distinfo +++ b/net/unison/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.25 2015/11/04 00:35:42 agc Exp $ +$NetBSD: distinfo,v 1.26 2016/05/06 14:29:04 jaapb Exp $ SHA1 (unison-2.48.3-release/unison-2.48.3.tar.gz) = 2a0cfc95e95b9e9457c39faa4fe5b8184023cd0c RMD160 (unison-2.48.3-release/unison-2.48.3.tar.gz) = f70cca489bbde21797429a7c687e6ac86299ae79 @@ -6,3 +6,5 @@ SHA512 (unison-2.48.3-release/unison-2.48.3.tar.gz) = 169b272119b33146e4f770d1fc Size (unison-2.48.3-release/unison-2.48.3.tar.gz) = 1172646 bytes SHA1 (patch-Makefile.OCaml) = 2c39a20eb731d3f787d5c938b539ceb3276d5d47 SHA1 (patch-aa) = dd1a001fb7071cd9141615b42a692e6d1d812081 +SHA1 (patch-fs.ml) = 67bc00008c4b7d47c15d01549f6446cc0fba262d +SHA1 (patch-system_system_intf.ml) = 58a29e56b66fb4f09306dad4d652770ffa77efec diff --git a/net/unison/patches/patch-fs.ml b/net/unison/patches/patch-fs.ml new file mode 100644 index 00000000000..b03fd4c0bc0 --- /dev/null +++ b/net/unison/patches/patch-fs.ml @@ -0,0 +1,14 @@ +$NetBSD: patch-fs.ml,v 1.1 2016/05/06 14:29:04 jaapb Exp $ + +Solve compilation problem with ocaml 4.03 +--- fs.ml.orig 2014-12-29 18:34:45.000000000 +0000 ++++ fs.ml +@@ -21,7 +21,7 @@ type fspath = Fspath.t + type dir_handle = System.dir_handle + = { readdir : unit -> string; closedir : unit -> unit } + +-let symlink l f = System.symlink l (Fspath.toString f) ++let symlink ?to_dir l f = System.symlink ?to_dir l (Fspath.toString f) + + let readlink f = System.readlink (Fspath.toString f) + diff --git a/net/unison/patches/patch-system_system_intf.ml b/net/unison/patches/patch-system_system_intf.ml new file mode 100644 index 00000000000..3f852a3f670 --- /dev/null +++ b/net/unison/patches/patch-system_system_intf.ml @@ -0,0 +1,14 @@ +$NetBSD: patch-system_system_intf.ml,v 1.1 2016/05/06 14:29:04 jaapb Exp $ + +Solve compilation problem with ocaml 4.03 +--- system/system_intf.ml.orig 2014-12-29 18:34:45.000000000 +0000 ++++ system/system_intf.ml +@@ -20,7 +20,7 @@ module type Core = sig + type fspath + type dir_handle = { readdir : unit -> string; closedir : unit -> unit } + +-val symlink : string -> fspath -> unit ++val symlink : ?to_dir:bool -> string -> fspath -> unit + val readlink : fspath -> string + val chown : fspath -> int -> int -> unit + val chmod : fspath -> int -> unit |