Subject: CVS commit: pkgsrc/lang/ocaml
From: Jaap Boender
Date: 2015-01-20 15:12:25
Message id: 20150120141225.4C5B298@cvs.netbsd.org

Log Message:
This is an update of OCaml to 4.02.1. Changes are listed below. There is also
a new patch to include a -pkgsrc-runtime compilation option. This option is
needed to compile devel/pcre-ocaml due to buildlink shenanigans
(see http://mail-index.netbsd.org/pkgsrc-users/2014/12/18/msg020800.html )

Changes:
(Changes that can break existing programs are marked with a "*")

Standard library:
* Add optional argument ?limit to Arg.align.
- Bug in Makefile.nt: won't stop on error
- Improve MSVC build
- Configure doesn't detect features correctly on Haiku
- Non-exhaustive matching warning message for open types is confusing
- fix quadratic-time algorithm in Consistbl.extract.
- Add stack overflow handling for native code (OpenBSD i386 and amd64)
- broken semantics of %(%) when substitued by a box
- legacy support for %.10s
- better documentation of flag # in format strings
- Bytes and CamlinternalFormat missing from threads stdlib.cma
- -dsource omits parens for `List ((`String "A")::[]) in patterns
- __MODULE__ aborts the compiler if the module name cannot be inferred
- Debug section is sometimes not readable when using -pack
- Missing command line options for ocamldoc
- fix race condition when retrieving backtraces
- String.sub throws Invalid_argument("Bytes.sub")
- Fix ocamldebug module source lookup
- Inclusion of packs failing to run module initializers
- infinite loop in Mtype.remove_aliases
- compilation fails with Env.Error(_)
- -short-paths and signature inclusion errors
- Fatal error with recursive modules
- Recursive module containing alias causes Segmentation fault
- Some bugs in generative functors
- ocamldep support for "-open M"
- Code generation errors for ARM
- Improve Windows (MSVC and mingw) build
- ocamlbuild: add -bin-annot when using -pack
- Fatal error when tracing a function with abstract type
- ocamlbuild: add an -ocamlmklib option to change the ocamlmklib command

Files:
RevisionActionfile
1.40modifypkgsrc/lang/ocaml/Makefile.common
1.28modifypkgsrc/lang/ocaml/PLIST
1.31modifypkgsrc/lang/ocaml/buildlink3.mk
1.79modifypkgsrc/lang/ocaml/distinfo
1.2modifypkgsrc/lang/ocaml/patches/patch-asmrun_arm.S
1.9modifypkgsrc/lang/ocaml/patches/patch-configure
1.1addpkgsrc/lang/ocaml/patches/patch-asmcomp_asmlink.ml
1.1addpkgsrc/lang/ocaml/patches/patch-driver_compenv.ml
1.1addpkgsrc/lang/ocaml/patches/patch-driver_main.ml
1.1addpkgsrc/lang/ocaml/patches/patch-driver_main_args.ml
1.1addpkgsrc/lang/ocaml/patches/patch-driver_main_args.mli
1.1addpkgsrc/lang/ocaml/patches/patch-driver_optmain.ml
1.1addpkgsrc/lang/ocaml/patches/patch-tools_ocamlcp.ml
1.1addpkgsrc/lang/ocaml/patches/patch-tools_ocamloptp.ml
1.1addpkgsrc/lang/ocaml/patches/patch-utils_clflags.ml
1.1addpkgsrc/lang/ocaml/patches/patch-utils_clflags.mli