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:   gdt
Date:           Sat Feb 28 15:22:00 UTC 2026

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

Log Message:
lang/ocaml; Update to 4.14.3

Addresses some security issues but NEWS lacks CVE refs.

Successfully built 10 ocaml-foo and unison, on NetBSD 10 amd64.

OCaml 4.14.3 (17 February 2026)
------------------------------

### Bug fixes:

- #12070, #12075, #13209: auto-detect whether `ar` support @FILE arguments at
  configure-time to avoid using this feature with toolchains that do not support
  it (eg FreeBSD/Darwin); backport from 5.3.
  (backport by Boris Dobroslavov, original fix by Nicolás Ojeda Bär, review by
  Xavier Leroy, David Allsopp, Javier Chávarri, Anil Madhavapeddy)

- #12207, #12222: Make closure computation linear in the number of recursive
  functions instead of quadratic
  (Vincent Laviron, report by François Pottier, review by Nathanaëlle Courant
  and Gabriel Scherer)

- #13430, #13434: protect memory-safety on Lazy.force races
  (Gabriel Scherer and Vincent Laviron, report by Edwin Török,
   review by Vincent Laviron)

- #13448, #13449: fix a code-generation bug on unsafe array accesses
  at type int32, int64, nativeint, which has been introduced in OCaml 4.04.
  (Gabriel Scherer, review by Nicolás Ojeda Bär and Vincent Laviron,
   report by Simon Cruanes)

- #13516: Fix regression where error conditions during bytecode initialisation
  caused a segmentation fault rather than being properly reported (regression of
  #5115 in #11788)
  (David Allsopp, review by Nicolás Ojeda Bär)

- #13847: On Windows, maintain a number of threads waiting on the master lock to
  avoid unnecessary context switches
  (Dmitry Bely, review by Antonin Décimo)

- #14007, #14015: Fix memory corruption when an exception is raised during
  demarshaling.
  (Benoît Vaugon, review by David Allsopp and Gabriel Scherer)

- private: robustify intern.c
  (Xavier Leroy, review by Damien Doligez and Olivier Nicole)


To generate a diff of this commit:
cvs rdiff -u -r1.152 -r1.153 pkgsrc/lang/ocaml/Makefile
cvs rdiff -u -r1.57 -r1.58 pkgsrc/lang/ocaml/buildlink3.mk
cvs rdiff -u -r1.149 -r1.150 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
diff -u pkgsrc/lang/ocaml/Makefile:1.152 pkgsrc/lang/ocaml/Makefile:1.153
--- pkgsrc/lang/ocaml/Makefile:1.152    Tue Feb 17 13:39:09 2026
+++ pkgsrc/lang/ocaml/Makefile  Sat Feb 28 15:22:00 2026
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.152 2026/02/17 13:39:09 wiz Exp $
+# $NetBSD: Makefile,v 1.153 2026/02/28 15:22:00 gdt Exp $
 
 # Please do not update to ocaml 5.x without discussion, as the
 # consensus is mostly that those versions are not yet baked, and will
 # cause hard-to-debug problems.
-DISTNAME=      ocaml-4.14.2
-PKGREVISION=   2
+DISTNAME=      ocaml-4.14.3
 CATEGORIES=    lang
 MASTER_SITES=  http://caml.inria.fr/pub/distrib/ocaml-4.14/
 #EXTRACT_SUFX= .tar.bz2

Index: pkgsrc/lang/ocaml/buildlink3.mk
diff -u pkgsrc/lang/ocaml/buildlink3.mk:1.57 pkgsrc/lang/ocaml/buildlink3.mk:1.58
--- pkgsrc/lang/ocaml/buildlink3.mk:1.57        Tue May 24 18:25:38 2022
+++ pkgsrc/lang/ocaml/buildlink3.mk     Sat Feb 28 15:22:00 2026
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.57 2022/05/24 18:25:38 jaapb Exp $
+# $NetBSD: buildlink3.mk,v 1.58 2026/02/28 15:22:00 gdt Exp $
 # Should only be used through ocaml.mk, not directly.
 
 BUILDLINK_TREE+=       ocaml
@@ -7,7 +7,7 @@ BUILDLINK_TREE+=        ocaml
 OCAML_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.ocaml+=  ocaml>=4.14.0
-BUILDLINK_ABI_DEPENDS.ocaml+=  ocaml>=4.14.0
+BUILDLINK_ABI_DEPENDS.ocaml+=  ocaml>=4.14.3
 BUILDLINK_PKGSRCDIR.ocaml?=    ../../lang/ocaml
 #BUILDLINK_DEPMETHOD.ocaml?=   build
 

Index: pkgsrc/lang/ocaml/distinfo
diff -u pkgsrc/lang/ocaml/distinfo:1.149 pkgsrc/lang/ocaml/distinfo:1.150
--- pkgsrc/lang/ocaml/distinfo:1.149    Sat Aug 23 15:05:57 2025
+++ pkgsrc/lang/ocaml/distinfo  Sat Feb 28 15:22:00 2026
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.149 2025/08/23 15:05:57 wiz Exp $
+$NetBSD: distinfo,v 1.150 2026/02/28 15:22:00 gdt Exp $
 
-BLAKE2s (ocaml-4.14.2.tar.gz) = fecad4db2e91800ae3d676240042adf01f969e2399968bd3e120f580212688fb
-SHA512 (ocaml-4.14.2.tar.gz) = 64df6462a83058e805ab29d58ef2f3597eb0ed52bf1294a9e6303fb783845cde78c7de04d165e77454a440fa2d50ff10ca81f2d1f9294f2dccdfe28824bce028
-Size (ocaml-4.14.2.tar.gz) = 5504138 bytes
+BLAKE2s (ocaml-4.14.3.tar.gz) = d6b224f963a73dec4a74405ba0832ecdc74525231e0c415eb5b309eec15b18ef
+SHA512 (ocaml-4.14.3.tar.gz) = 06c0b5d700f6d20f5ede4bf1a7b88ed80e54ad8878f19c279338ef7bf29d9882a33577b869ec4209ffc18962262f861cfd2b82510918cc4ee271f839f0dcc160
+Size (ocaml-4.14.3.tar.gz) = 5394919 bytes
 SHA1 (patch-Makefile) = 978156d1e5795615adda840521bf5911a801f6a5
 SHA1 (patch-api__docgen_ocamldoc_Makefile) = cc677bed9d2da3d7eedd2c696ac89085bf2002d2
 SHA1 (patch-check-linker-version_sh) = c90242556207242ac58499d7f42519a10aedcca4



Home | Main Index | Thread Index | Old Index