summaryrefslogtreecommitdiff
path: root/lang/ocaml
diff options
context:
space:
mode:
authorjaapb <jaapb@pkgsrc.org>2017-07-11 09:52:11 +0000
committerjaapb <jaapb@pkgsrc.org>2017-07-11 09:52:11 +0000
commit59a1a556de77677982e601d191571da87a105ab1 (patch)
tree217c475a411a8951ae1f0a36843e524172fe556b /lang/ocaml
parentc0667a3062b2b23b000faf6b8e4474ab14eacdd9 (diff)
downloadpkgsrc-59a1a556de77677982e601d191571da87a105ab1.tar.gz
Updated package to newest version, 4.04.2. Changes include:
OCaml 4.04.2 (23 Jun 2017): --------------------------- ### Security fix: - Local privilege escalation issue with ocaml binaries. (Damien Doligez, report by Eric Milliken, review by Xavier Leroy) OCaml 4.04.1 (14 Apr 2017): --------------------------- ### Code generation and optimizations: - Consider arrays of length zero as constants when using Flambda. (Pierre Chambart, review by Mark Shinwell and Leo White) ### Standard library: - fix a bug in Set.map as introduced in 4.04.0 (Gabriel Scherer, report by Thomas Leonard) ### Tools: - ocamldoc, avoid nested <pre> tags in module description. (Florian Angeletti, report by user 'kosik') - ocamldoc, wrong Latex output for variant types with constructors without arguments. (Florian Angeletti, report by Xavier Leroy) ### Build system: - New flexlink target in Makefile.nt to bootstrap the flexlink binary only, rather than the flexlink binary and the FlexDLL C objects. (David Allsopp) ### Bug fixes - Str.regexp raises "Invalid_argument: index out of bounds" (Damien Doligez, report by John Whitington) - Fix ocamlmklib with bootstrapped FlexDLL. Bootstrapped FlexDLL objects are now installed to a subdirectory flexdll of the Standard Library which allows the compilers to pick them up explicitly and also ocamlmklib to include them without unnecessarily adding the entire Standard Library. (David Allsopp) - fix incorrect timestamps returned by Unix.stat on Windows when either TZ is set or system date is in DST. (David Allsopp, report and initial fix by Nicolás Ojeda Bär, review and superior implementation suggestion by Xavier Leroy) - s390x: Fix address of caml_raise_exn in native dynlink modules (Richard Jones, review by Xavier Leroy) - ensure 16 byte stack alignment inside caml_allocN on x86-64 for ocaml build with WITH_FRAME_POINTERS defined (Christoph Cullmann) - fix slow compilation on source files containing a lot of similar debugging information location entries (Mark Shinwell) - a case of double free in the systhreads library (POSIX implementation) (Xavier Leroy, report by Chet Murthy) - catch uncaught exception when unknown files are passed as argument (regression in 4.04.0) (Bernhard Schommer, review by Florian Angeletti and Gabriel Scherer, report by Stephen Dolan) - Memory cannot be released after calling Bigarray.Genarray.change_layout. (Damien Doligez and Xavier Leroy, report by Liang Wang) - Fix segfault in Unix.create_process on Windows caused by wrong header configuration. (David Allsopp) - add dynlink options to ocamlbytecomp.cmxa to allow ocamlopt.opt to load plugins. See http://github.com/OCamlPro/ocamlc-plugins for examples. (Fabrice Le Fessant, review by David Allsopp) - caml-types.el: Fix missing format argument, so that it can show kind of call at point correctly. (Chunhui He) - Allow Windows CRLF line-endings in ocamlyacc on Unix and Cygwin. (David Allsopp, review by Damien Doligez and Xavier Leroy) - Fix segfault in Sys.runtime_parameters when exception backtraces are enabled. (Olivier Andrieu)
Diffstat (limited to 'lang/ocaml')
-rw-r--r--lang/ocaml/Makefile.common4
-rw-r--r--lang/ocaml/buildlink3.mk6
-rw-r--r--lang/ocaml/distinfo10
3 files changed, 10 insertions, 10 deletions
diff --git a/lang/ocaml/Makefile.common b/lang/ocaml/Makefile.common
index c800167b4a8..fd6c4c042b1 100644
--- a/lang/ocaml/Makefile.common
+++ b/lang/ocaml/Makefile.common
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile.common,v 1.49 2016/12/30 11:15:00 jaapb Exp $
+# $NetBSD: Makefile.common,v 1.50 2017/07/11 09:52:11 jaapb Exp $
# used by x11/labltk/Makefile
# used by x11/ocaml-graphics/Makefile
-DISTNAME= ocaml-4.04.0
+DISTNAME= ocaml-4.04.2
CATEGORIES= lang
MASTER_SITES= http://caml.inria.fr/pub/distrib/ocaml-4.04/
#EXTRACT_SUFX= .tar.bz2
diff --git a/lang/ocaml/buildlink3.mk b/lang/ocaml/buildlink3.mk
index 4cf7fef730f..07e1730557f 100644
--- a/lang/ocaml/buildlink3.mk
+++ b/lang/ocaml/buildlink3.mk
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.39 2016/12/30 11:15:00 jaapb Exp $
+# $NetBSD: buildlink3.mk,v 1.40 2017/07/11 09:52:11 jaapb Exp $
BUILDLINK_TREE+= ocaml
.if !defined(OCAML_BUILDLINK3_MK)
OCAML_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.ocaml+= ocaml>=3.08.2
-BUILDLINK_ABI_DEPENDS.ocaml+= ocaml>=4.04.0
+BUILDLINK_API_DEPENDS.ocaml+= ocaml>=4.04.0
+BUILDLINK_ABI_DEPENDS.ocaml+= ocaml>=4.04.2
BUILDLINK_PKGSRCDIR.ocaml?= ../../lang/ocaml
#BUILDLINK_DEPMETHOD.ocaml?= build
diff --git a/lang/ocaml/distinfo b/lang/ocaml/distinfo
index 47282841fc5..421ad129ef1 100644
--- a/lang/ocaml/distinfo
+++ b/lang/ocaml/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.103 2017/03/27 12:54:59 jperkin Exp $
+$NetBSD: distinfo,v 1.104 2017/07/11 09:52:11 jaapb Exp $
-SHA1 (ocaml-4.04.0.tar.gz) = 49c4d406f5eb4dc2d8ac006103f2bc459fa5a5a6
-RMD160 (ocaml-4.04.0.tar.gz) = 98cbfac14cf93983ae62bfa2042058d0af1734bd
-SHA512 (ocaml-4.04.0.tar.gz) = ad69a42d4ff525d85f472a60ea5d565163698b2929cf0f35a33df7f724958c1b6d3aff57dfcfdc3aa6619807c626e756058cf935e74776ece9e7e984f0b3c418
-Size (ocaml-4.04.0.tar.gz) = 3557536 bytes
+SHA1 (ocaml-4.04.2.tar.gz) = 24281675ea90c9234e323d556f1d4cd7bdab8ec1
+RMD160 (ocaml-4.04.2.tar.gz) = 3d8f78cd544815233f814a0e24eba8d3c948b190
+SHA512 (ocaml-4.04.2.tar.gz) = c02e9353e8e62154ca683027c005154a7f280034d1ec9184ee52286d4a41852ba70f4ec976c01e07720f3c75e949da049eafc553e7a35ebaa65136e29ab248f5
+Size (ocaml-4.04.2.tar.gz) = 3561930 bytes
SHA1 (patch-Makefile) = 426d2aa080922fb6f034a76b8009f2fcbbe7a693
SHA1 (patch-asmcomp_asmlink.ml) = db2b387ea17f41a62c2bce53b91f945d5e29a82f
SHA1 (patch-asmrun_Makefile) = 923b46ebf5fb56693b8335787846dafda936b34c