pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/ocaml Updated package lang/ocaml to version 4.06.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6e4c79d1101f
branches:  trunk
changeset: 373818:6e4c79d1101f
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Wed Jan 10 14:30:34 2018 +0000

description:
Updated package lang/ocaml to version 4.06.

Changes are many and can be found at https://ocaml.org/releases/4.06.html

One change that breaks a lot of packages is that the safe-string compiler
option is now enabled by default, which means that all modules need to use
immutable strings (or explicitly use the bytes type).

diffstat:

 lang/ocaml/Makefile                                                  |   5 +-
 lang/ocaml/Makefile.common                                           |   6 +-
 lang/ocaml/PLIST                                                     |  70 +++---
 lang/ocaml/buildlink3.mk                                             |   6 +-
 lang/ocaml/distinfo                                                  |  29 +-
 lang/ocaml/patches/patch-Makefile                                    |  19 +-
 lang/ocaml/patches/patch-asmrun_signals__osdep.h                     |  76 -------
 lang/ocaml/patches/patch-byterun_Makefile                            |  18 +-
 lang/ocaml/patches/patch-configure                                   |  96 +++------
 lang/ocaml/patches/patch-man_Makefile                                |  18 +-
 lang/ocaml/patches/patch-otherlibs_Makefile                          |  13 +-
 lang/ocaml/patches/patch-otherlibs_bigarray_mmap__unix.c             |  16 -
 lang/ocaml/patches/patch-otherlibs_threads_Makefile                  |  20 +-
 lang/ocaml/patches/patch-testsuite_tests_lib-dynlink-native_Makefile |  16 -
 lang/ocaml/patches/patch-utils_clflags.ml                            |  12 +-
 lang/ocaml/patches/patch-yacc_Makefile                               |  13 +-
 16 files changed, 140 insertions(+), 293 deletions(-)

diffs (truncated from 850 to 300 lines):

diff -r da207c9fa7c6 -r 6e4c79d1101f lang/ocaml/Makefile
--- a/lang/ocaml/Makefile       Wed Jan 10 12:30:11 2018 +0000
+++ b/lang/ocaml/Makefile       Wed Jan 10 14:30:34 2018 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.116 2017/11/15 12:52:15 gdt Exp $
+# $NetBSD: Makefile,v 1.117 2018/01/10 14:30:34 jaapb Exp $
 
+PKGREVISION= 1
 .include "Makefile.common"
 
-PKGREVISION=           2
-
 CONFIGURE_ENV+=                disable_x11=yes
 
 BUILD_TARGET=          world
diff -r da207c9fa7c6 -r 6e4c79d1101f lang/ocaml/Makefile.common
--- a/lang/ocaml/Makefile.common        Wed Jan 10 12:30:11 2018 +0000
+++ b/lang/ocaml/Makefile.common        Wed Jan 10 14:30:34 2018 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile.common,v 1.51 2017/09/08 09:12:44 jaapb Exp $
+# $NetBSD: Makefile.common,v 1.52 2018/01/10 14:30:34 jaapb Exp $
 
 # used by x11/labltk/Makefile
 # used by x11/ocaml-graphics/Makefile
-DISTNAME=      ocaml-4.05.0
+DISTNAME=      ocaml-4.06.0
 CATEGORIES=    lang
-MASTER_SITES=  http://caml.inria.fr/pub/distrib/ocaml-4.05/
+MASTER_SITES=  http://caml.inria.fr/pub/distrib/ocaml-4.06/
 #EXTRACT_SUFX= .tar.bz2
 
 MAINTAINER=    jaapb%NetBSD.org@localhost
diff -r da207c9fa7c6 -r 6e4c79d1101f lang/ocaml/PLIST
--- a/lang/ocaml/PLIST  Wed Jan 10 12:30:11 2018 +0000
+++ b/lang/ocaml/PLIST  Wed Jan 10 14:30:34 2018 +0000
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.44 2017/10/10 12:10:05 he Exp $
+@comment $NetBSD: PLIST,v 1.45 2018/01/10 14:30:34 jaapb Exp $
 bin/ocaml
 bin/ocamlc
 bin/ocamlc.byte
 ${PLIST.ocaml-opt}bin/ocamlc.opt
+bin/ocamlcmt
 bin/ocamlcp
 bin/ocamlcp.byte
 ${PLIST.ocaml-opt}bin/ocamlcp.opt
@@ -45,11 +46,6 @@
 lib/ocaml/arg.mli
 ${PLIST.ocaml-prof}lib/ocaml/arg.p.cmt
 ${PLIST.ocaml-prof}${PLIST.ocaml-opt}lib/ocaml/arg.p.cmx
