summaryrefslogtreecommitdiff
path: root/net/unison-devel/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/unison-devel/files')
-rw-r--r--net/unison-devel/files/ocaml-external-patch-ab13
-rw-r--r--net/unison-devel/files/patch-pty.c13
2 files changed, 13 insertions, 13 deletions
diff --git a/net/unison-devel/files/ocaml-external-patch-ab b/net/unison-devel/files/ocaml-external-patch-ab
deleted file mode 100644
index 247ae274f9f7..000000000000
--- a/net/unison-devel/files/ocaml-external-patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
---- ubase/uprintf.ml.orig Thu Jul 29 22:50:35 2004
-+++ ubase/uprintf.ml Thu Jul 29 22:51:55 2004
-@@ -10,8 +10,8 @@
- (* *)
- (***********************************************************************)
-
--external format_int: string -> int -> string = "format_int"
--external format_float: string -> float -> string = "format_float"
-+external format_int: string -> int -> string = "caml_format_int"
-+external format_float: string -> float -> string = "caml_format_float"
-
- let fprintf outchan doafter format =
- let format = (Obj.magic format : string) in
diff --git a/net/unison-devel/files/patch-pty.c b/net/unison-devel/files/patch-pty.c
new file mode 100644
index 000000000000..833ac9b05ed4
--- /dev/null
+++ b/net/unison-devel/files/patch-pty.c
@@ -0,0 +1,13 @@
+--- pty.c.orig Sun Jan 23 19:55:28 2005
++++ pty.c Sun Jan 23 19:56:28 2005
+@@ -32,6 +32,10 @@
+ #ifdef __APPLE__
+ #include <util.h> // openpty
+ #endif
++#ifdef __FreeBSD__
++#include <sys/types.h>
++#include <libutil.h>
++#endif
+
+ /* c_openpty: unit -> (int * Unix.file_descr) */
+ CAMLprim value c_openpty() {