summaryrefslogtreecommitdiff
path: root/net/unison
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2018-01-22 10:35:44 +0000
committerwiz <wiz@pkgsrc.org>2018-01-22 10:35:44 +0000
commit4cf54bec70e1ba0574aecf4d8391244714d133af (patch)
tree6920b41f90709284aab934cb5faf49dfd4a1619f /net/unison
parent821b8e4e38171388b690ffc4b2d5559c6a2450fa (diff)
downloadpkgsrc-4cf54bec70e1ba0574aecf4d8391244714d133af.tar.gz
unison: fix build with ocaml-4.06
Taken from upstream's v2.48.15v4 release
Diffstat (limited to 'net/unison')
-rw-r--r--net/unison/distinfo4
-rw-r--r--net/unison/patches/patch-src_Makefile.OCaml12
2 files changed, 13 insertions, 3 deletions
diff --git a/net/unison/distinfo b/net/unison/distinfo
index 8332ec3ebcc..f7084d72d55 100644
--- a/net/unison/distinfo
+++ b/net/unison/distinfo
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.28 2017/11/14 13:03:35 jaapb Exp $
+$NetBSD: distinfo,v 1.29 2018/01/22 10:35:44 wiz Exp $
SHA1 (unison-2.48.15.tar.gz) = 7a22715321fdd4808d12f9122df9314a45283a18
RMD160 (unison-2.48.15.tar.gz) = aa98f4fb12e4363c8a51e1969fa829cab7e96869
SHA512 (unison-2.48.15.tar.gz) = 2614b7291f9d9eb1cb5380560e4883849c6bba449d31e5bc704395291978d41e43208cfff701708a5ae9c9a6a220a8ceb06496fd1e2ab1915bf2f5c36349739f
Size (unison-2.48.15.tar.gz) = 1912444 bytes
SHA1 (patch-src_Makefile) = 19cf0b79995c7848bc02d220267be4f3a3e4b59b
-SHA1 (patch-src_Makefile.OCaml) = 3c2168ebffa1b5479577d64113cf5d8c6f9b906e
+SHA1 (patch-src_Makefile.OCaml) = 04681c195b2e7e11f3068960236f3ccd216fa816
SHA1 (patch-src_fs.ml) = 1d02f83d245466c0aad45a3261bba8149ed3db56
SHA1 (patch-src_mkProjectInfo.ml) = a1908748dbe4c1db0e2b012e73fe46c6bca30348
SHA1 (patch-src_system_system_intf.ml) = 89b8598b364bee489b356f9cb3cb297d981b526e
diff --git a/net/unison/patches/patch-src_Makefile.OCaml b/net/unison/patches/patch-src_Makefile.OCaml
index 93d38b31b85..e24c49e58d0 100644
--- a/net/unison/patches/patch-src_Makefile.OCaml
+++ b/net/unison/patches/patch-src_Makefile.OCaml
@@ -1,6 +1,7 @@
-$NetBSD: patch-src_Makefile.OCaml,v 1.1 2017/11/14 13:03:35 jaapb Exp $
+$NetBSD: patch-src_Makefile.OCaml,v 1.2 2018/01/22 10:35:45 wiz Exp $
Correct lablgtk paths for 2.16, and use ocamlopt.opt for compilation
+Add -unsafe-string for OCaml >= 4.06.
--- src/Makefile.OCaml.orig 2015-10-05 18:14:23.000000000 +0000
+++ src/Makefile.OCaml
@@ -15,6 +16,15 @@ Correct lablgtk paths for 2.16, and use ocamlopt.opt for compilation
##BCP [3/2007]: Removed temporarily, since the OSX UI is not working well
## at the moment and we don't want to confuse people by building it by default
ifeq ($(OSARCH),osx)
+@@ -95,7 +95,7 @@ buildexecutable::
+ ### Default parameters
+
+ # Generate backtrace information for exceptions
+-CAMLFLAGS+=-g
++CAMLFLAGS+=-g -unsafe-string
+
+ INCLFLAGS=-I lwt -I ubase -I system
+ CAMLFLAGS+=$(INCLFLAGS)
@@ -292,14 +292,14 @@ endif
# Gtk GUI