-${PLIST.ocaml-opt}lib/ocaml/arith_flags.cmx
-lib/ocaml/arith_status.cmi
-lib/ocaml/arith_status.cmti
-${PLIST.ocaml-opt}lib/ocaml/arith_status.cmx
-lib/ocaml/arith_status.mli
 lib/ocaml/array.cmi
 lib/ocaml/array.cmt
 lib/ocaml/array.cmti
@@ -66,10 +62,6 @@
 lib/ocaml/arrayLabels.mli
 ${PLIST.ocaml-prof}lib/ocaml/arrayLabels.p.cmt
 ${PLIST.ocaml-prof}${PLIST.ocaml-opt}lib/ocaml/arrayLabels.p.cmx
-lib/ocaml/big_int.cmi
-lib/ocaml/big_int.cmti
-${PLIST.ocaml-opt}lib/ocaml/big_int.cmx
-lib/ocaml/big_int.mli
 ${PLIST.ocaml-opt}lib/ocaml/bigarray.a
 lib/ocaml/bigarray.cma
 lib/ocaml/bigarray.cmi
@@ -142,6 +134,7 @@
 lib/ocaml/caml/intext.h
 lib/ocaml/caml/io.h
 lib/ocaml/caml/jumptbl.h
+lib/ocaml/caml/m.h
 lib/ocaml/caml/major_gc.h
 lib/ocaml/caml/md5.h
 lib/ocaml/caml/memory.h
@@ -153,6 +146,7 @@
 lib/ocaml/caml/printexc.h
 lib/ocaml/caml/reverse.h
 lib/ocaml/caml/roots.h
+lib/ocaml/caml/s.h
 lib/ocaml/caml/signals.h
 lib/ocaml/caml/signals_machdep.h
 lib/ocaml/caml/socketaddr.h
@@ -169,6 +163,13 @@
 lib/ocaml/caml/weak.h
 lib/ocaml/camlheader
 lib/ocaml/camlheader_ur
+lib/ocaml/camlinternalBigarray.cmi
+lib/ocaml/camlinternalBigarray.cmt
+${PLIST.ocaml-opt}lib/ocaml/camlinternalBigarray.cmx
+lib/ocaml/camlinternalBigarray.ml
+${PLIST.ocaml-prof}lib/ocaml/camlinternalBigarray.p.cmi
+${PLIST.ocaml-prof}lib/ocaml/camlinternalBigarray.p.cmt
+${PLIST.ocaml-prof}${PLIST.ocaml-opt}lib/ocaml/camlinternalBigarray.p.cmx
 lib/ocaml/camlinternalFormat.cmi
 lib/ocaml/camlinternalFormat.cmt
 lib/ocaml/camlinternalFormat.cmti
@@ -677,6 +678,11 @@
 lib/ocaml/compiler-libs/interf.cmti
 ${PLIST.ocaml-opt}lib/ocaml/compiler-libs/interf.cmx
 lib/ocaml/compiler-libs/interf.mli
+lib/ocaml/compiler-libs/interval.cmi
+lib/ocaml/compiler-libs/interval.cmt
+lib/ocaml/compiler-libs/interval.cmti
+${PLIST.ocaml-opt}lib/ocaml/compiler-libs/interval.cmx
+lib/ocaml/compiler-libs/interval.mli
 lib/ocaml/compiler-libs/invariant_params.cmi
 lib/ocaml/compiler-libs/invariant_params.cmt
 lib/ocaml/compiler-libs/invariant_params.cmti
@@ -712,6 +718,11 @@
 lib/ocaml/compiler-libs/linkage_name.cmt
 lib/ocaml/compiler-libs/linkage_name.cmti
 lib/ocaml/compiler-libs/linkage_name.mli
+lib/ocaml/compiler-libs/linscan.cmi
+lib/ocaml/compiler-libs/linscan.cmt
+lib/ocaml/compiler-libs/linscan.cmti
+${PLIST.ocaml-opt}lib/ocaml/compiler-libs/linscan.cmx
+lib/ocaml/compiler-libs/linscan.mli
 lib/ocaml/compiler-libs/liveness.cmi
 lib/ocaml/compiler-libs/liveness.cmt
 lib/ocaml/compiler-libs/liveness.cmti
@@ -744,6 +755,11 @@
 lib/ocaml/compiler-libs/main_args.cmti
 ${PLIST.ocaml-opt}lib/ocaml/compiler-libs/main_args.cmx
 lib/ocaml/compiler-libs/main_args.mli
