pkgsrc/net/unison/patches/patch-src_fs.ml
jaapb b7e16f091a Updated net/unison to latest version, 2.48.15.
I can't find a good changelog, but upstream changes seem to be fairly
minor.

A lot of local patches have been added to ensure compatibility with the
latest version of OCaml and lablgtk, and I have cleaned up the package
Makefile a little.
2017-11-14 13:03:35 +00:00

14 lines
502 B
OCaml

$NetBSD: patch-src_fs.ml,v 1.1 2017/11/14 13:03:35 jaapb Exp $
System symlink definition has changed
--- src/fs.ml.orig 2015-10-05 18:14:23.000000000 +0000
+++ src/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 l (Fspath.toString f)
let readlink f = System.readlink (Fspath.toString f)