summaryrefslogtreecommitdiff
path: root/net/unison/patches/patch-system_system_intf.ml
diff options
context:
space:
mode:
Diffstat (limited to 'net/unison/patches/patch-system_system_intf.ml')
-rw-r--r--net/unison/patches/patch-system_system_intf.ml14
1 files changed, 14 insertions, 0 deletions
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