+lib/ocaml/compiler-libs/makedepend.cmi
+lib/ocaml/compiler-libs/makedepend.cmt
+lib/ocaml/compiler-libs/makedepend.cmti
+${PLIST.ocaml-opt}lib/ocaml/compiler-libs/makedepend.cmx
+lib/ocaml/compiler-libs/makedepend.mli
 lib/ocaml/compiler-libs/matching.cmi
 lib/ocaml/compiler-libs/matching.cmt
 lib/ocaml/compiler-libs/matching.cmti
@@ -818,6 +834,10 @@
 lib/ocaml/compiler-libs/outcometree.cmi
 lib/ocaml/compiler-libs/outcometree.cmti
 lib/ocaml/compiler-libs/outcometree.mli
+lib/ocaml/compiler-libs/parameter.cmi
+lib/ocaml/compiler-libs/parameter.cmt
+lib/ocaml/compiler-libs/parameter.cmti
+lib/ocaml/compiler-libs/parameter.mli
 lib/ocaml/compiler-libs/parmatch.cmi
 lib/ocaml/compiler-libs/parmatch.cmt
 lib/ocaml/compiler-libs/parmatch.cmti
@@ -915,6 +935,11 @@
 lib/ocaml/compiler-libs/proc.cmti
 ${PLIST.ocaml-opt}lib/ocaml/compiler-libs/proc.cmx
 lib/ocaml/compiler-libs/proc.mli
+lib/ocaml/compiler-libs/profile.cmi
+lib/ocaml/compiler-libs/profile.cmt
+lib/ocaml/compiler-libs/profile.cmti
+${PLIST.ocaml-opt}lib/ocaml/compiler-libs/profile.cmx
+lib/ocaml/compiler-libs/profile.mli
 lib/ocaml/compiler-libs/projection.cmi
 lib/ocaml/compiler-libs/projection.cmt
 lib/ocaml/compiler-libs/projection.cmti
@@ -1102,11 +1127,6 @@
 lib/ocaml/compiler-libs/terminfo.cmti
 ${PLIST.ocaml-opt}lib/ocaml/compiler-libs/terminfo.cmx
 lib/ocaml/compiler-libs/terminfo.mli
-lib/ocaml/compiler-libs/timings.cmi
-lib/ocaml/compiler-libs/timings.cmt
-lib/ocaml/compiler-libs/timings.cmti
-${PLIST.ocaml-opt}lib/ocaml/compiler-libs/timings.cmx
-lib/ocaml/compiler-libs/timings.mli
 lib/ocaml/compiler-libs/topdirs.cmi
 lib/ocaml/compiler-libs/topdirs.cmt
 lib/ocaml/compiler-libs/topdirs.cmti
@@ -1350,7 +1370,6 @@
 lib/ocaml/int64.mli
 ${PLIST.ocaml-prof}lib/ocaml/int64.p.cmt
 ${PLIST.ocaml-prof}${PLIST.ocaml-opt}lib/ocaml/int64.p.cmx
-${PLIST.ocaml-opt}lib/ocaml/int_misc.cmx
 lib/ocaml/lazy.cmi
 lib/ocaml/lazy.cmt
 lib/ocaml/lazy.cmti
@@ -1377,7 +1396,6 @@
 ${PLIST.ocaml-opt}lib/ocaml/libcamlrun_pic.a
 lib/ocaml/libcamlrun_shared.so
 ${PLIST.ocaml-opt}lib/ocaml/libcamlstr.a
-${PLIST.ocaml-opt}lib/ocaml/libnums.a
 ${PLIST.ocaml-opt}lib/ocaml/libthreads.a
 ${PLIST.ocaml-opt}lib/ocaml/libthreadsnat.a
 ${PLIST.ocaml-opt}lib/ocaml/libunix.a
@@ -1524,7 +1542,6 @@
 lib/ocaml/${PKGMANDIR}/man3/MoreLabels.Set.OrderedType.3
 lib/ocaml/${PKGMANDIR}/man3/MoreLabels.Set.S.3
 lib/ocaml/${PKGMANDIR}/man3/Nativeint.3
-lib/ocaml/${PKGMANDIR}/man3/Num.3
 lib/ocaml/${PKGMANDIR}/man3/Obj.3
 lib/ocaml/${PKGMANDIR}/man3/Obj.Ephemeron.3
 lib/ocaml/${PKGMANDIR}/man3/Oo.3
@@ -1595,10 +1612,6 @@
 ${PLIST.ocaml-prof}lib/ocaml/moreLabels.p.cmt
 ${PLIST.ocaml-prof}${PLIST.ocaml-opt}lib/ocaml/moreLabels.p.cmx
 lib/ocaml/mutex.mli
