summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2005-02-04 22:54:52 +0000
committeradrianp <adrianp@pkgsrc.org>2005-02-04 22:54:52 +0000
commit6184014a75ee0cc315ddf4887b181a1264e54b74 (patch)
treed85bae1af77fb5ce42ccf3dace8886e4131f730f
parentb885e970d725a669784c2e814123a02d47acbba5 (diff)
downloadpkgsrc-6184014a75ee0cc315ddf4887b181a1264e54b74.tar.gz
- Patch unison so it now works with ocaml 3.08.2
- Bump to nb4 - Thanks to Antoine Reilles for supplying the patch
-rw-r--r--net/unison/Makefile5
-rw-r--r--net/unison/distinfo3
-rw-r--r--net/unison/patches/patch-ac15
3 files changed, 20 insertions, 3 deletions
diff --git a/net/unison/Makefile b/net/unison/Makefile
index 0efaa4ee4f6..798e52a8d09 100644
--- a/net/unison/Makefile
+++ b/net/unison/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.22 2004/12/24 17:21:01 jmmv Exp $
+# $NetBSD: Makefile,v 1.23 2005/02/04 22:54:52 adrianp Exp $
DISTNAME= src
PKGNAME= unison-2.9.1
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= net
MASTER_SITES= http://www.cis.upenn.edu/~bcpierce/unison/download/stable/latest/
@@ -10,6 +10,7 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.cis.upenn.edu/~bcpierce/unison/
COMMENT= File-synchronization tool
+BUILDLINK_DEPENDS.ocaml+= ocaml>=3.08.2
PKG_INSTALLATION_TYPES= overwrite pkgviews
DIST_SUBDIR= ${PKGNAME_NOREV}
diff --git a/net/unison/distinfo b/net/unison/distinfo
index 7a5294456b7..d25e6d082be 100644
--- a/net/unison/distinfo
+++ b/net/unison/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2003/06/29 23:52:04 jtb Exp $
+$NetBSD: distinfo,v 1.7 2005/02/04 22:54:52 adrianp Exp $
SHA1 (unison-2.9.1/src.tar.gz) = d355639b8191f5c74e652fe257fd98dcf76d4cc0
Size (unison-2.9.1/src.tar.gz) = 319081 bytes
SHA1 (patch-aa) = bb844e8070faab7d4c8aac30345881c1c66ca8d2
SHA1 (patch-ab) = 0d391ffc0c47a16d24cda5e9f219665eeafb1553
+SHA1 (patch-ac) = e04d12ec7a25ff343bd0af41754508bc81326098
diff --git a/net/unison/patches/patch-ac b/net/unison/patches/patch-ac
new file mode 100644
index 00000000000..00c40b6c45d
--- /dev/null
+++ b/net/unison/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1 2005/02/04 22:54:52 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 @@
+ (* *)
+ (***********************************************************************)
+
+-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