summaryrefslogtreecommitdiff
path: root/net/unison/patches
diff options
context:
space:
mode:
authoradrianp <adrianp>2005-04-24 12:48:43 +0000
committeradrianp <adrianp>2005-04-24 12:48:43 +0000
commitc6ec0b0d08f6e2a559c8811e5322b4c320f6bea8 (patch)
tree3bb08ee6065b76e3cd520da90e7511b90bffd1b5 /net/unison/patches
parent9853f50e25a4faab79bf3045b6f34e8e69663ce7 (diff)
downloadpkgsrc-c6ec0b0d08f6e2a559c8811e5322b4c320f6bea8.tar.gz
- Update unison to 2.10.2
- Lots of changes, in summary: - out of the box OS X and OpenBSD support - limit the number of simultaneous file transfers - support for ocaml >3.07 - Files larger than 2Gb are now supported - Major tidying and enhancement of 'merge' functionality
Diffstat (limited to 'net/unison/patches')
-rw-r--r--net/unison/patches/patch-aa20
-rw-r--r--net/unison/patches/patch-ab58
-rw-r--r--net/unison/patches/patch-ac35
3 files changed, 66 insertions, 47 deletions
diff --git a/net/unison/patches/patch-aa b/net/unison/patches/patch-aa
index 656bb94052e..b360df2da36 100644
--- a/net/unison/patches/patch-aa
+++ b/net/unison/patches/patch-aa
@@ -1,8 +1,14 @@
-$NetBSD: patch-aa,v 1.3 2002/06/01 04:41:31 deberg Exp $
+$NetBSD: patch-aa,v 1.4 2005/04/24 12:48:43 adrianp Exp $
---- Makefile.orig Thu Apr 11 01:13:23 2002
-+++ Makefile Sat Jun 1 00:29:22 2002
-@@ -62,14 +62,12 @@
+--- Makefile.orig Mon Sep 6 20:15:46 2004
++++ Makefile
+@@ -55,19 +55,17 @@ all:: strings.ml buildexecutable
+ all:: INSTALL
+
+ INSTALL: $(NAME)$(EXEC_EXT)
+- ./$(NAME) -doc install > INSTALL
++## ./$(NAME) -doc install > INSTALL
+
######################################################################
# Installation
@@ -20,12 +26,12 @@ $NetBSD: patch-aa,v 1.3 2002/06/01 04:41:31 deberg Exp $
######################################################################
-@@ -231,7 +229,7 @@
+@@ -345,7 +343,7 @@ testmerge:
tags:
- -$(ETAGS) {*,*/*}.mli {*,*/*}.ml *.txt
+ -$(ETAGS) *.mli */*.mli *.ml */*.ml *.m */*.m *.c */*.c *.txt
-all:: TAGS
+# all:: TAGS
- TAGS:
+ TAGS:
$(MAKE) tags
diff --git a/net/unison/patches/patch-ab b/net/unison/patches/patch-ab
index 6131a0eabe9..fc7b4f9238b 100644
--- a/net/unison/patches/patch-ab
+++ b/net/unison/patches/patch-ab
@@ -1,44 +1,46 @@
-$NetBSD: patch-ab,v 1.1 2003/06/29 23:52:05 jtb Exp $
+$NetBSD: patch-ab,v 1.2 2005/04/24 12:48:43 adrianp Exp $
---- Makefile.OCaml.orig
+--- Makefile.OCaml.orig 2004-09-06 20:15:46.000000000 +0100
+++ Makefile.OCaml
-@@ -42,7 +42,7 @@
- ifeq ($(shell hostname),saul.cis.upenn.edu)
- OSARCH=solaris
+@@ -47,6 +47,10 @@ ifeq ($(shell uname),Darwin)
else
-- OSARCH=linux
-+ OSARCH=bsd
+ ifeq ($(shell uname),OpenBSD)
+ OSARCH=OpenBSD
++else
++ifeq ($(shell uname),NetBSD)
++ OSARCH=NetBSD
++endif
endif
- ETAGS=etags
endif
-@@ -157,7 +157,7 @@
- ifeq ($(OSARCH), win32gnuc)
- GUILIBDIR=$(OCAMLLIBDIR)/lablgtk/cclibs
endif
--ifeq ($(OSARCH), linux)
-+ifeq ($(OSARCH), bsd)
+@@ -253,6 +257,9 @@ endif
+ ifeq ($(OSARCH), osx)
X11LIBDIR=/usr/X11R6/lib
endif
++ifeq ($(OSARCH), NetBSD)
++ X11LIBDIR=/usr/X11R6/lib
++endif
-@@ -243,7 +243,7 @@
- # libcurses is not in a standard place in older Solaris releases.
- STATICLIBS+=-cclib -R/usr/xpg4/lib
- endif
-- ifeq ($(OSARCH), linux)
-+ ifeq ($(OSARCH), bsd)
+ # Developer-only directories
+ ifeq ($(shell hostname), raptor.research.att.com)
+@@ -396,6 +403,9 @@ ifeq ($(STATIC), true)
+ ifeq ($(OSARCH), osx)
STATICLIBS+=-cclib -static
endif
++ ifeq ($(OSARCH), NetBSD)
++ STATICLIBS+=-cclib -static
++ endif
CLIBS=$(STATICLIBS)
-@@ -255,9 +255,9 @@
- # Include an automatically generated list of dependencies
- include .depend
+ endif
--ifeq ($(shell echo type -t ocamldot | bash), file)
-- OCAMLDOT=true
--endif
-+#ifeq ($(shell echo type -t ocamldot | bash), file)
-+ OCAMLDOT=false
-+#endif
+@@ -437,6 +447,10 @@ else
+ endif
+ endif
++ifeq ($(OSARCH), NetBSD)
++ OCAMLDOT=false
++endif
++
# Rebuild dependencies (must be invoked manually)
.PHONY: depend
+ depend::
diff --git a/net/unison/patches/patch-ac b/net/unison/patches/patch-ac
index 00c40b6c45d..5c38bfc43ab 100644
--- a/net/unison/patches/patch-ac
+++ b/net/unison/patches/patch-ac
@@ -1,15 +1,26 @@
-$NetBSD: patch-ac,v 1.1 2005/02/04 22:54:52 adrianp Exp $
+$NetBSD: patch-ac,v 1.2 2005/04/24 12:48:43 adrianp Exp $
---- ubase/uprintf.ml.orig 2005-01-12 18:52:27.000000000 +0100
-+++ ubase/uprintf.ml 2005-01-12 18:52:53.000000000 +0100
-@@ -10,8 +10,8 @@
- (* *)
- (***********************************************************************)
+--- pty.c.orig 2004-09-06 20:15:47.000000000 +0100
++++ pty.c
+@@ -18,7 +18,11 @@ CAMLprim value dumpFd(value fdVal) {
+ }
--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"
+ #include <caml/fail.h> // failwith
++#ifdef __NetBSD__
++#include <errno.h> // errno
++#else
+ #include <sys/errno.h> // errno
++#endif
+ #include <string.h> // strerror
+ #include <caml/alloc.h> // alloc_tuple
+ #include <caml/memory.h> // Store_field
+@@ -32,6 +36,9 @@ CAMLprim value dumpFd(value fdVal) {
+ #ifdef __APPLE__
+ #include <util.h> // openpty
+ #endif
++#ifdef __NetBSD__
++#include <util.h> // openpty
++#endif
- let fprintf outchan doafter format =
- let format = (Obj.magic format : string) in
+ /* c_openpty: unit -> (int * Unix.file_descr) */
+ CAMLprim value c_openpty() {