-lib/ocaml/nat.cmi
-lib/ocaml/nat.cmti
-${PLIST.ocaml-opt}lib/ocaml/nat.cmx
-lib/ocaml/nat.mli
 lib/ocaml/nativeint.cmi
 lib/ocaml/nativeint.cmt
 lib/ocaml/nativeint.cmti
@@ -1607,14 +1620,6 @@
 lib/ocaml/nativeint.mli
 ${PLIST.ocaml-prof}lib/ocaml/nativeint.p.cmt
 ${PLIST.ocaml-prof}${PLIST.ocaml-opt}lib/ocaml/nativeint.p.cmx
-lib/ocaml/num.cmi
-lib/ocaml/num.cmti
-${PLIST.ocaml-opt}lib/ocaml/num.cmx
-lib/ocaml/num.mli
-${PLIST.ocaml-opt}lib/ocaml/nums.a
-lib/ocaml/nums.cma
-${PLIST.ocaml-opt}lib/ocaml/nums.cmxa
-${PLIST.ocaml-nat}lib/ocaml/nums.cmxs
 lib/ocaml/obj.cmi
 lib/ocaml/obj.cmt
 lib/ocaml/obj.cmti
@@ -1788,10 +1793,6 @@
 lib/ocaml/random.mli
 ${PLIST.ocaml-prof}lib/ocaml/random.p.cmt
 ${PLIST.ocaml-prof}${PLIST.ocaml-opt}lib/ocaml/random.p.cmx
-lib/ocaml/ratio.cmi
-lib/ocaml/ratio.cmti
-${PLIST.ocaml-opt}lib/ocaml/ratio.cmx
-lib/ocaml/ratio.mli
 ${PLIST.ocaml-spacetime}${PLIST.ocaml-opt}lib/ocaml/raw_spacetime_lib.a
 ${PLIST.ocaml-spacetime}lib/ocaml/raw_spacetime_lib.cma
 ${PLIST.ocaml-spacetime}lib/ocaml/raw_spacetime_lib.cmi
@@ -1895,7 +1896,6 @@
 ${PLIST.ocaml-prof}${PLIST.ocaml-opt}lib/ocaml/stringLabels.p.cmx
 ${PLIST.ocaml-stub}lib/ocaml/stublibs/dllbigarray.so
 ${PLIST.ocaml-stub}lib/ocaml/stublibs/dllcamlstr.so
-${PLIST.ocaml-stub}lib/ocaml/stublibs/dllnums.so
 ${PLIST.ocaml-stub}lib/ocaml/stublibs/dllthreads.so
 ${PLIST.ocaml-stub}lib/ocaml/stublibs/dllunix.so
 ${PLIST.ocaml-stub}lib/ocaml/stublibs/dllvmthreads.so
diff -r da207c9fa7c6 -r 6e4c79d1101f lang/ocaml/buildlink3.mk
--- a/lang/ocaml/buildlink3.mk  Wed Jan 10 12:30:11 2018 +0000
+++ b/lang/ocaml/buildlink3.mk  Wed Jan 10 14:30:34 2018 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.42 2018/01/07 13:04:20 rillig Exp $
+# $NetBSD: buildlink3.mk,v 1.43 2018/01/10 14:30:34 jaapb Exp $
 
 BUILDLINK_TREE+=       ocaml
 
 .if !defined(OCAML_BUILDLINK3_MK)
 OCAML_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.ocaml+=  ocaml>=4.05.0
-BUILDLINK_ABI_DEPENDS.ocaml+=  ocaml>=4.05.0
+BUILDLINK_API_DEPENDS.ocaml+=  ocaml>=4.06.0
+BUILDLINK_ABI_DEPENDS.ocaml+=  ocaml>=4.06.0nb1
 BUILDLINK_PKGSRCDIR.ocaml?=    ../../lang/ocaml
 #BUILDLINK_DEPMETHOD.ocaml?=   build
 
diff -r da207c9fa7c6 -r 6e4c79d1101f lang/ocaml/distinfo
--- a/lang/ocaml/distinfo       Wed Jan 10 12:30:11 2018 +0000
+++ b/lang/ocaml/distinfo       Wed Jan 10 14:30:34 2018 +0000
@@ -1,34 +1,31 @@
-$NetBSD: distinfo,v 1.114 2017/11/15 12:52:15 gdt Exp $
+$NetBSD: distinfo,v 1.115 2018/01/10 14:30:34 jaapb Exp $
 
