pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/ocaml



Module Name:    pkgsrc
Committed By:   jaapb
Date:           Tue Jul 11 09:52:12 UTC 2017

Modified Files:
        pkgsrc/lang/ocaml: Makefile.common buildlink3.mk distinfo

Log Message:
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)


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 pkgsrc/lang/ocaml/Makefile.common
cvs rdiff -u -r1.39 -r1.40 pkgsrc/lang/ocaml/buildlink3.mk
cvs rdiff -u -r1.103 -r1.104 pkgsrc/lang/ocaml/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/ocaml/Makefile.common
diff -u pkgsrc/lang/ocaml/Makefile.common:1.49 pkgsrc/lang/ocaml/Makefile.common:1.50
--- pkgsrc/lang/ocaml/Makefile.common:1.49      Fri Dec 30 11:15:00 2016
+++ pkgsrc/lang/ocaml/Makefile.common   Tue Jul 11 09:52:11 2017
@@ -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

Index: pkgsrc/lang/ocaml/buildlink3.mk
diff -u pkgsrc/lang/ocaml/buildlink3.mk:1.39 pkgsrc/lang/ocaml/buildlink3.mk:1.40
--- pkgsrc/lang/ocaml/buildlink3.mk:1.39        Fri Dec 30 11:15:00 2016
+++ pkgsrc/lang/ocaml/buildlink3.mk     Tue Jul 11 09:52:11 2017
@@ -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
 

Index: pkgsrc/lang/ocaml/distinfo
diff -u pkgsrc/lang/ocaml/distinfo:1.103 pkgsrc/lang/ocaml/distinfo:1.104
--- pkgsrc/lang/ocaml/distinfo:1.103    Mon Mar 27 12:54:59 2017
+++ pkgsrc/lang/ocaml/distinfo  Tue Jul 11 09:52:11 2017
@@ -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