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 to newest version, 4.04.2. ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6e02abcc79e4
branches:  trunk
changeset: 365112:6e02abcc79e4
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Tue Jul 11 09:52:11 2017 +0000

description:
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:

 lang/ocaml/Makefile.common |   4 ++--
 lang/ocaml/buildlink3.mk   |   6 +++---
 lang/ocaml/distinfo        |  10 +++++-----
 3 files changed, 10 insertions(+), 10 deletions(-)

diffs (51 lines):

diff -r 3716cbd05622 -r 6e02abcc79e4 lang/ocaml/Makefile.common
--- a/lang/ocaml/Makefile.common        Tue Jul 11 09:22:55 2017 +0000
+++ b/lang/ocaml/Makefile.common        Tue Jul 11 09:52:11 2017 +0000
@@ -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 -r 3716cbd05622 -r 6e02abcc79e4 lang/ocaml/buildlink3.mk
--- a/lang/ocaml/buildlink3.mk  Tue Jul 11 09:22:55 2017 +0000
+++ b/lang/ocaml/buildlink3.mk  Tue Jul 11 09:52:11 2017 +0000
@@ -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 -r 3716cbd05622 -r 6e02abcc79e4 lang/ocaml/distinfo
--- a/lang/ocaml/distinfo       Tue Jul 11 09:22:55 2017 +0000
+++ b/lang/ocaml/distinfo       Tue Jul 11 09:52:11 2017 +0000
@@ -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



Home | Main Index | Thread Index | Old Index