-SHA1 (ocaml-4.05.0.tar.gz) = ef9e3febed311cf9331baefd2999961b36f849cb
-RMD160 (ocaml-4.05.0.tar.gz) = 67b299c3abe032f955e95eac106c32664351453c
-SHA512 (ocaml-4.05.0.tar.gz) = 9ad68932d7ae9e33fa0f84da7288c47d518d1ef367204f6415caee000feeb8fae2ea079b1d9fa780e9470608df9e030632f4377d320236d0389991aceec94b69
-Size (ocaml-4.05.0.tar.gz) = 3913079 bytes
-SHA1 (patch-Makefile) = 557a2a34d09e7c063b34d9b97b4e3d1a8e4cd902
+SHA1 (ocaml-4.06.0.tar.gz) = bcfe5895acc88d63635d77bf0bdb8817a947a134
+RMD160 (ocaml-4.06.0.tar.gz) = fc284c392b1dd072f2c5bc7c73d0149e858ec405
+SHA512 (ocaml-4.06.0.tar.gz) = d6dc6f0fd5b0a0e6523f2b7a83efb67801bd41740a1b6c037038bcdb07c1eb2b4ac69205c17ec42524b911ea53136da82ee5bae79db6b40facd12f8f7880865d
+Size (ocaml-4.06.0.tar.gz) = 4041107 bytes
+SHA1 (patch-Makefile) = 7fb492bbc3c44bad1753b8fc6928b7b0cadac436
 SHA1 (patch-asmcomp_asmlink.ml) = db2b387ea17f41a62c2bce53b91f945d5e29a82f
 SHA1 (patch-asmrun_Makefile) = 86c88be262ae1278ca376d7966b496b49c549e72
-SHA1 (patch-asmrun_signals__osdep.h) = fa0c6981ca08d1114a377df1720ad866b94eff43
-SHA1 (patch-byterun_Makefile) = 28b8298093a439fe1418dc91bb8a06da9870bfab
-SHA1 (patch-configure) = c0612af8680c5b264fc38741d13704509e7181cf
+SHA1 (patch-byterun_Makefile) = 02797b10d685b25c0c6f5aab8eadc324e26826e9
+SHA1 (patch-configure) = c680a03e0914c7eb2bf1987226684463d75e0633
 SHA1 (patch-driver_compenv.ml) = 658e315bb08f8a1093f11c8474ac1e4ad73c8306
 SHA1 (patch-driver_main.ml) = 69a6f761ded38e0721a7aed1416a9f19a288d991
 SHA1 (patch-driver_main_args.ml) = 4c6a6ec25f433974f9aab99b4f2ac9c884bb3b04
 SHA1 (patch-driver_main_args.mli) = 5e8164e4392c0dde6c6264eeed87c346128e1863
 SHA1 (patch-driver_optmain.ml) = 5ce77f1f906ce59cb533b4d25e4d57f7a70ab1b3
-SHA1 (patch-man_Makefile) = f4fcde662061e7e7e664ec42617f1e37f1fcf214
+SHA1 (patch-man_Makefile) = b780c026aef5f7e6b22b142fce3ec87ef9d2ab22
 SHA1 (patch-ocamldoc_Makefile) = 1da273d69cda171cba8f5d17a9ec37d67ab6634b
 SHA1 (patch-ocamldoc_odoc__messages.ml) = 77f650a5f34f40b9648a8d5091e9aa31efb5734b
-SHA1 (patch-otherlibs_Makefile) = e7b777dd1c5723eb5950db38525fd9565258801f
-SHA1 (patch-otherlibs_bigarray_mmap__unix.c) = 39979990e3463c944598ac0d0bf8a2c4a3f0d558
+SHA1 (patch-otherlibs_Makefile) = 9f8b8ab3fcd72d77b750040d6484b0ad4fca7a61
 SHA1 (patch-otherlibs_dynlink_Makefile) = 9586542c6aa2f618a5d9df62bcb7bfac34ce1163
 SHA1 (patch-otherlibs_systhreads_Makefile) = edf1c481d57f42da9d0cb2699aa39c93eb46265e
-SHA1 (patch-otherlibs_threads_Makefile) = b25c0003a4e4304b6751ec90bdb99aae7a24cf70
+SHA1 (patch-otherlibs_threads_Makefile) = be27019e9349e3337eb24aa7ae3d117c5efbfabb
 SHA1 (patch-stdlib_Makefile) = 4832d06bf0d0873ddf814e77f6085a2acf2b8988
-SHA1 (patch-testsuite_tests_lib-dynlink-native_Makefile) = aad24bed515295fe0262ab09d015f3afbe2f3bc4



Home | Main Index | Thread Index | Old Index