The NetBSD Project

CVS log for pkgsrc/lang/ocaml/distinfo

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / lang / ocaml

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.146 / (download) - annotate - [select for diffs], Sun Apr 9 07:27:48 2023 UTC (5 months, 2 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2, HEAD
Changes since 1.145: +5 -6 lines
Diff to previous 1.145 (colored)

ocaml: update to 4.14.1.

OCaml 4.14.1 (20 December 2022)
------------------------------

### Bug fixes:

- #11803, #11808: on x86, the destination of an integer comparison must be
  a register, it cannot be a stack slot.
  (Vincent Laviron, review by Xavier Leroy, report by
   Emilio Jesús Gallego Arias)


OCaml 4.14.1
-----------------------------

### Compiler user-interface and warnings:

- #11184, #11670: Stop calling ranlib on created / installed libraries
  (Sébastien Hinderer and Xavier Leroy, review by the same)

### Build system:

- #11370, #11373: Don't pass CFLAGS to flexlink during configure.
  (David Allsopp, report by William Hu, review by Xavier Leroy and
   Sébastien Hinderer)

- #11487: Thwart FMA test optimization during configure
  (William Hu, review by David Allsopp and Sébastien Hinderer)

### Bug fixes:

- #10768, #11340: Fix typechecking regression when combining first class
  modules and GADTs.
  (Jacques Garrigue, report by François Thiré, review by Matthew Ryan)

- #11204: Fix regression introduced in 4.14.0 that would trigger Warning 17 when
  calling virtual methods introduced by constraining the self type from within
  the class definition.
  (Nicolás Ojeda Bär, review by Leo White)

- #11263, #11267: caml/{memory,misc}.h: check whether `_MSC_VER` is defined
  before using it to ensure that the headers can always be used in code which
  turns on -Wundef (or equivalent).
  (David Allsopp and Nicolás Ojeda Bär, review by Nicolás Ojeda Bär and
   Sébastien Hinderer)

- #11314, #11416: fix non-informative error message for module inclusion
  (Florian Angeletti, report by Thierry Martinez, review by Gabriel Scherer)

- #11358, #11379: Refactor the initialization of bytecode threading,
  This avoids a "dangling pointer" warning of GCC 12.1.
  (Xavier Leroy, report by Armaël Guéneau, review by Gabriel Scherer)

- #11387, module type with constraints no longer crash the compiler in presence
  of both shadowing warnings and the `-bin-annot` compiler flag.
  (Florian Angeletti, report by Christophe Raffalli, review by Gabriel Scherer)

- #11392, #11392: assertion failure with -rectypes and external definitions
  (Gabriel Scherer, review by Florian Angeletti, report by Dmitrii Kosarev)

- #11417: Fix regression allowing virtual methods in non-virtual classes.
  (Leo White, review by Florian Angeletti)

- #11468: Fix regression from #10186 (OCaml 4.13) detecting IPv6 on Windows for
  mingw-w64 i686 port.
  (David Allsopp, review by Xavier Leroy and Sébastien Hinderer)

- #11489, #11496: More prudent deallocation of alternate signal stack
  (Xavier Leroy, report by @rajdakin, review by Florian Angeletti)

- #11516, #11524: Fix the `deprecated_mutable` attribute.
  (Chris Casinghino, review by Nicolás Ojeda Bär and Florian Angeletti)

- #11194, #11609: Fix inconsistent type variable names in "unbound type var"
  messages
  (Ulysse Gérard and Florian Angeletti, review Florian Angeletti and
   Gabriel Scherer)

- #11622: Prevent stack overflow when printing a constructor or record
  mismatch error involving recursive types.
  (Florian Angeletti, review by Gabriel Scherer)

- #11732: Ensure that types from packed modules are always generalised
  (Stephen Dolan and Leo White, review by Jacques Garrigue)

- #11737: Fix segfault condition in Unix.stat under Windows in the presence of
  multiple threads.
  (Marc Lasson, Nicolás Ojeda Bär, review by Gabriel Scherer and David Allsopp)

- #11776: Extend environment with functor parameters in `strengthen_lazy`.
  (Chris Casinghino and Luke Maurer, review by Gabriel Scherer)

- #11533, #11534: follow synonyms again in #show_module_type
  (this had stopped working in 4.14.0)
  (Gabriel Scherer, review by Jacques Garrigue, report by Yaron Minsky)

- #11768, #11788: Fix crash at start-up of bytecode programs in
  no-naked-pointers mode caused by wrong initialization of caml_global_data
  (Xavier Leroy, report by Etienne Millon, review by Gabriel Scherer)

Revision 1.145 / (download) - annotate - [select for diffs], Tue May 24 18:25:38 2022 UTC (16 months ago) by jaapb
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2
Changes since 1.144: +20 -17 lines
Diff to previous 1.144 (colored)

Updated lang/ocaml to version 4.14.0.

This is a long-overdue update, so there are many changes. Details are in
the Changes file in the distribution.

The mk/ocaml file will be moved to lang/ocaml and the logic for selecting
whether to use the native-code compiler will be factored out into
native.mk to avoid duplications.

This is the final version before OCaml 5.0 arrives, which has
multicore support and should be a major change from the 4.x versions.

Revision 1.144 / (download) - annotate - [select for diffs], Tue Oct 26 10:51:45 2021 UTC (23 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4
Changes since 1.143: +2 -2 lines
Diff to previous 1.143 (colored)

lang: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles could not be fetched (possibly fetched
conditionally?):

./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-aarch64-unknown-linux-gnu.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-aarch64-unknown-linux-musl.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-aarch64-unknown-netbsd.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-armv7-unknown-netbsd-eabihf.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-i686-unknown-linux-gnu.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-powerpc-unknown-netbsd90.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-sparc64-unknown-netbsd.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-x86_64-apple-darwin.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-x86_64-unknown-freebsd.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-x86_64-unknown-linux-gnu.tar.gz
./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-x86_64-unknown-linux-musl.tar.gz
./lang/smlnj/distinfo smlnj-110.73/boot.ppc-unix.tgz
./lang/smlnj/distinfo smlnj-110.73/boot.sparc-unix.tgz
./lang/oracle-jre8/distinfo jce_policy-8.zip
./lang/oracle-jre8/distinfo jre-8u202-linux-i586.tar.gz
./lang/oracle-jre8/distinfo jre-8u202-linux-x64.tar.gz
./lang/oracle-jre8/distinfo jre-8u202-macosx-x64.tar.gz
./lang/oracle-jre8/distinfo jre-8u202-solaris-x64.tar.gz
./lang/oracle-jdk8/distinfo jdk-8u202-linux-i586.tar.gz
./lang/oracle-jdk8/distinfo jdk-8u202-linux-x64.tar.gz
./lang/oracle-jdk8/distinfo jdk-8u202-solaris-x64.tar.gz
./lang/ghc80/distinfo ghc-7.10.3-boot-x86_64-unknown-solaris2.tar.xz
./lang/ghc80/distinfo ghc-8.0.2-boot-i386-unknown-freebsd.tar.xz
./lang/ghc80/distinfo ghc-8.0.2-boot-x86_64-unknown-freebsd.tar.xz
./lang/gcc5-aux/distinfo ada-bootstrap.i386.freebsd.100B.tar.bz2
./lang/gcc5-aux/distinfo ada-bootstrap.i386.freebsd.84.tar.bz2
./lang/gcc5-aux/distinfo ada-bootstrap.x86_64.dragonfly.41.tar.bz2
./lang/gcc5-aux/distinfo ada-bootstrap.x86_64.freebsd.100B.tar.bz2
./lang/gcc5-aux/distinfo ada-bootstrap.x86_64.freebsd.84.tar.bz2
./lang/gcc5-aux/distinfo ada-bootstrap.x86_64.solaris.511.tar.bz2
./lang/rust/distinfo rust-1.53.0-aarch64-apple-darwin.tar.gz
./lang/rust/distinfo rust-1.53.0-aarch64-unknown-linux-gnu.tar.gz
./lang/rust/distinfo rust-1.53.0-aarch64-unknown-netbsd.tar.gz
./lang/rust/distinfo rust-1.53.0-aarch64_be-unknown-netbsd.tar.gz
./lang/rust/distinfo rust-1.53.0-arm-unknown-linux-gnueabihf.tar.gz
./lang/rust/distinfo rust-1.53.0-armv7-unknown-linux-gnueabihf.tar.gz
./lang/rust/distinfo rust-1.53.0-i686-unknown-linux-gnu.tar.gz
./lang/rust/distinfo rust-1.53.0-powerpc-unknown-netbsd.tar.gz
./lang/rust/distinfo rust-1.53.0-powerpc-unknown-netbsd90.tar.gz
./lang/rust/distinfo rust-1.53.0-sparc64-unknown-netbsd.tar.gz
./lang/rust/distinfo rust-1.53.0-x86_64-apple-darwin.tar.gz
./lang/rust/distinfo rust-1.53.0-x86_64-unknown-freebsd.tar.gz
./lang/rust/distinfo rust-1.53.0-x86_64-unknown-illumos.tar.gz
./lang/rust/distinfo rust-1.53.0-x86_64-unknown-linux-gnu.tar.gz
./lang/rust/distinfo rust-std-1.53.0-aarch64-apple-darwin.tar.gz
./lang/rust/distinfo rust-std-1.53.0-aarch64-unknown-linux-gnu.tar.gz
./lang/rust/distinfo rust-std-1.53.0-aarch64-unknown-netbsd.tar.gz
./lang/rust/distinfo rust-std-1.53.0-aarch64_be-unknown-netbsd.tar.gz
./lang/rust/distinfo rust-std-1.53.0-arm-unknown-linux-gnueabihf.tar.gz
./lang/rust/distinfo rust-std-1.53.0-armv7-unknown-linux-gnueabihf.tar.gz
./lang/rust/distinfo rust-std-1.53.0-i686-unknown-linux-gnu.tar.gz
./lang/rust/distinfo rust-std-1.53.0-powerpc-unknown-netbsd.tar.gz
./lang/rust/distinfo rust-std-1.53.0-powerpc-unknown-netbsd90.tar.gz
./lang/rust/distinfo rust-std-1.53.0-sparc64-unknown-netbsd.tar.gz
./lang/rust/distinfo rust-std-1.53.0-x86_64-apple-darwin.tar.gz
./lang/rust/distinfo rust-std-1.53.0-x86_64-unknown-freebsd.tar.gz
./lang/rust/distinfo rust-std-1.53.0-x86_64-unknown-linux-gnu.tar.gz
./lang/smlnj11072/distinfo smlnj-110.72/boot.ppc-unix.tgz
./lang/smlnj11072/distinfo smlnj-110.72/boot.sparc-unix.tgz
./lang/ghc84/distinfo ghc-8.0.2-boot-x86_64-unknown-solaris2.tar.xz
./lang/ghc84/distinfo ghc-8.4.4-boot-i386-unknown-freebsd.tar.xz
./lang/ghc84/distinfo ghc-8.4.4-boot-x86_64-apple-darwin.tar.xz
./lang/ghc84/distinfo ghc-8.4.4-boot-x86_64-unknown-freebsd.tar.xz
./lang/ghc7/distinfo ghc-7.10.3-boot-i386-unknown-freebsd.tar.xz
./lang/ghc7/distinfo ghc-7.6.3-boot-i386-unknown-solaris2.tar.xz
./lang/ghc7/distinfo ghc-7.6.3-boot-powerpc-apple-darwin.tar.xz
./lang/ghc7/distinfo ghc-7.6.3-boot-x86_64-unknown-solaris2.tar.xz
./lang/ghc90/distinfo ghc-8.10.4-boot-x86_64-unknown-solaris2.tar.xz
./lang/ghc90/distinfo ghc-9.0.1-boot-aarch64-unknown-netbsd.tar.xz
./lang/ghc90/distinfo ghc-9.0.1-boot-i386-unknown-freebsd.tar.xz
./lang/ghc90/distinfo ghc-9.0.1-boot-x86_64-apple-darwin.tar.xz
./lang/ghc90/distinfo ghc-9.0.1-boot-x86_64-unknown-freebsd.tar.xz
./lang/openjdk8/distinfo openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz
./lang/openjdk8/distinfo openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz
./lang/openjdk8/distinfo openjdk7/bootstrap-jdk-1.8.181-netbsd-8-aarch64-20180917.tar.xz
./lang/openjdk8/distinfo openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.6-amd64-20140719.tar.bz2
./lang/openjdk8/distinfo openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2
./lang/go-bin/distinfo go1.14.2.darwin-amd64.tar.gz
./lang/go-bin/distinfo go1.14.2.linux-386.tar.gz
./lang/go-bin/distinfo go1.14.2.linux-amd64.tar.gz
./lang/go-bin/distinfo go1.14.2.linux-arm64.tar.gz
./lang/go-bin/distinfo go1.14.2.linux-armv6l.tar.gz
./lang/go-bin/distinfo go1.14.2.netbsd-arm64.tar.gz
./lang/go-bin/distinfo go1.16beta1.darwin-arm64.tar.gz
./lang/gcc6-aux/distinfo ada-bootstrap.i386.freebsd.100B.tar.bz2
./lang/gcc6-aux/distinfo ada-bootstrap.x86_64.dragonfly.41.tar.bz2
./lang/gcc6-aux/distinfo ada-bootstrap.x86_64.freebsd.100B.tar.bz2
./lang/gcc6-aux/distinfo ada-bootstrap.x86_64.freebsd.84.tar.bz2
./lang/gcc6-aux/distinfo ada-bootstrap.x86_64.solaris.511.tar.bz2
./lang/ghc810/distinfo ghc-8.8.4-boot-x86_64-unknown-solaris2.tar.xz
./lang/sun-jre7/distinfo UnlimitedJCEPolicyJDK7.zip
./lang/sun-jre7/distinfo jre-7u80-linux-x64.tar.gz
./lang/sun-jre7/distinfo jre-7u80-solaris-i586.tar.gz
./lang/sun-jre7/distinfo jre-7u80-solaris-x64.tar.gz
./lang/ghc88/distinfo ghc-8.4.4-boot-i386-unknown-freebsd.tar.xz
./lang/ghc88/distinfo ghc-8.4.4-boot-x86_64-apple-darwin.tar.xz
./lang/ghc88/distinfo ghc-8.4.4-boot-x86_64-unknown-freebsd.tar.xz
./lang/ghc88/distinfo ghc-8.4.4-boot-x86_64-unknown-solaris2.tar.xz
./lang/gcc-aux/distinfo ada-bootstrap.i386.dragonfly.36A.tar.bz2
./lang/gcc-aux/distinfo ada-bootstrap.i386.freebsd.100B.tar.bz2
./lang/gcc-aux/distinfo ada-bootstrap.i386.freebsd.84.tar.bz2
./lang/gcc-aux/distinfo ada-bootstrap.x86_64.dragonfly.36A.tar.bz2
./lang/gcc-aux/distinfo ada-bootstrap.x86_64.freebsd.100B.tar.bz2
./lang/gcc-aux/distinfo ada-bootstrap.x86_64.freebsd.84.tar.bz2
./lang/gcc-aux/distinfo ada-bootstrap.x86_64.solaris.511.tar.bz2
./lang/gcc6/distinfo ecj-4.5.jar
./lang/openjdk11/distinfo bootstrap-jdk-1.11.0.7.10-netbsd-9-aarch64-20200509.tar.xz
./lang/sun-jdk7/distinfo jdk-7u80-linux-x64.tar.gz
./lang/sun-jdk7/distinfo jdk-7u80-solaris-i586.tar.gz
./lang/sun-jdk7/distinfo jdk-7u80-solaris-x64.tar.gz

Revision 1.143 / (download) - annotate - [select for diffs], Thu Oct 7 14:21:03 2021 UTC (23 months, 2 weeks ago) by nia
Branch: MAIN
Changes since 1.142: +1 -2 lines
Diff to previous 1.142 (colored)

lang: Remove SHA1 hashes for distfiles

Revision 1.142 / (download) - annotate - [select for diffs], Mon Mar 8 08:08:43 2021 UTC (2 years, 6 months ago) by jaapb
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1
Changes since 1.141: +5 -7 lines
Diff to previous 1.141 (colored)

Updated lang/ocaml to version 4.11.2.

This is a bugfix release from 4.11.1. The amd64 runtime patches have been
removed since they seem to have been incorporated by upstream.

Revision 1.141 / (download) - annotate - [select for diffs], Fri Jan 8 12:28:16 2021 UTC (2 years, 8 months ago) by jperkin
Branch: MAIN
Changes since 1.140: +2 -2 lines
Diff to previous 1.140 (colored)

ocaml: Fix previous correctly.

Revision 1.140 / (download) - annotate - [select for diffs], Mon Jan 4 07:58:55 2021 UTC (2 years, 8 months ago) by jperkin
Branch: MAIN
Changes since 1.139: +2 -2 lines
Diff to previous 1.139 (colored)

ocaml: Don't quote LDFLAGS.

Breaks the build when it contains multiple arguments.

Revision 1.139 / (download) - annotate - [select for diffs], Thu Dec 10 21:37:07 2020 UTC (2 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4
Changes since 1.138: +2 -1 lines
Diff to previous 1.138 (colored)

ocaml: honor LDFLAGS in one more place to fix RELRO builds

From jaapb, thanks!

Revision 1.138 / (download) - annotate - [select for diffs], Wed Dec 9 10:33:04 2020 UTC (2 years, 9 months ago) by jaapb
Branch: MAIN
Changes since 1.137: +18 -16 lines
Diff to previous 1.137 (colored)

Updated lang/ocaml to 4.11.1.

Patches for solaris and friends are reinstated (thanks jperkin@)
Also thanks to he@ for testing on powerpc and arm

Highlights for 4.10.0:
* A new best-fit allocator for the major heap which reducing both GC cost
  and memory usage.
* Immutable strings are now enforced at configuration time
* User-defined indexing operators for multidimensional arrays
* Miscellaneous improvements to the manual
* A more precise exhaustiveness check for GADTs
* Many bug fixes

Highlights for 4.11.0:
* Statmemprof: a new statistical memory profiler
* A new instrumented runtime that logs runtime statistics in a standard
  format
* A native backend for the RISC-V architecture
* Improved backtraces that refer to function names
* Suppport for recursive and yet unboxed types
* A quoted extension syntax for ppxs.
* Many quality of life improvements
* Many bug fixes.

4.11.1 is a bugfix release. Full details in the CHANGELOG included with
the distribution.

Revision 1.137 / (download) - annotate - [select for diffs], Tue Dec 1 23:16:44 2020 UTC (2 years, 9 months ago) by he
Branch: MAIN
Changes since 1.136: +2 -2 lines
Diff to previous 1.136 (colored)

Add support for building ocaml on NetBSD/powerpc.

On NetBSD 8.x, there will be issues with shared library
support, due to missing support for ADDR16_LO, ADDR16_HI
and ADDR16_HA relocations, available in newer code.
There are however other issues, text relocations, and
apparent missing REL24 relocation support(?!?).

The testyield.ml test appears to not terminate, only two
of the 4(?) threads ever get any CPU time, so has to be killed
to complete the selftests.  Test result:

  2438 tests passed
   36 tests skipped
   12 tests failed
  108 tests not started (parent test skipped or failed)
    8 unexpected errors
  2602 tests considered

Revision 1.136 / (download) - annotate - [select for diffs], Sat May 23 20:33:51 2020 UTC (3 years, 4 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.135: +2 -1 lines
Diff to previous 1.135 (colored)

lang/ocaml: fix bashisms in tests

Revision 1.135 / (download) - annotate - [select for diffs], Wed Apr 15 09:50:54 2020 UTC (3 years, 5 months ago) by jaapb
Branch: MAIN
Changes since 1.134: +5 -5 lines
Diff to previous 1.134 (colored)

Updated lang/ocaml to 4.09.1.

This is mainly a bug-fix release, with a handful of configuration fixes
and a GC fix backported from 4.10.0.

Revision 1.134 / (download) - annotate - [select for diffs], Tue Jan 14 19:53:35 2020 UTC (3 years, 8 months ago) by jaapb
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.133: +17 -29 lines
Diff to previous 1.133 (colored)

Updated lang/ocaml to version 4.09.0.

Highlights of this release are:
* new optimisations, in particular for affine functions in matches;
* the graphics library was moved out of the main distribution;
* the vmthread library was removed;
* support for compiler plugins was removed;
* many bug fixes.

For more details see the Changes file in the distribution.

Revision 1.133 / (download) - annotate - [select for diffs], Sun Nov 24 09:23:13 2019 UTC (3 years, 10 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4
Changes since 1.132: +2 -2 lines
Diff to previous 1.132 (colored)

ocaml: fix installation on Darwin + minor cleanups

Revision 1.132 / (download) - annotate - [select for diffs], Fri Oct 4 10:33:21 2019 UTC (3 years, 11 months ago) by maya
Branch: MAIN
Changes since 1.131: +2 -2 lines
Diff to previous 1.131 (colored)

ocaml: claim natdynlink support on solaris. bump PKGREVISION

fixes ocaml-findlib PLIST issue.

Revision 1.131 / (download) - annotate - [select for diffs], Tue Oct 1 09:52:51 2019 UTC (3 years, 11 months ago) by maya
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.130: +2 -2 lines
Diff to previous 1.130 (colored)

ocaml: use the narrower scoped _POSIX_PTHREAD_SEMANTICS

The wider _XOPEN_SOURCE might cause issues with older versions of smartos
and newer C standards.

Revision 1.130 / (download) - annotate - [select for diffs], Tue Oct 1 09:07:33 2019 UTC (3 years, 11 months ago) by maya
Branch: MAIN
Changes since 1.129: +3 -2 lines
Diff to previous 1.129 (colored)

ocaml: fix SmartOS build.

- Claimed shared library support. same as other ELF platforms, but
  since it's not GNU ld, no -Wl,-E available.
- Change the PLIST vars based on what is actually built
- consider x86_64-*-solaris to be x86_64 and solaris. the arch=none
  option doesn't build.
- Search for socket stuff in -lnsl -lsocket.
- for a POSIX prototype sigwait, we need to define _XOPEN_SOURCE to something

Revision 1.129 / (download) - annotate - [select for diffs], Tue Aug 27 06:23:50 2019 UTC (4 years, 1 month ago) by jaapb
Branch: MAIN
Changes since 1.128: +1 -3 lines
Diff to previous 1.128 (colored)

Removed more superfluous patches (oops!) from lang/ocaml

Revision 1.128 / (download) - annotate - [select for diffs], Tue Aug 27 05:37:38 2019 UTC (4 years, 1 month ago) by jaapb
Branch: MAIN
Changes since 1.127: +1 -2 lines
Diff to previous 1.127 (colored)

Removed superfluous patch from lang/ocaml; revbump.

Revision 1.127 / (download) - annotate - [select for diffs], Sat Aug 24 10:54:23 2019 UTC (4 years, 1 month ago) by jaapb
Branch: MAIN
Changes since 1.126: +19 -13 lines
Diff to previous 1.126 (colored)

Updated lang/ocaml to 4.08.1.

4.08.1 is a bugfix release, fixing compilation failures in presence of the
-pack option, and dynlinking failures.

Highlights in 4.08.0 are:
* Binding operators (let*, let+, and*, etc). They can be used to
  streamline monadic code.
* open now applies to arbitrary module expression in structures and to
  applicative paths in signatures.
* A new notion of (user-defined) "alerts" generalizes the deprecated
  warning.
* New modules in the standard library: Fun, Bool, Int, Option, Result.
* A significant number of new functions in Float, including FMA support,
  and a new Float.Array submodule.
* Source highlighting for errors and warnings in batch mode.
* Many error messages were improved.
* Improved AFL instrumentation for objects and lazy values.

Revision 1.126 / (download) - annotate - [select for diffs], Wed May 15 09:39:21 2019 UTC (4 years, 4 months ago) by jaapb
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2
Changes since 1.125: +2 -2 lines
Diff to previous 1.125 (colored)

Added natdynlink support to lang/ocaml on arm32 platforms

Revision 1.125 / (download) - annotate - [select for diffs], Mon Jan 7 18:52:23 2019 UTC (4 years, 8 months ago) by jaapb
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1
Changes since 1.124: +2 -2 lines
Diff to previous 1.124 (colored)

Updated lang/ocaml to compile on aarch64 and revbump.

A few patches to the configure script to recognise the combination of
NetBSD and aarch64, and a few changes to the Makefile to make sure we've
got the right combination of options for the PLIST. It now compiles on my
Pinebook.

Revision 1.124 / (download) - annotate - [select for diffs], Mon Nov 12 16:09:34 2018 UTC (4 years, 10 months ago) by jaapb
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4
Changes since 1.123: +5 -5 lines
Diff to previous 1.123 (colored)

Updated lang/ocaml to version 4.07.1.

This is a bug-fix release, the full list of fixes can be found in the
Changes file in the distribution.

Revision 1.123 / (download) - annotate - [select for diffs], Thu Jul 19 12:46:04 2018 UTC (5 years, 2 months ago) by jaapb
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.122: +2 -2 lines
Diff to previous 1.122 (colored)

Committed correct version of Makefile patch for lang/ocaml

Revision 1.122 / (download) - annotate - [select for diffs], Thu Jul 19 12:16:38 2018 UTC (5 years, 2 months ago) by jaapb
Branch: MAIN
Changes since 1.121: +11 -15 lines
Diff to previous 1.121 (colored)

Updated lang/ocaml to the newest version, 4.07.0.

This breaks quite a few dependencies, more commits to follow.

There are many bugfixes and improvements (see the Changes file), I will
summarise the changes that may cause breakage:

* all standard library modules are now packed into the Stdlib module;
* Unix.isatty now works under the native Windows ports
* strings and bytes are distinguishable in bytecode
* Module aliases are no longer removed in 'module type of' and
  'with module'
* soundness bugfix with non-generalised type variables and local modules
* Ident.t is now abstract and immutable
* only allow directives with filename and at the begining of the line

Revision 1.121 / (download) - annotate - [select for diffs], Wed Jul 18 00:09:12 2018 UTC (5 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.120: +3 -1 lines
Diff to previous 1.120 (colored)

Fix attributes and entry size for the .rodata mergable constant section.

Revision 1.120 / (download) - annotate - [select for diffs], Mon Apr 30 10:38:04 2018 UTC (5 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2
Changes since 1.119: +2 -2 lines
Diff to previous 1.119 (colored)

ocaml: remove references to obsolete DragonFly/i386

Revision 1.119 / (download) - annotate - [select for diffs], Wed Apr 4 09:34:46 2018 UTC (5 years, 5 months ago) by jaapb
Branch: MAIN
Changes since 1.118: +6 -6 lines
Diff to previous 1.118 (colored)

Updated lang/ocaml to version 4.06.1.

This is a bugfix release that contains no breaking changes.

Revision 1.118 / (download) - annotate - [select for diffs], Mon Jan 29 14:15:57 2018 UTC (5 years, 7 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.117: +2 -2 lines
Diff to previous 1.117 (colored)

ocaml: Support SunOS/clang.

Revision 1.117 / (download) - annotate - [select for diffs], Mon Jan 22 10:22:30 2018 UTC (5 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.116: +2 -2 lines
Diff to previous 1.116 (colored)

ocaml: Honor LDFLAGS. Fixes RELRO build.

Revision 1.116 / (download) - annotate - [select for diffs], Mon Jan 15 12:56:08 2018 UTC (5 years, 8 months ago) by jperkin
Branch: MAIN
Changes since 1.115: +2 -2 lines
Diff to previous 1.115 (colored)

ocaml: Restore SunOS patches.

Revision 1.115 / (download) - annotate - [select for diffs], Wed Jan 10 14:30:34 2018 UTC (5 years, 8 months ago) by jaapb
Branch: MAIN
Changes since 1.114: +13 -16 lines
Diff to previous 1.114 (colored)

Updated package lang/ocaml to version 4.06.

Changes are many and can be found at https://ocaml.org/releases/4.06.html

One change that breaks a lot of packages is that the safe-string compiler
option is now enabled by default, which means that all modules need to use
immutable strings (or explicitly use the bytes type).

Revision 1.114 / (download) - annotate - [select for diffs], Wed Nov 15 12:52:15 2017 UTC (5 years, 10 months ago) by gdt
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4
Changes since 1.113: +2 -2 lines
Diff to previous 1.113 (colored)

ocaml: Recognize NetBSD armv6 correctly in configure

While MACHINE_ARCH can be earmv6hf on NetBSD, configure has to match
what config.guess outputs, which is armv6.  For now, leave the old
earmv6/7 tokens, because this code inexplicably succeeded on earmv7hf.

With this, ocaml builds and builds a working unison, on earmv6hf
(RPI3).

Revision 1.113 / (download) - annotate - [select for diffs], Fri Oct 27 23:30:07 2017 UTC (5 years, 10 months ago) by khorben
Branch: MAIN
Changes since 1.112: +2 -2 lines
Diff to previous 1.112 (colored)

Really honour LDFLAGS when building ocamlyacc

This fixes building lang/ocaml with RELRO.

Revision 1.112 / (download) - annotate - [select for diffs], Tue Oct 17 08:26:48 2017 UTC (5 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.111: +4 -4 lines
Diff to previous 1.111 (colored)

ocaml: revert part of powerpc patches

Do not overwrite cc linker options (probably committed unintentionally).
Refixes RELRO build.

Revision 1.110.4.1 / (download) - annotate - [select for diffs], Sun Oct 15 11:49:07 2017 UTC (5 years, 11 months ago) by spz
Branch: pkgsrc-2017Q3
Changes since 1.110: +5 -3 lines
Diff to previous 1.110 (colored) next main 1.111 (colored)

Pullup ticket #5568 - requested by he
lang/ocaml: fix for NetBSD/powerpc

Revisions pulled up:
- lang/ocaml/Makefile                                           1.115
- lang/ocaml/PLIST                                              1.44
- lang/ocaml/distinfo                                           1.111
- lang/ocaml/patches/patch-asmrun_signals__osdep.h              1.2
- lang/ocaml/patches/patch-configure                            1.25
- lang/ocaml/patches/patch-testsuite_tests_lib-dynlink-native_Makefile 1.1
- lang/ocaml/patches/patch-testsuite_tests_tool-ocamldoc-man_Makefile 1.3

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	he
   Date:		Tue Oct 10 12:10:05 UTC 2017

   Modified Files:
   	pkgsrc/lang/ocaml: Makefile PLIST distinfo
   	pkgsrc/lang/ocaml/patches: patch-asmrun_signals__osdep.h
   	    patch-configure
   Added Files:
   	pkgsrc/lang/ocaml/patches:
   	    patch-testsuite_tests_lib-dynlink-native_Makefile
   	    patch-testsuite_tests_tool-ocamldoc-man_Makefile

   Log Message:
   Apply the required fixes to make this work again on NetBSD/powerpc.

   A similar set of changes has been sent upstream.
   OK by jaapb@


   To generate a diff of this commit:
   cvs rdiff -u -r1.114 -r1.115 pkgsrc/lang/ocaml/Makefile
   cvs rdiff -u -r1.43 -r1.44 pkgsrc/lang/ocaml/PLIST
   cvs rdiff -u -r1.110 -r1.111 pkgsrc/lang/ocaml/distinfo
   cvs rdiff -u -r1.1 -r1.2 \
       pkgsrc/lang/ocaml/patches/patch-asmrun_signals__osdep.h
   cvs rdiff -u -r1.24 -r1.25 pkgsrc/lang/ocaml/patches/patch-configure
   cvs rdiff -u -r0 -r1.1 \
       pkgsrc/lang/ocaml/patches/patch-testsuite_tests_lib-dynlink-native_Makefile
   cvs rdiff -u -r0 -r1.3 \
       pkgsrc/lang/ocaml/patches/patch-testsuite_tests_tool-ocamldoc-man_Makefile

Revision 1.111 / (download) - annotate - [select for diffs], Tue Oct 10 12:10:05 2017 UTC (5 years, 11 months ago) by he
Branch: MAIN
Changes since 1.110: +5 -3 lines
Diff to previous 1.110 (colored)

Apply the required fixes to make this work again on NetBSD/powerpc.

A similar set of changes has been sent upstream.
OK by jaapb@

Revision 1.110 / (download) - annotate - [select for diffs], Sun Sep 10 08:56:47 2017 UTC (6 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base
Branch point for: pkgsrc-2017Q3
Changes since 1.109: +3 -3 lines
Diff to previous 1.109 (colored)

Honor LDFLAGS again. Fixes RELRO build.

Revision 1.109 / (download) - annotate - [select for diffs], Fri Sep 8 09:12:44 2017 UTC (6 years ago) by jaapb
Branch: MAIN
Changes since 1.108: +14 -18 lines
Diff to previous 1.108 (colored)

Updated package to latest version, 4.05.

Package changes: PLIST cleanup, and added some options for native
compilation.

Changes from ocaml 4.04.2 include (MPR and GPR changed to M and G to not
trigger our CVS hooks):
(Changes that can break existing programs are marked with a "*")

### Language features:

### Code generation and optimizations:

- M#7201, G#954: Correct wrong optimisation of "0 / <expr>"
  and "0 mod <expr>" in the case when <expr> was a non-constant
  evaluating to zero
  (Mark Shinwell, review by Gabriel Scherer, Leo White and Xavier Leroy)

- M#7357, G#832: Improve compilation time for toplevel
  include(struct ... end : sig ... end)
  (Alain Frisch, report by Hongbo Zhang, review by Jacques Garrigue)

- M#7533, G#1173: Correctly perform side effects for certain
  cases of "/" and "mod"
  (Mark Shinwell, report by Jan Mitgaard)

- G#504: Instrumentation support for fuzzing with afl-fuzz.
  (Stephen Dolan, review by Alain Frisch, Pierre Chambart, Mark
  Shinwell, Gabriel Scherer and Damien Doligez)

- G#863, G#1068, G#1069: Optimise matches with constant
  results to lookup tables.
  (Stephen Dolan, review by Gabriel Scherer, Pierre Chambart,
  Mark Shinwell, and bug report by Gabriel Scherer)

- G#1150: Fix typo in arm64 assembler directives
  (KC Sivaramakrishnan)

### Runtime system:

- M#385, G#953: Add caml_startup_exn
  (Mark Shinwell)

- M#7423, G#946: expose new exception-raising functions
  `void caml_{failwith,invalid_argument}_value(value msg)`
  in addition to
  `void caml_{failwith,invalid_argument}(char const *msg)`.
  The previous functions would not free their message argument, so
  were inconvient for dynamically-allocated messages; the messages
  passed to the new functions are handled by the garbage collector.
  (Gabriel Scherer, review by Mark Shinwell, request by Immanuel Litzroth)

- M#7557, G#1213: More security for getenv
  (Damien Doligez, reports by Seth Arnold and Eric Milliken, review by
  Xavier Leroy, David Allsopp, Stephen Dolan, Hannes Mehnert)

- G#795: remove 256-character limitation on Sys.executable_name
  (Xavier Leroy)

- G#891: Use -fno-builtin-memcmp when building runtime with gcc.
  (Leo White)

### Type system:

- M#6608, G#901: unify record types when overriding all fields
  (Tadeu Zagallo and Gabriel Scherer, report by Jeremy Yallop,
  review by David Allsopp, Jacques Garrigue)

* M#7414, G#929: Soundness bug with non-generalized type variables and
  functors.
  (compatibility: some code using module-global mutable state will
   fail at compile-time and is fixed by adding extra annotations;
   see the Mantis and Github discussions.)
  (Jacques Garrigue, report by Leo White)

### Compiler user-interface and warnings:

- M#7050, G#748 G#843 G#864: new `-args/-args0 <file>` parameters to
  provide extra command-line arguments in a file -- see documentation.
  User programs may implement similar options using the new `Expand`
  constructor of the `Arg` module.
  (Bernhard Schommer, review by J?r?mie Dimino, Gabriel Scherer
   and Damien Doligez, discussion with Alain Frisch and Xavier Leroy,
   feature request from the Coq team)

- M#7137, G#960: "-open" command line flag now accepts
  a module path (not a module name)
  (Arseniy Alekseyev and Leo White)

- M#7172, G#970: add extra (ocamlc -config) options
  int_size, word_size, ext_exe
  (Gabriel Scherer, request by Daniel B?nzli)

- M#7315, G#736: refine some error locations
  (Gabriel Scherer and Alain Frisch, report by Matej Ko??k)

- M#7473, G#1025: perform proper globbing for command-line arguments on
  Windows
  (Jonathan Protzenko)

- M#7479: make sure "ocamlc -pack" is only given .cmo and .cmi files,
  and that "ocamlopt -pack" is only given .cmx and .cmi files.
  (Xavier Leroy)

- G#796: allow compiler plugins to declare their own arguments.
  (Fabrice Le Fessant)

- G#829: better error when opening a module aliased to a functor
  (Alain Frisch)

- G#911: ocamlc/ocamlopt do not pass warnings-related options to C
  compiler when called to compile third-party C source files
  (S?bastien Hinderer, review by Adrien Nader and David Allsopp)

- G#915: fix -dsource (pprintast.ml) bugs
  (Runhang Li, review by Alain Frisch)

* G#933: ocamlopt -p now reports an error on platforms that do not
  support profiling with gprof; dummy profiling libraries are no longer
  installed on such platforms.
  This can be tested with ocamlopt -config
  (S?bastien Hinderer)

- G#1009: "ocamlc -c -linkall" and "ocamlopt -c -linkall" can now be used
  to set the "always link" flag on individual compilation units.  This
  controls linking with finer granularity than "-a -linkall", which sets
  the "always link" flag on all units of the given library.
  (Xavier Leroy)

- G#1015: add option "-plugin PLUGIN" to ocamldep too. Use compilerlibs
  to build ocamldep. Add option "-depend" to ocamlc/ocamlopt to behave
  as ocamldep. Remove any use of ocamldep to build the distribution.
  (Fabrice Le Fessant)

- G#1027: various improvements to -dtimings, mostly including time
  spent in subprocesses like preprocessors
  (Valentin Gatien-Baron, review by Gabriel Scherer)

- G#1098: the compiler now takes the boolean "OCAML_COLOR" environment
  variable into account if "-color" is not provided.  This allows users
  to override the default behaviour without modifying invocations of ocaml
  manually.
  (Hannes Mehnert, Guillaume Bury,
   review by Daniel B?nzli, Gabriel Scherer, Damien Doligez)

### Standard library:

- M#6975, G#902: Truncate function added to stdlib Buffer module
  (Dhruv Makwana, review by Alain Frisch and Gabriel Scherer)

- M#7279, G#710: `Weak.get_copy` `Ephemeron.*_copy` doesn't copy
  custom blocks anymore
  (Fran?ois Bobot, Alain Frisch, bug reported by Martin R. Neuh?u?er,
  review by Thomas Braibant and Damien Doligez)

* M#7500, G#1081: Remove Uchar.dump
  (Daniel B?nzli)

- G#760: Add a functions List.compare_lengths and
  List.compare_length_with to avoid full list length computations
  (Fabrice Le Fessant, review by Leo White, Josh Berdine and Gabriel Scherer)

- G#778: Arg: added option Expand that allows to expand a string
  argument to a string array of new arguments
  (Bernhard Schommer, review by Gabriel Scherer and J?r?mie Dimino)

- G#849: Expose a Spacetime.enabled value
  (Leo White)

- G#885: Option-returning variants of stdlib functions
  (Alain Frisch, review by David Allsopp and Bart Jacobs)

- G#869: Add find_first, find_first_opt, find_last, find_last_opt to
  maps and sets.  Find the first or last binding or element
  satisfying a monotonic predicate.
  (Gabriel de Perthuis, with contributions from Alain Frisch, review by
  Hezekiah M. Carty and Simon Cruanes, initial report by Gerd Stolpmann)

- G#875: Add missing functions to ArrayLabels, BytesLabels,
  ListLabels, MoreLabels, StringLabels so they are compatible with
  non-labeled counterparts. Also add missing @@ocaml.deprecated attributes
  in StringLabels and BytesLabels.
  (Roma Sokolov, review by Gabriel Scherer, Jacques Garrigue,
   Gabriel Radanne, Alain Frisch)

- G#999: Arg, do not repeat the usage message thrice when reporting an error
  (this was a regression in 4.03)
  (Florian Angeletti, review by Gabriel Scherer)

- G#1042: Fix escaping of command-line arguments in
  Unix.create_process{,_env} under Windows.  Arguments with tabs should now
  be received verbatim by the child process.
  (Nicolas Ojeda Bar, Andreas Hauptmann review by Xavier Leroy)

### Debugging and profiling:

- M#7258: ocamldebug's "install_printer" command had problems with
  module aliases
  (Xavier Leroy)

- G#378: Add [Printexc.raise_with_backtrace] to raise an exception using
  an explicit backtrace
  (Fran?ois Bobot, review by Gabriel Scherer, Xavier Leroy, Damien Doligez,
   Fr?d?ric Bour)

### Manual and documentation:

- M#6597, G#1030: add forward references to language extensions
  that extend non-terminal symbols in the language reference section.
  (Florian Angeletti, review by Gabriel Scherer)

- M#7497, G#1095: manual, enable numbering for table of contents
  (Florian Angeletti, request by Daniel B?nzli)

- M#7539, G#1181: manual, update dead links in ocamldoc chapter
  (Florian Angeletti)

- G#633: manpage and manual documentation for the `-opaque` option
  (Konstantin Romanov, Gabriel Scherer, review by Mark Shinwell)

- G#751, G#925: add a HACKING.adoc file to contain various
  tips and tricks for people hacking on the repository. See also
  CONTRIBUTING.md for advice on sending contributions upstream.
  (Gabriel Scherer and Gabriel Radanne, review by David Allsopp,
  inspired by John Whitington)

- G#916: new tool lintapidiff, use it to update the manual with
  @since annotations for API changes introduced between 4.00-4.05.
  (Edwin T?r?k, review by Gabriel Scherer, discussion with Alain Frisch,
   David Allsopp, S?bastien Hinderer, Damien Doligez and Xavier Leroy)

- G#939: activate the caml_example environment in the language
  extensions section of the manual. Convert some existing code
  examples to this format.
  (Florian Angeletti)

- G#1082: clarify that the use of quoted string for preprocessed
  foreign quotations still requires the use of an extension node
  [%foo ...] to mark non-standard interpretation.
  (Gabriel Scherer, request by Matthew Wahab in G#1066,
   review by Florian Angeletti)

### Other libraries:

- M#7158: Event.sync, Mutex.create, Condition.create cause too many GCs.
  The fix is to no longer consider mutexes and condition variables
  as rare kernel resources.
  (Xavier Leroy)

- M#7264: document the different behaviors of Unix.lockf under POSIX
  and under Win32.
  (Xavier Leroy, report by David Allsopp)

- M#7339, G#787: Support the '0 dimension' case for bigarrays
  (see Bigarray documentation)
  (Laurent Mazare,
   review by Gabriel Scherer, Alain Frisch and Hezekiah M. Carty)

* M#7342, G#797: fix Unix.read on pipes with no data left on Windows
  it previously raised an EPIPE error, it now returns 0 like other OSes
  (Jonathan Protzenko, review by Andreas Hauptmann and Damien Doligez)

- G#650: in the Unix library, add `?cloexec:bool` optional arguments to
  functions that create file descriptors (`dup`, `dup2`, `pipe`, `socket`,
  `socketpair`, `accept`).  Implement these optional arguments in the
  most atomic manner provided by the operating system to set (or clear)
  the close-on-exec flag at the same time the file descriptor is created,
  reducing the risk of race conditions with `exec` or `create_process`
  calls running in other threads, and improving security.  Also: add a
  `O_KEEPEXEC` flag for `openfile` by symmetry with `O_CLOEXEC`.
  (Xavier Leroy, review by Mark Shinwell, David Allsopp and Alain Frisch,
   request by Romain Beauxis)

- G#996: correctly update caml_top_of_stack in systhreads
  (Fabrice Le Fessant)

- G#997, G#1077: Deprecate Bigarray.*.map_file and add Unix.map_file as a
  first step towards moving Bigarray to the stdlib
  (J?r?mie Dimino and Xavier Leroy)

### Toplevel:

- M#7060, G#1035: Print exceptions in installed custom printers
  (Tadeu Zagallo, review by David Allsopp)

### Tools:

- M#5163: ocamlobjinfo, dump globals defined by bytecode executables
  (St?phane Glondu)

- M#7333: ocamldoc, use the first sentence of text file as
  a short description in overviews.
  (Florian Angeletti)

- G#848: ocamldoc, escape link targets in HTML output
  (Etienne Millon, review by Gabriel Scherer, Florian Angeletti and
  Daniel B?nzli)

- G#986: ocamldoc, use relative paths in error message
  to solve ocamlbuild+doc usability issue (ocaml/ocamlbuild#79)
  (Gabriel Scherer, review by Florian Angeletti, discussion with Daniel B?nzli)

- G#1017: ocamldoc, add an option to detect code fragments that could be
  transformed into a cross-reference to a known element.
  (Florian Angeletti, review and suggestion by David Allsopp)

- clarify ocamldoc text parsing error messages
  (Gabriel Scherer)

### Compiler distribution build system:

- M#7377: remove -std=gnu99 for newer gcc versions
  (Damien Doligez, report by ygrek)

- M#7452, G#1228: tweak GCC options to try to avoid the
  Skylake/Kaby lake bug
  (Damien Doligez, review by David Allsopp, Xavier Leroy and Mark Shinwell)

- G#693: fail on unexpected errors or warnings within caml_example
  environment.
  (Florian Angeletti)

- G#803: new ocamllex-based tool to extract bytecode compiler
  opcode information from C headers.
  (Nicolas Ojeda Bar)

- G#827: install missing mli and cmti files, new make target
  install-compiler-sources for installation of compiler-libs ml files
  (Hendrik Tews)

- G#887: allow -with-frame-pointers if clang is used as compiler on Linux
  (Bernhard Schommer)

- G#898: fix locale-dependence of primitive list order,
  detected through reproducible-builds.org.
  (Hannes Mehnert, review by Gabriel Scherer and Ximin Luo)

- G#907: Remove unused variable from the build system
  (S?bastien Hinderer, review by whitequark, Gabriel Scherer, Adrien Nader)

- G#911: Clarify the use of C compiler related variables in the build system.
  (S?bastien Hinderer, review by Adrien Nader, Alain Frisch, David Allsopp)

- G#919: use clang as preprocessor assembler if clang is used as compiler
  (Bernhard Schommer)

- G#927: improve the detection of hashbang support in the configure script
  (Arma?l Gu?neau)

- G#932: install ocaml{c,lex}->ocaml{c,lex}.byte symlink correctly
  when the opt target is built but opt.opt target is not.
  (whitequark, review by Gabriel Scherer)

- G#935: allow build in Android's termux
  (ygrek, review by Gabriel Scherer)

- G#984: Fix compilation of compiler distribution when Spacetime
  enabled
  (Mark Shinwell)

- G#991: On Windows, fix installation when native compiler is not
  built
  (S?bastien Hinderer, review by David Allsopp)

- G#1033: merge Unix and Windows build systems in the root directory
  (S?bastien Hinderer, review by Damien Doligez and Adrien Nader)

- G#1047: Make .depend files generated for C sources more portable
  (S?bastien Hinderer, review by Xavier Leroy and David Allsopp)

- G#1076: Simplify ocamlyacc's build system
  (S?bastien Hinderer, review by David Allsopp)

### Compiler distribution build system: Makefile factorization

The compiler distribution build system (the set of Makefiles used to
build the compiler distribution) traditionally had separate Makefiles
for Unix and Windows, which lead to some amount of duplication and
subtle differences and technical debt in general -- for people working
on the compiler distribution, but also cross-compilation or porting to
new systems. During the 4.05 development period, S?bastien Hinderer
worked on harmonizing the build rules and merging the two build
systems.

* Some changes were made to the config/Makefile file which
  is exported as $(ocamlc -where)/Makefile.config, and on
  which some advanced users might rely. The changes are
  as follows:
  - a BYTERUN variable was added that points to the installed ocamlrun
  - the PARTIALLD variable was removed (PACKLD is more complete)
  - the always-empty DLLCCCOMPOPTS was removed
  - the SHARED variable was removed; its value is "shared" or "noshared",
    which duplicates the existing and more convenient
    SUPPORTS_SHARED_LIBRARIES variable whose value is "true" or "false".

  Note that Makefile.config may change further in the future and relying
  on it is a bit fragile. We plan to make `ocamlc -config` easier to use
  for scripting purposes, and have a stable interface there. If you rely
  on Makefile.config, you may want to get in touch with S?bastien Hinderer
  or participate to M#7116 (Allow easy retrieval of Makefile.config's values)
  or M#7172 (More information in ocamlc -config).

The complete list of changes is listed below.

- G#705: update Makefile.nt so that ocamlnat compiles
  for non-Cygwin Windows ports.
  (S?bastien Hinderer, review by Alain Frisch)

- G#729: Make sure ocamlnat is built with a $(EXE) extension, merge
  rules between Unix and Windows Makefiles
  (S?bastien Hinderer, review by Alain Frisch)

- G#762: Merge build systems in the yacc/ directory.
  (S?bastien Hinderer, review by David Allsopp, Alain Frisch)

- G#764: Merge build systems in the debugger/ directory.
  (S?bastien Hinderer, review by Alain Frisch)

- G#785: Merge build systems in otherlibs/systhreads/
  (S?bastien Hinderer, review by Alain Frisch, David Allsopp,
   testing and regression fix by J?r?mie Dimino)

- G#788: Merge build systems in subdirectories of otherlibs/.
  (S?bastien Hinderer, review by Alain Frisch)

- G#808, G#906: Merge Unix and Windows build systems
  in the ocamldoc/ directory
  (S?bastien Hinderer, review by Alain Frisch)

- G#812: Merge build systems in the tools/ subdirectory
  (S?bastien Hinderer, review by Alain Frisch)

- G#866: Merge build systems in the stdlib/ directory
  (S?bastien Hinderer, review by David Allsopp and Adrien Nader)

- G#941: Merge Unix and Windows build systems in the asmrun/ directory
  (S?bastien Hinderer, review by Mark Shinwell, Adrien Nader,
   Xavier Leroy, David Allsopp, Damien Doligez)

- G#981: Merge build systems in the byterun/ directory
  (S?bastien Hinderer, review by Adrien Nader)

- G#1033, G#1048: Merge build systems in the root directory
  (S?bastien Hinderer, review by Adrien Nader and Damien Doligez,
   testing and regression fix by Andreas Hauptmann)

### Internal/compiler-libs changes:

- G#673: distinguish initialization of block fields from mutation in lambda.
  (Fr?d?ric Bour, review by Xavier Leroy, Stephen Dolan and Mark Shinwell)

- G#744, G#781: fix duplicate self-reference in imported cmi_crcs
  list in .cmti files + avoid rebuilding cmi_info record when creating
  .cmti files
  (Alain Frisch, report by Daniel B?nzli, review by J?r?mie Dimino)

- G#881: change `Outcometree.out_variant` to be more general.
  `Ovar_name of out_ident * out_type list` becomes `Ovar_type of out_type`.
  (Valentin Gatien-Baron, review by Leo White)

- G#908: refactor PIC-handling in the s390x backend
  (Gabriel Scherer, review by Xavier Leroy and Mark Shinwell)

### Bug fixes

- M#5115: protect all byterun/fail.c functions against
  uninitialized caml_global_data (only changes the bytecode behavior)
  (Gabriel Scherer, review by Xavier Leroy)

- M#6136, G#967: Fix Closure so that overapplication evaluation order
  matches the bytecode compiler and Flambda.
  (Mark Shinwell, report by Jeremy Yallop, review by Fr?d?ric Bour)

- M#6550, G#1094: Allow creation of empty .cmxa files on macOS
  (Mark Shinwell)

- M#6594, G#955: Remove "Istore_symbol" specific operation on x86-64.
  This is more robust and in particular avoids assembly failures on Win64.
  (Mark Shinwell, review by Xavier Leroy, testing by David Allsopp and
   Olivier Andrieu)

- M#6903: Unix.execvpe doesn't change environment on Cygwin
  (Xavier Leroy, report by Adrien Nader)

- M#6987: Strange error message probably caused by
  universal variable escape (with polymorphic variants)
  (Jacques Garrigue, report by Mikhail Mandrykin and Leo White)

- M#7216, G#949: don't require double parens in Functor((val x))
  (Jacques Garrigue, review by Valentin Gatien-Baron)

- M#7331: ocamldoc, avoid infinite loop in presence of self alias,
  i.e. module rec M:sig end = M
  (Florian Angeletti, review Gabriel Scherer)

- M#7346, G#966: Fix evaluation order problem whereby expressions could
  be incorrectly re-ordered when compiling with Flambda.  This also fixes one
  example of evaluation order in the native code compiler not matching the
  bytecode compiler (even when not using Flambda)
  (Mark Shinwell, Leo White, code review by Pierre Chambart)

- M#7348: Private row variables can escape their scope
  (Jacques Garrigue, report by Leo White)

- M#7407: Two not-quite-standard C idioms rejected by SUNWSPro compilers
  (Xavier Leroy)

- M#7421: Soundness bug with GADTs and lazy
  (Jacques Garrigue, report by Leo White)

- M#7424: Typechecker diverges on unboxed type declaration
  (Jacques Garrigue, report by Stephen Dolan)

- M#7426, G#965: Fix fatal error during object compilation (also
  introduces new [Pfield_computed] and [Psetfield_computed] primitives)
  (Mark Shinwell, report by Ulrich Singer)

- M#7427, G#959: Don't delete let bodies in Cmmgen
  (Mark Shinwell, report by Valentin Gatien-Baron)

- M#7432: Linking modules compiled with -labels and -nolabels is not safe
  (Jacques Garrigue, report by Jeremy Yallop)

- M#7437: typing assert failure with nonrec priv
  (Jacques Garrigue, report by Anil Madhavapeddy)

- M#7438: warning +34 exposes #row with private types
  (Alain Frisch, report by Anil Madhavapeddy)

- M#7443, G#990: spurious unused open warning with local open in patterns
  (Florian Angeletti, report by Gabriel Scherer)

- M#7456, G#1092: fix slow compilation on source files containing a lot
  of similar debugging information location entries
  (Mark Shinwell)

- M#7504: fix warning 8 with unconstrained records
  (Florian Angeletti, report by John Whitington)

- M#7511, G#1133: Unboxed type with unboxed argument should not be accepted
  (Damien Doligez, review by Jeremy Yallop and Leo White)

- G#805, G#815, G#833: check for integer overflow in String.concat
  (Jeremy Yallop,
   review by Damien Doligez, Alain Frisch, Daniel B?nzli, Fabrice Le Fessant)

- G#881: short-paths did not apply to some polymorphic variants
  (Valentin Gatien-Baron, review by Leo White)

- G#886: Fix Ctype.moregeneral's handling of row_name
  (Leo White, review by Jacques Garrigue)

- G#934: check for integer overflow in Bytes.extend
  (Jeremy Yallop, review by Gabriel Scherer)

- G#956: Keep possibly-effectful expressions when optimizing multiplication
  by zero.
  (Jeremy Yallop, review by Nicol?s Ojeda B?r, Xavier Leroy and Mark Shinwell)

- G#977: Catch Out_of_range in ocamldebug's "list" command
  (Yunxing Dai)

- G#983: Avoid removing effectful expressions in Closure, and
  eliminate more non-effectful ones
  (Alain Frisch, review by Mark Shinwell and Gabriel Scherer)

- G#987: alloc_sockaddr: don't assume a null terminator. It is not inserted
  on macOS by system calls that fill in a struct sockaddr (e.g. getsockname).
  (Anton Bachin)

- G#998: Do not delete unused closures in un_anf.ml.
  (Leo White, review by Mark Shinwell and Pierre Chambart)

- G#1019: Fix fatal error in Flambda mode "[functions] does not map set of
  closures ID"
  (Pierre Chambart, code review by Mark Shinwell and Leo White)

- G#1075: Ensure that zero-sized float arrays have zero tags.
  (Mark Shinwell, Leo White, review by Xavier Leroy)

* G#1088: Gc.minor_words now returns accurate numbers.
  (compatibility: the .mli declaration of `Gc.minor_words`
   and `Gc.get_minor_free` changed, which may break libraries
   re-exporting these values.)
(Stephen Dolan, review by Pierre Chambart and Xavier Leroy)

Revision 1.103.4.1 / (download) - annotate - [select for diffs], Mon Jul 24 16:27:15 2017 UTC (6 years, 2 months ago) by spz
Branch: pkgsrc-2017Q2
Changes since 1.103: +3 -1 lines
Diff to previous 1.103 (colored) next main 1.104 (colored)

Pullup ticket #5516 - requested by he
lang/ocaml: build fix for powerpc

Revisions pulled up:
- lang/ocaml/Makefile                                           patch
- lang/ocaml/PLIST.opt                                          patch
- lang/ocaml/distinfo                                           patch
- lang/ocaml/patches/patch-asmrun_signals__osdep.h              patch
- lang/ocaml/patches/patch-testsuite_tests_tool-ocamldoc-man_Makefile patch

-------------------------------------------------------------------

patches reproducing the following commit for the version in pkgsrc-2017Q2:

   Module Name:	pkgsrc
   Committed By:	he
   Date:		Tue Jul 11 17:15:02 UTC 2017

   Modified Files:
   	pkgsrc/lang/ocaml: Makefile PLIST.opt distinfo
   	pkgsrc/lang/ocaml/patches: patch-configure
   Added Files:
   	pkgsrc/lang/ocaml/patches: patch-asmrun_signals__osdep.h

   Log Message:
   Add the required glue to make this work again on NetBSD/powerpc.

   Pkgsrc changes:
   * Add required macros for accessing ucontext for NetBSD/powerpc
   * Omit files from PLIST.opt which are in PLIST.natdynlink.
     So far macppc doesn't do "natdynlink", tests are failing.
   * Adapt Makefile to features enabled on NetBSD/powerpc.
   * Bump PKGREVISION.

   The self-test results are nearly the same as on NetBSD/i386, with one
   test failing, difference is one unexpected failure related to native
   dynlink which I thought I had not enabled, and which obviously needs
   more attention since it tries to reference a Linux linker script.
   ...
   Summary:
    637 tests passed
     13 tests skipped
      1 tests failed
      1 unexpected errors
    652 tests considered

   List of failed tests:
      tests/tool-ocamldoc-man/Inline_records.mli

   List of unexpected errors:
      tests/lib-dynlink-native
   ...


   To generate a diff of this commit:
   cvs rdiff -u -r1.108 -r1.109 pkgsrc/lang/ocaml/Makefile
   cvs rdiff -u -r1.27 -r1.28 pkgsrc/lang/ocaml/PLIST.opt
   cvs rdiff -u -r1.104 -r1.105 pkgsrc/lang/ocaml/distinfo
   cvs rdiff -u -r0 -r1.1 \
      pkgsrc/lang/ocaml/patches/patch-asmrun_signals__osdep.h
   cvs rdiff -u -r1.22 -r1.23 pkgsrc/lang/ocaml/patches/patch-configure

Revision 1.108 / (download) - annotate - [select for diffs], Tue Jul 18 17:41:04 2017 UTC (6 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.107: +2 -2 lines
Diff to previous 1.107 (colored)

Support -Wl,-z in ocamlmklib. Needed for RELRO support e.g. in ocaml-lablgtk.

Bump PKGREVISION.

Revision 1.107 / (download) - annotate - [select for diffs], Mon Jul 17 23:26:23 2017 UTC (6 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.106: +5 -3 lines
Diff to previous 1.106 (colored)

Honor LDFLAGS. Fixes RELRO build.

Revision 1.106 / (download) - annotate - [select for diffs], Wed Jul 12 07:52:28 2017 UTC (6 years, 2 months ago) by he
Branch: MAIN
Changes since 1.105: +2 -1 lines
Diff to previous 1.105 (colored)

A preexisting pkgsrc patch changed the "man page output suffix" from
.3o to just .3, so adapt this test's Makefile to follow suit.  Brings
the number of failing self-tests down from 1 to 0.
Bump PKGREVISION.

Revision 1.105 / (download) - annotate - [select for diffs], Tue Jul 11 17:15:01 2017 UTC (6 years, 2 months ago) by he
Branch: MAIN
Changes since 1.104: +3 -2 lines
Diff to previous 1.104 (colored)

Add the required glue to make this work again on NetBSD/powerpc.

Pkgsrc changes:
 * Add required macros for accessing ucontext for NetBSD/powerpc
 * Omit files from PLIST.opt which are in PLIST.natdynlink.
   So far macppc doesn't do "natdynlink", tests are failing.
 * Adapt Makefile to features enabled on NetBSD/powerpc.
 * Bump PKGREVISION.

The self-test results are nearly the same as on NetBSD/i386, with one
test failing, difference is one unexpected failure related to native
dynlink which I thought I had not enabled, and which obviously needs
more attention since it tries to reference a Linux linker script.
...
Summary:
  637 tests passed
   13 tests skipped
    1 tests failed
    1 unexpected errors
  652 tests considered

List of failed tests:
    tests/tool-ocamldoc-man/Inline_records.mli

List of unexpected errors:
    tests/lib-dynlink-native
...

Revision 1.104 / (download) - annotate - [select for diffs], Tue Jul 11 09:52:11 2017 UTC (6 years, 2 months ago) by jaapb
Branch: MAIN
Changes since 1.103: +5 -5 lines
Diff to previous 1.103 (colored)

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)

Revision 1.103 / (download) - annotate - [select for diffs], Mon Mar 27 12:54:59 2017 UTC (6 years, 6 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q1-base, pkgsrc-2017Q1
Branch point for: pkgsrc-2017Q2
Changes since 1.102: +2 -2 lines
Diff to previous 1.102 (colored)

Enable profiling on SunOS/x86_64.  Note to DragonFly developers that the
existing patch for enabling profiling for that platform is clearly
incorrect, but I'm not going to change it without being able to test it.

Revision 1.102 / (download) - annotate - [select for diffs], Thu Mar 23 18:22:34 2017 UTC (6 years, 6 months ago) by jperkin
Branch: MAIN
Changes since 1.101: +2 -2 lines
Diff to previous 1.101 (colored)

Restore x86_64-*-solaris support lost in previous update.

Revision 1.101 / (download) - annotate - [select for diffs], Fri Dec 30 11:15:00 2016 UTC (6 years, 8 months ago) by jaapb
Branch: MAIN
Changes since 1.100: +13 -16 lines
Diff to previous 1.100 (colored)

Updated package to latest version, ocaml 4.04.0. This involved removing
some patches that have been migrated upstream.

Changes (bug numbers removed so they don't trigger our system) include:
(Changes that can break existing programs are marked with a "*")

### Language features:

- Support GADT equations on non-local abstract types
  (Jacques Garrigue)

- Local opening of modules in a pattern.
  Syntax: "M.(p)", "M.[p]","M.[| p |]", "M.{p}"
  (Florian Angeletti, Jacques Garrigue, review by Alain Frisch)

- local exception declarations "let exception ... in"
  (Alain Frisch)

- Allow shortcut for extension on semicolons: ;%foo
  (Jeremie Dimino)

- optimized representation for immutable records with a single
  field, and concrete types with a single constructor with a single argument.
  This is triggered with a [@@unboxed] attribute on the type definition.
  Currently mutually recursive datatypes are not well supported, this
  limitation should be lifted in the future (see M).
  (Damien Doligez)

### Compiler user-interface and warnings:

* interpret all command-line options before compiling any
  files, changes (improves) the semantics of repeated -o options or -o
  combined with -c see the super-detailed commit message at
  https://github.com/ocaml/ocaml/commit/da56cf6dfdc13c09905c2e07f1d4849c8346eec8
  (whitequark)

- clarify the wording of Warning 38
  (Unused exception or extension constructor)
  (Gabriel Scherer)

* add colors when reporting errors generated by ppx rewriters.
  Remove the `Location.errorf_prefixed` function which is no longer relevant
  (Simon Cruanes, Jérémie Dimino)

- clarify the wording of Warning 8
  (Non-exhaustivity warning for pattern matching)
  (Florian Angeletti, review and report by Gabriel Scherer)

* Improve support for OCAMLPARAM: (i) do not use objects
  files with -a, -pack, -shared; (ii) use "before" objects in the toplevel
  (but not "after" objects); (iii) use -I dirs in the toplevel,
  (iv) fix bug where -I dirs were ignored when using threads
  (Marc Lasson, review by Damien Doligez and Alain Frisch)

- New -plugin option for ocamlc and ocamlopt, to dynamically extend
  the compilers at runtime.
  (Fabrice Le Fessant)

- Detect unused module declarations
  (Alain Frisch)

- Add a settable Env.Persistent_signature.load function so
  that cmi files can be loaded from other sources. This can be used to
  create self-contained toplevels.
  (Jérémie Dimino)

### Standard library:

- Provide `Sys.backend_type` so that user can write backend-specific
  code in some cases (for example,  code generator).
  (Hongbo Zhang)

- implement Set.map
  (Gabriel Scherer)

- Add Obj.reachable_words to compute the
  "transitive" heap size of a value
  (Alain Frisch, review by Mark Shinwell and Damien Doligez)

- Add a non-allocating function to recover the number of
  allocated minor words.
  (Pierre Chambart, review by Damien Doligez and Gabriel Scherer)

- String.split_on_char
  (Alain Frisch)

- Filename.extension and Filename.remove_extension
  (Alain Frisch, request by Edgar Aroutiounian, review by Daniel Bunzli
  and Damien Doligez)

### Code generation and optimizations:

- Optimize Hashtbl by using in-place updates of its
  internal bucket lists.  All operations run in constant stack size
  and are usually faster, except Hashtbl.copy which can be much
  slower
  (Alain Frisch)

* Optimize performance of record update:
  no more performance cliff when { foo with t1 = ..; t2 = ...; ... }
  hits 6 updated fields
  (Olivier Nicole, review by Thomas Braibant and Pierre Chambart)

- Better unboxing strategy
  (Alain Frisch, Pierre Chambart)

- Ocamlopt + flambda requires a lot of memory
  to compile large array literal expressions
  (Pierre Chambart, review by Mark Shinwell)

- Handle specialisation of recursive function that does
  not always preserve the arguments
  (Pierre Chambart, Mark Shinwell, report by Simon Cruanes)

- Obj.is_block is now an inlined OCaml function instead of a
  C external.  This should be faster.
  (Demi Obenour)

- Optimize immutable float records
  (Pierre Chambart, review by Mark Shinwell)

- Do not generate dummy code to force module linking
  (Pierre Chambart, reviewed by Jacques Garrigue)

- Do not eliminate boxed int divisions by zero and
  avoid checking twice if divisor is zero with flambda.
  (Pierre Chambart, report by Jeremy Yallop)

- Optimize some constant string operations when the "-safe-string"
  configure time option is enabled.
  (Pierre Chambart)

- Load cross module information during a meet
  (Pierre Chambart, report by Leo White, review by Mark Shinwell)

- Share a few more equal switch branches
  (Pierre Chambart, review by Gabriel Scherer)

- Small improvements to type-based optimizations for array
  and lazy
  (Alain Frisch, review by Pierre Chambart)

- Prevent warning 59 from triggering on Lazy of constants
  (Pierre Chambart, review by Leo White)

-  Sort emitted functions according to source location
  (Pierre Chambart, review by Mark Shinwell)

- Lack of type normalization lead to missing simple compilation for "lazy x"
  (Alain Frisch)

### Runtime system:

- Allows to register finalisation function that are
  called only when a value will never be reachable anymore. The
  drawbacks compared to the existing one is that the finalisation
  function is not called with the value as argument. These finalisers
  are registered with `GC.finalise_last`
  (François Bobot reviewed by Damien Doligez and Leo White)

- Do not perform compaction if the real overhead is less than expected
  (Thomas Braibant)

### Tools:

- toplevel #show, follow chains of module aliases
  (Gabriel Scherer, report by Daniel Bünzli, review by Thomas Refis)

- have ocamldep interpret -open arguments in left-to-right order
  (Gabriel Scherer, report by Anton Bachin)

- ocamldoc, missing line breaks in type_*.html files
  (Florian Angeletti)

- ocamldoc, improved support for inline records
  (Florian Angeletti)

- ensure "ocamllex -ml" works with -safe-string
  (Hongbo Zhang)

- ocamldoc, add viewport metadata to generated html pages
  (Florian Angeletti, request by Daniel Bünzli)

- Make the output of ocamldep more stable
  (Alain Frisch)

- empty documentation comments
  (Florian Angeletti)

- Add the -no-version option to the toplevel
  (Sébastien Hinderer)

- Add a --strict option to ocamlyacc treat conflicts as errors
  (this option is now used for the compiler's parser)
  (Jeremy Yallop)

- make ocamldoc use -open arguments
  (Florian Angeletti)

- ocamldoc, fix order of extensible variant constructors
  (Florian Angeletti)

### Debugging and profiling:

- Spacetime, a new memory profiler (Mark Shinwell, Leo White)

### Runtime system:

- Add a new primitive caml_alloc_float_array to allocate an
  array of floats
  (Thomas Braibant)

### Manual and documentation:

- document the existence of OCAMLPARAM and
  ocaml_compiler_internal_params
  (Damien Doligez, reports by Wim Lewis and Gabriel Scherer)

- warn users against using WinZip to unpack the source archive
  (Damien Doligez, report by Shayne Fletcher)

- clarification to the wording and documentation
  of Warning 52 (fragile constant pattern)
  (Gabriel Scherer, William, Adrien Nader, Jacques Garrigue)

- Restore 4.02.3 behaviour of Unix.fstat, if the
  file descriptor doesn't wrap a regular file (win32unix only)
  (Andreas Hauptmann, review by David Allsopp)

- flatten : Avoid confusion
  (Damien Doligez, report by user 'tormen')

- Gc.finalise and lazy values
  (Jeremy Yallop)

- Document that [Store_field] must not be used to populate
  arrays of values declared using [CAMLlocalN] (Mark Shinwell)

### Build system:

- Compiler developers: Adding new primitives to the
  standard runtime doesn't require anymore to run `make bootstrap`
  (François Bobot)

- Fix compilation using old Microsoft C Compilers not
  supporting secure CRT functions (SDK Visual Studio 2005 compiler and
  earlier) and standard 64-bit integer literals (Visual Studio .NET
  2002 and earlier)
  (David Allsopp)

- More sharing between Unix and Windows makefiles
  (whitequark, review by Alain Frisch)

* Installed `ocamlc`, `ocamlopt`, and `ocamllex` are
  now the native-code versions of the tools, if those versions were
  built.
  (Demi Obenour)

- "./configure -safe-string" to get a system where
  "-unsafe-string" is not allowed, thus giving stronger non-local
  guarantees about immutability of strings
  (Alain Frisch, review by Hezekiah M. Carty)

### Bug fixes:

* Missed Type-error leads to a segfault upon record access.
  (Jacques Garrigue, extra report by Stephen Dolan)
  Proper fix required a more restrictive approach to recursive types:
  mutually recursive types are seen as abstract types (i.e. non-contractive)
  when checking the well-foundedness of the recursion.

* Nominal types and scope escaping.
  Revert to strict scope for non-generalizable type variables, cf. Mantis.
  Note that this is actually stricter than the behavior before 4.03,
  cf. , meaning that you may sometimes need to add type annotations
  to explicitly instantiate non-generalizable type variables.
  (Jacques Garrigue, following discussion with Jeremy Yallop,
   Nicolas Ojeda Bar and Alain Frisch)

- Aliased arguments ignored for equality of module types
  (Jacques Garrigue, report by Leo White)

- compiler forcing aliases it shouldn't while reporting type errors
  (Jacques Garrigue, report and suggestion by sliquister)

- document that Unix.SOCK_SEQPACKET is not really usable.

- uncaught exception on invalid lexer directive
  (Gabriel Scherer, report by KC Sivaramakrishnan using afl-fuzz)

- revert a 4.03 change of behavior on (Unix.sleep 0.),
  it now calls (nano)sleep for 0 seconds as in (< 4.03) versions.
  (Hannes Mehnert, review by Damien Doligez)

- GADT + subtyping compile time crash
  (Jacques Garrigue, report by Nicolas Ojeda Bar)

- Segfault from conjunctive constraints in GADT
  (Jacques Garrigue, report by Stephen Dolan)

- Support more than FD_SETSIZE sockets in Windows' emulation
  of select
  (David Scott, review by Alain Frisch)

* Prevent private inline records from being mutated
  (Alain Frisch, report by Pierre Chambart)

- Bug in mcomp_fields leads to segfault
  (Jacques Garrigue, report by Leo White)

- Relaxed value restriction broken with principal
  (Jacques Garrigue, report by Leo White)

- -strict-sequence turns off Warning 21
  (Jacques Garrigue, report by Valentin Gatien-Baron)

- remove access to OCaml heap inside blocking section in win32unix
  (David Allsopp, report by Andreas Hauptmann)

- remove access to OCaml heap inside blocking in Unix.sleep on Windows
  (David Allsopp)

- -principal causes loop in type checker when compiling
  (Jacques Garrigue, report by Anil Madhavapeddy, analysis by Leo White)

- Missing exhaustivity check for extensible variant
  (Jacques Garrigue, report by Elarnon *)

- Contractiveness check unsound with constraints
  (Jacques Garrigue, report by Leo White)

- GADT constructors can be re-exposed with an incompatible type
  (Jacques Garrigue, report by Alain Frisch)

- Unsoundness in GADT exhaustiveness with existential variables
  (Jacques Garrigue, report by Stephen Dolan)

* Thread library: fixed [Thread.wait_signal] so that it
  converts back the signal number returned by [sigwait] to an
  OS-independent number
  (Jérémie Dimino)

- (similar to ) ensure that register typing constraints are
  respected at N-way join points in the control flow graph
  (Mark Shinwell)

- Fix float_of_hex parser to correctly reject some invalid forms
  (Bogdan Ttroiu, review by Thomas Braibant and Alain Frisch)

- Fix maximum weak bucket size
  (Nicolas Ojeda Bar, review by François Bobot)

-  Allow more module aliases in strengthening (Leo White)

- Fix wrong code generation involving lazy values in Flambda
  mode
  (Mark Shinwell, review by Pierre Chambart and Alain Frisch)

- Fix infinite loop in flambda due to [@@specialise] annotations

- Building native runtime on Windows could fail when bootstrapping
  FlexDLL if there was also a system-installed flexlink
  (David Allsopp, report Michael Soegtrop)

- check for integer overflow in String.concat
  (Jeremy Yallop,
   review by Damien Doligez, Alain Frisch, Daniel Bünzli, Fabrice Le Fessant)

- check for integer overflow in Array.concat
  (Jeremy Yallop)

- fix the Buffer.add_substring bounds check to handle overflow
  (Jeremy Yallop)

- Fix [@@inline] with default parameters in flambda (Leo White)

- fix build on OpenIndiana
  (Sergey Avseyev, review by Damien Doligez)

### Internal/compiler-libs changes:

- Improve, fix, and add test for parsing/pprintast.ml
  (Runhang Li, David Sheets, Alain Frisch)

- make driver/pparse.ml functions type-safe
  (Gabriel Scherer, Dmitrii Kosarev, review by Jérémie Dimino)

- Improve Texp_record constructor representation, and
  propagate updated record type information
  (Pierre Chambart, review by Alain Frisch)

- Graphics.close_graph crashes 64-bit Windows ports (re-implementation
  of )
  (David Allsopp)

- delay registration of docstring after the mapper is applied
  (Hugo Heuzard, review by Leo White)

- don't attach (**/**) comments to any particular node
  (Thomas Refis, review by Leo White)

Revision 1.100 / (download) - annotate - [select for diffs], Fri Nov 4 22:55:58 2016 UTC (6 years, 10 months ago) by marino
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4
Changes since 1.99: +2 -2 lines
Diff to previous 1.99 (colored)

lang/ocaml: regenerate checksum for configure patch

distinfo from cvs:     trusted to convey hashes
patches from same cvs: untrusted thus require hashes to verify
absurdness: Any intruder that can modify the patch in cvs can also modify
            the distinfo file.

Only externally hosted patches require hashes.  Hopefully some day
thousands of future commits to distinfo files everywhere can be avoided by
making the framework smarter.  </rant>

Revision 1.99 / (download) - annotate - [select for diffs], Fri Jul 15 12:44:21 2016 UTC (7 years, 2 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2016Q3-base, pkgsrc-2016Q3
Changes since 1.98: +2 -2 lines
Diff to previous 1.98 (colored)

Fix build on 32-bit SunOS with 64-bit native assembler.

Revision 1.98 / (download) - annotate - [select for diffs], Wed Jul 13 15:01:42 2016 UTC (7 years, 2 months ago) by jperkin
Branch: MAIN
Changes since 1.97: +2 -2 lines
Diff to previous 1.97 (colored)

Don't use GNU ld flags on x86_64 SunOS.  Fixes various dependencies.

Bump PKGREVISION.

Revision 1.97 / (download) - annotate - [select for diffs], Wed Jul 13 13:36:01 2016 UTC (7 years, 2 months ago) by jperkin
Branch: MAIN
Changes since 1.96: +2 -2 lines
Diff to previous 1.96 (colored)

Fix build on 32-bit SunOS.

Revision 1.96 / (download) - annotate - [select for diffs], Thu Jul 7 12:15:36 2016 UTC (7 years, 2 months ago) by jperkin
Branch: MAIN
Changes since 1.95: +2 -2 lines
Diff to previous 1.95 (colored)

Use the GCC front-end for linking on SunOS, resolves issues with SSP
and passing incompatible ld arguments.  Bump PKGREVISION.

Revision 1.95 / (download) - annotate - [select for diffs], Wed Jul 6 14:19:51 2016 UTC (7 years, 2 months ago) by jperkin
Branch: MAIN
Changes since 1.94: +2 -1 lines
Diff to previous 1.94 (colored)

Fix _XOPEN_SOURCE failure on SunOS.

Revision 1.94 / (download) - annotate - [select for diffs], Thu May 5 08:12:01 2016 UTC (7 years, 4 months ago) by jaapb
Branch: MAIN
CVS Tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2
Changes since 1.93: +29 -35 lines
Diff to previous 1.93 (colored)

Updated package to latest version, 4.03.0. Also removed some obsolete and
unneeded patches.

The list of changes is a thousand lines long, so I'm not including it
here: details can be found in the Changes file in the top directory of the
package after extraction.

Revision 1.93 / (download) - annotate - [select for diffs], Mon Feb 29 13:53:58 2016 UTC (7 years, 6 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1
Changes since 1.92: +2 -2 lines
Diff to previous 1.92 (colored)

Support natdynlink on SunOS.  Bump PKGREVISION.

Revision 1.92 / (download) - annotate - [select for diffs], Tue Dec 29 23:34:52 2015 UTC (7 years, 8 months ago) by dholland
Branch: MAIN
Changes since 1.91: +33 -33 lines
Diff to previous 1.91 (colored)

Add patch comments.

Revision 1.91 / (download) - annotate - [select for diffs], Tue Nov 3 22:50:40 2015 UTC (7 years, 10 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.90: +2 -1 lines
Diff to previous 1.90 (colored)

Add SHA512 digests for distfiles for lang category

Problems found with existing digests:
	Package nhc98 distfile nhc98src-1.22.tar.gz
	a8adc8f22371998ee0657bc0e01058a57d876abc [recorded]
	81975fcb5f1dda5efeaabc30ce8c6dceae55e591 [calculated]

Problems found locating distfiles:
	Package gcc-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2
	Package ghc7: missing distfile ghc-7.6.3-boot-i386-unknown-freebsd.tar.xz
	Package icc11: missing distfile l_cproc_p_11.1.080.tgz
	Package jini: missing distfile jini-1_2_1_001-src.zip
	Package oo2c: missing distfile oo2c_32-2.0.11.tar.bz2
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz
	Package openjdk7: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz
	Package openjdk8: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2
	Package oracle-jdk8: missing distfile jdk-8u60-linux-i586.tar.gz
	Package oracle-jdk8: missing distfile jdk-8u60-solaris-x64.tar.gz
	Package oracle-jre8: missing distfile jre-8u60-linux-i586.tar.gz
	Package oracle-jre8: missing distfile jre-8u60-solaris-x64.tar.gz
	Package sun-jdk6: missing distfile jdk-6u45-linux-i586.bin
	Package sun-jdk6: missing distfile jdk-6u45-solaris-i586.sh
	Package sun-jdk7: missing distfile jdk-7u72-linux-i586.tar.gz
	Package sun-jdk7: missing distfile jdk-7u72-solaris-i586.tar.gz
	Package sun-jre6: missing distfile jce_policy-6.zip
	Package sun-jre6: missing distfile jre-6u45-linux-x64.bin
	Package sun-jre6: missing distfile jre-6u45-solaris-x64.sh
	Package sun-jre7: missing distfile jre-7u72-linux-i586.tar.gz
	Package sun-jre7: missing distfile jre-7u72-solaris-i586.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.

Revision 1.90 / (download) - annotate - [select for diffs], Tue Sep 8 18:54:41 2015 UTC (8 years ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3
Changes since 1.89: +2 -1 lines
Diff to previous 1.89 (colored)

Avoid UB of left-shift of negative values by replacing it with a
multiplication. Remove duplicate PKGREVISION. Bump revision.

Revision 1.89 / (download) - annotate - [select for diffs], Sat Aug 22 10:45:13 2015 UTC (8 years, 1 month ago) by jaapb
Branch: MAIN
Changes since 1.88: +2 -2 lines
Diff to previous 1.88 (colored)

Patch for OS X 32-bit ABI, as supplied by Mansour Moufid. See also
http://mail-index.netbsd.org/pkgsrc-users/2015/07/22/msg021910.html

Revision 1.88 / (download) - annotate - [select for diffs], Sun Aug 9 13:31:18 2015 UTC (8 years, 1 month ago) by jaapb
Branch: MAIN
Changes since 1.87: +2 -1 lines
Diff to previous 1.87 (colored)

Added patch for x11/ocaml-graphics. This does not change any functionality,
but is necessary for a Makefile substitution in that package.

Revision 1.87 / (download) - annotate - [select for diffs], Fri Aug 7 11:16:30 2015 UTC (8 years, 1 month ago) by jaapb
Branch: MAIN
Changes since 1.86: +6 -6 lines
Diff to previous 1.86 (colored)

This is an update of lang/ocaml to its latest version, 4.02.3. Changes
include:

Bug fixes:
- Top-level custom printing for GADTs: interface change in 4.02.2
  (Grégoire Henry, report by Jeremy Yallop)
- corrupted final_table (ygrek)
- R#6926: Regression: ocamldoc lost unattached comment
  (Damien Doligez, report by François Bobot)
- Aliased result type of GADT constructor results in assertion failure
  (Jacques Garrigue)

Feature wishes:
- PR#6691: install .cmt[i] files for stdlib and compiler-libs
  (David Sheets, request by Gabriel Radanne)
- New primitive: caml_alloc_dummy_function
  (Hugo Heuzard)

Revision 1.86 / (download) - annotate - [select for diffs], Sat Jul 4 09:29:47 2015 UTC (8 years, 2 months ago) by jaapb
Branch: MAIN
Changes since 1.85: +2 -2 lines
Diff to previous 1.85 (colored)

Removed a superfluous (and breakage-causing) -p from a patch. Thanks to
BulkTracker for pointing me to this bug.

Revision 1.85 / (download) - annotate - [select for diffs], Tue Jun 30 11:08:47 2015 UTC (8 years, 2 months ago) by jaapb
Branch: MAIN
Changes since 1.84: +16 -17 lines
Diff to previous 1.84 (colored)

Updated lang/ocaml to newest version 4.02.2. Changes apart from bugfixes
include:
- #6583: add a new class of binary operators with the same syntactic
  precedence as method calls; these operators start with # followed
  by a non-empty sequence of operator symbols (for instance #+, #!?).
  It is also possible to use '#' as part of these extra symbols
  (for instance ##, or #+#); this is rejected by the type-checker,
  but can be used e.g. by ppx rewriters.
* #6016: add a "nonrec" keyword for type declarations
- #6600: make -short-paths faster by building the printing map
  incrementally
- #6642: replace $CAMLORIGIN in -ccopt with the path to cma or cmxa
  to output an object file with included runtime and autolink libraries
- #6845: -no-check-prims to tell ocamlc not to check primitives in runtime
- G#149: Attach documentation comments to parse tree
- G#159: Better locations for structure/signature items
- #5958: generalized polymorphic #install_printer
- #6237: explicit "infer" tag to control or disable menhir --infer
- #6625: pass -linkpkg to files built with -output-obj.
- #6712: Ignore common VCS directories
- #6720: pass -g to C compilers when tag 'debug' is set
- #6733: add .byte.so and .native.so targets to pass
  -output-obj -cclib -shared.
- #6733: "runtime_variant(X)" to pass -runtime-variant X option.
- #6774: new menhir-specific flags "only_tokens" and "external_tokens(Foo)"
- #6285: Add support for nanosecond precision in Unix.stat()
- #6781: Add higher baud rates to Unix termios
- #6834: Add Obj.{first,last}_non_constant_constructor_tag
- #6078: Release the runtime system when calling caml_dlopen
- #6675: GC hooks
- #5418 (comments) : generate dependencies with $(CC) instead of gcc
- #6266: Cross compilation for iOs, Android etc
- Update instructions for x86-64 PIC mode and POWER architecture builds
- #6452, G#140: add internal suport for custom printing formats
- #6641: add -g, -ocamlcflags, -ocamloptflags options to ocamlmklib
- #6693: also build libasmrun_shared.so and lib{asm,caml}run_pic.a
- #6842: export Typemod.modtype_of_package
- G#139: more versatile specification of locations of .annot
- G#157: store the path of cmos inside debug section at link time
- G#191: Making gc.h and some part of memory.h public

Revision 1.84 / (download) - annotate - [select for diffs], Fri Apr 17 09:12:12 2015 UTC (8 years, 5 months ago) by jaapb
Branch: MAIN
CVS Tags: pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.83: +2 -2 lines
Diff to previous 1.83 (colored)

Extended gdt's i386 ucontext signal handler patch to amd64. This shouldn't
affect anything that isn't NetBSD/amd64.

Revision 1.83 / (download) - annotate - [select for diffs], Thu Apr 2 22:40:09 2015 UTC (8 years, 5 months ago) by tnn
Branch: MAIN
Changes since 1.82: +3 -2 lines
Diff to previous 1.82 (colored)

Avoid using the "3o" man page section, since plist-man.awk can't handle it.
Instead treat ocaml like we do with lang/perl5 and install the man pages in
the "3" section in /usr/pkg/lib/ocaml/man/man3.

Revision 1.82 / (download) - annotate - [select for diffs], Tue Mar 17 14:14:43 2015 UTC (8 years, 6 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1
Changes since 1.81: +2 -2 lines
Diff to previous 1.81 (colored)

Detect 64-bit SunOS.

Revision 1.81 / (download) - annotate - [select for diffs], Sat Mar 14 15:17:14 2015 UTC (8 years, 6 months ago) by gdt
Branch: MAIN
Changes since 1.80: +2 -2 lines
Diff to previous 1.80 (colored)

Fix i386 signal handler.

ocaml has a twisty maze of ifdefs to define signal handler types and
obtain the faulting address.  NetBSD no longer has sigcontext
(available to user space) and instead the more POSIXy ucontext; this
commit changes the patch to use that.

Fixes build on i386, and the resulting package can run unison.  In
theory !i386 is unchanged.

Revision 1.80 / (download) - annotate - [select for diffs], Mon Jan 26 14:46:51 2015 UTC (8 years, 8 months ago) by jaapb
Branch: MAIN
Changes since 1.79: +2 -2 lines
Diff to previous 1.79 (colored)

Added a patch that fixes signal handlers on i386.

Revision 1.79 / (download) - annotate - [select for diffs], Tue Jan 20 14:12:25 2015 UTC (8 years, 8 months ago) by jaapb
Branch: MAIN
Changes since 1.78: +16 -6 lines
Diff to previous 1.78 (colored)

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

Revision 1.78 / (download) - annotate - [select for diffs], Fri Nov 21 14:15:20 2014 UTC (8 years, 10 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4
Changes since 1.77: +2 -1 lines
Diff to previous 1.77 (colored)

ARM assembler glue needs either Thumb or ARMv6 with emulation for one
Thumb instruction. Go with FreeBSD and use the latter.

Revision 1.77 / (download) - annotate - [select for diffs], Mon Oct 13 13:24:45 2014 UTC (8 years, 11 months ago) by jaapb
Branch: MAIN
Changes since 1.76: +2 -1 lines
Diff to previous 1.76 (colored)

Extra patch - syntactical change only, but needed for x11/ocaml-graphics

Revision 1.76 / (download) - annotate - [select for diffs], Thu Oct 9 19:08:28 2014 UTC (8 years, 11 months ago) by jaapb
Branch: MAIN
Changes since 1.75: +21 -30 lines
Diff to previous 1.75 (colored)

Update to ocaml 4.02.0. Main changes (apart from ocamldoc and bugfixes, see
also upstream changelog):
Language features:
- Attributes and extension nodes
- Generative functors
- Module aliases
* Alternative syntax for string literals {id|...|id} (can break comments)
- Separation between read-only strings (type string) and read-write byte
  sequences (type bytes). Activated by command-line option -safe-string.
Build system for the OCaml distribution:
- Use -bin-annot when building.
- Use GNU make instead of portable makefiles.
- Updated build instructions for 32-bit Mac OS X on Intel hardware.
Shedding weight:
* Removed Camlp4 from the distribution, now available as third-party software.
* Removed Labltk from the distribution, now available as a third-party library.
Type system:
* Keep typing of pattern cases independent in principal mode
- Allow opening a first-class module or applying a generative functor
  in the body of a generative functor. Allow it also in the body of
  an applicative functor if no types are created
* Module aliases are now typed in a specific way, which remembers their
  identity. In particular this changes the signature inferred by
  "module type of"
- Slight change in the criterion to distinguish private
  abbreviations and private row types: create a private abbreviation for
  closed objects and fixed polymorphic variants.
* Compare first class module types structurally rather than
  nominally. Value subtyping allows module subtyping as long as the internal
  representation is unchanged.
Compilers:
- More aggressive constant propagation, including float and
  int32/int64/nativeint arithmetic.  Constant propagation for floats
  can be turned off with option -no-float-const-prop, for codes that
  change FP rounding modes at run-time.
- New back-end optimization pass: common subexpression elimination (CSE).
  (Reuses results of previous computations instead of recomputing them.)
- New back-end optimization pass: dead code elimination.
  (Removes arithmetic and load instructions whose results are unused.)
- Optimization of sequences of string patterns
- Experimental native code generator for AArch64 (ARM 64 bits)
- Optimization of integer division and modulus by constant divisors
- Add "-open" command line flag for opening a single module before typing
* "-o" now sets module name to the output file name up to the first "."
  (it also applies when "-o" is not given, i.e. the module name is then
   the input file name up to the first ".")
* better sharing of structured constants
- new flag to keep locations in cmi files
- issue warning 3 when referring to a value marked with
  the [@@ocaml.deprecated] attribute
- a new format implementation based on GADTs
* Constant exception constructors no longer allocate
- avoid unnecessary boxing in let
- Better compilation of optional arguments with default values
- ocamlopt -opaque option for incremental native compilation
Toplevel interactive system:
- New "#show_*" directives
Runtime system:
- New configure option "-no-naked-pointers" to improve performance by
  avoiding page table tests during block darkening and the marking phase
  of the major GC.  In this mode, all out-of-heap pointers must point at
  things that look like OCaml values: in particular they must have a valid
  header.  The colour of said headers should be black.
- Fixed bug in native code version of [caml_raise_with_string] that could
  potentially lead to heap corruption.
- Blocks initialized by [CAMLlocal*] and [caml_alloc] are now filled with
  [Val_unit] rather than zero.
- Fixed a major performance problem on large heaps (~1GB) by making heap
  increments proportional to heap size by default
- Structural equality treats exception specifically
- efficient comparison/indexing of exceptions
- avoid using unsafe C library functions (strcpy, strcat, sprintf)
- An ISO C99-compliant C compiler and standard library is now assumed.
  (Plus special exceptions for MSVC.)  In particular, emulation code for
  64-bit integer arithmetic was removed, the C compiler must support a
  64-bit integer type.
Standard library:
* Add new modules Bytes and BytesLabels for mutable byte sequences.
- add List.sort_uniq and Set.of_list
- a faster version of "raise" which does not maintain the backtrace
- support "Unix.kill pid Sys.sigkill" under Windows
- speed improvement for Buffer
- efficient creation of uninitialized float arrays
- Improve documentation regarding finalisers and multithreading
- Trigger warning 3 for all values marked as deprecated in the documentation.

Revision 1.75 / (download) - annotate - [select for diffs], Tue May 13 10:17:44 2014 UTC (9 years, 4 months ago) by jaapb
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.74: +3 -3 lines
Diff to previous 1.74 (colored)

Added comments to gethostbyname/addr patches

Revision 1.74 / (download) - annotate - [select for diffs], Sat Dec 21 16:21:20 2013 UTC (9 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4
Changes since 1.73: +3 -1 lines
Diff to previous 1.73 (colored)

fix gethostbyfoo_r lossage.

Revision 1.73 / (download) - annotate - [select for diffs], Mon Nov 4 16:39:32 2013 UTC (9 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.72: +2 -2 lines
Diff to previous 1.72 (colored)

Don't use -fno-defer-pop.

Revision 1.72 / (download) - annotate - [select for diffs], Fri Nov 1 10:47:50 2013 UTC (9 years, 10 months ago) by jaapb
Branch: MAIN
Changes since 1.71: +10 -10 lines
Diff to previous 1.71 (colored)

Update of lang/ocaml to its newest version, 4.01. Changes, apart from
bugfixes, include:

- Labltk: updated to Tcl/Tk 8.6.
Type system:
- use well-disciplined type information propagation to
  disambiguate label and constructor names
* Propagate type information towards pattern-matching, even in the presence of
  polymorphic variants (discarding only information about possibly-present
  constructors). As a result, matching against absent constructors is no longer
  allowed for exact and fixed polymorphic variant types.
* Reject multiple declarations of the same method or instance variable
  in an object
- raise an error when multiple private keywords are used in type
  declarations
- parsetree rewriter (-ppx flag)
- ocamldep now supports -absname
- On "unbound identifier" errors, use spell-checking to suggest names
  present in the environment
- ocamlc has a new option -dsource to visualize the parsetree
- tools/eqparsetree compares two parsetree ignoring location
- ocamlopt now uses clang as assembler on OS X if available, which enables
  CFI support for OS X.
- Added a new -short-paths option, which attempts to use the shortest
  representation for type constructors inside types, taking open modules
  into account. This can make types much more readable if your code
  uses lots of functors.
- added flag -compat-32 to ocamlc, ensuring that the generated
  bytecode executable can be loaded on 32-bit hosts.
- warning on open statements which shadow an existing
  identifier (if it is actually used in the scope of the open); new
  open! syntax to silence it locally
* warning 3 is extended to warn about other deprecated features:
  - ISO-latin1 characters in identifiers
  - uses of the (&) and (or) operators instead of (&&) and (||)
- Experimental OCAMLPARAM for ocamlc and ocamlopt
- incorrect ordinal number in error message
- add signature to Tstr_include
- expose a way to inspect the current call stack,
  Printexc.get_callstack
- new flag Marshal.Compat_32 for the serialization functions
  (Marshal.to_*), forcing the output to be readable on 32-bit hosts.
- infix application operators |> and @@ in Pervasives
- add O_CLOEXEC flag to Unix.openfile, so that the returned
  file descriptor is created in close-on-exec mode
* more efficient implementation of caml_modify() and caml_initialize().
  The new implementations are less lenient than the old ones: now,
  the destination pointer of caml_modify() must point within the minor or
  major heaps, and the destination pointer of caml_initialize() must
  point within the major heap.
- Moved debugger/envaux.ml to typing/envaux.ml to publish env_of_only_summary
  as part of compilerlibs, to be used on bin-annot files.
- The test suite can now be run without installing OCaml first.

Revision 1.71 / (download) - annotate - [select for diffs], Sun Oct 27 20:33:59 2013 UTC (9 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.70: +2 -2 lines
Diff to previous 1.70 (colored)

Don't force -fno-defer-pop.

Revision 1.70 / (download) - annotate - [select for diffs], Thu Mar 14 14:29:49 2013 UTC (10 years, 6 months ago) by is
Branch: MAIN
CVS Tags: pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1
Changes since 1.69: +2 -1 lines
Diff to previous 1.69 (colored)

ocamlmklib adds absolute directories (that is, such starting with
'/') given to -L to run-time library search path passed to the
lower linker using -Wl,-rpath=

This is a problem, because even if we add the right directory with
-Wl,-rpath= or variants thereof, the wrong path still is in the
RPATH on the resulting binary. This might lead to the wrong library
being found at run-time.

To build clean packages when using ocamlmklib, '-elfmode' will switch
this behaviour off; when using '-elfmode', all following -L parameters
won't augment the RPATH, and it has to be updated seperately with
-dllpath, -Wl,-rpath= etc.

(This is a local pkgsrc stopgap addition, needed to proceed with
fixes to xentools41. The issue has been raised with upstream;
hopefully this patch can be reverted with a future ocaml package
version.)

Revision 1.69 / (download) - annotate - [select for diffs], Mon Feb 18 16:29:28 2013 UTC (10 years, 7 months ago) by jaapb
Branch: MAIN
Changes since 1.68: +4 -5 lines
Diff to previous 1.68 (colored)

Removed the bytecomp_bytelink.ml patch, as suggested by degroote@ - it
isn't needed any longer and breaks some compilations. Also, changed some
patches to use the correct BSD_INSTALL variables for shared libraries, and
after discussion with adam@, I am taking over maintainership of this
package.

Revision 1.68 / (download) - annotate - [select for diffs], Fri Jan 25 14:49:38 2013 UTC (10 years, 8 months ago) by jperkin
Branch: MAIN
Changes since 1.67: +2 -2 lines
Diff to previous 1.67 (colored)

Fix build on 32-bit Solaris when the assembler is 64-bit by default.

Revision 1.67 / (download) - annotate - [select for diffs], Tue Dec 18 12:02:10 2012 UTC (10 years, 9 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.66: +2 -2 lines
Diff to previous 1.66 (colored)

Add support for 64-bit Solaris.

Revision 1.66 / (download) - annotate - [select for diffs], Tue Dec 4 13:55:23 2012 UTC (10 years, 9 months ago) by jaapb
Branch: MAIN
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored)

Updated patch to correct build failure.

Revision 1.65 / (download) - annotate - [select for diffs], Fri Oct 26 08:18:15 2012 UTC (10 years, 11 months ago) by jaapb
Branch: MAIN
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 (colored)

Updated patch-configure to correct a build failure on DragonFly BSD
(discussed with marino@)

Revision 1.64 / (download) - annotate - [select for diffs], Mon Oct 8 15:05:32 2012 UTC (10 years, 11 months ago) by jaapb
Branch: MAIN
Changes since 1.63: +31 -38 lines
Diff to previous 1.63 (colored)

Update to version 4.00.1. Renamed patches from two-letter system and added
comments.

Updated buildlink3.mk to default to a full dependency (more pertinent in most
cases; usually the standard library needs to be installed for an ocaml
program to run)

Changes from 3.12 to 4.00.1 include:
OCaml 4.00.1:
-------------
Various bug fixes.

OCaml 4.00.0:
-------------

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

- The official name of the language is now OCaml.

Language features:
- Added Generalized Algebraic Data Types (GADTs) to the language.
  See chapter "Language extensions" of the reference manual for documentation.
- It is now possible to omit type annotations when packing and unpacking
  first-class modules. The type-checker attempts to infer it from the context.
  Using the -principal option guarantees forward compatibility.
- New (module M) and (module M : S) syntax in patterns, for immediate
  unpacking of a first-class module.

Compilers:
- Revised simplification of let-alias (PR#5205, PR#5288)
- Better reporting of compiler version mismatch in .cmi files
* Warning 28 is now enabled by default.
- New option -absname to use absolute paths in error messages
- Optimize away compile-time beta-redexes, e.g. (fun x y -> e) a b.
- Added option -bin-annot to dump the AST with type annotations.
- Added lots of new warnings about unused variables, opens, fields,
  constructors, etc.
* New meaning for warning 7: it is now triggered when a method is overridden
  with the "method" keyword.  Use "method!" to avoid the warning.

Native-code compiler:
- Optimized handling of partially-applied functions (PR#5287)
- Small improvements in code generated for array bounds checks (PR#5345,
  PR#5360).
* New ARM backend (PR#5433):
    . Supports both Linux/EABI (armel) and Linux/EABI+VFPv3 (armhf).
    . Added support for the Thumb-2 instruction set with average code size
      savings of 28%.
    . Added support for position-independent code, natdynlink, profiling and
      exception backtraces.
- Generation of CFI information, and filename/line number debugging (with -g)
  annotations, enabling in particular precise stack backtraces with
  the gdb debugger. Currently supported for x86 32-bits and 64-bits only.
  (PR#5487)
- New tool: ocamloptp, the equivalent of ocamlcp for the native-code compiler.

OCamldoc:
- PR#5645: ocamldoc doesn't handle module/type substitution in signatures
- PR#5544: improve HTML output (less formatting in html code)
- PR#5522: allow refering to record fields and variant constructors
- fix PR#5419 (error message in french)
- fix PR#5535 (no cross ref to class after dump+load)
* Use first class modules for custom generators, to be able to
  load various plugins incrementally adding features to the current
  generator
* PR#5507: Use Location.t structures for locations.
- fix: do not keep code when not told to keep code.

Standard library:
- Added float functions "hypot" and "copysign" (PR#3806, PR#4752, PR#5246)
* Arg: options with empty doc strings are no longer included in the usage string
  (PR#5437)
- Array: faster implementations of "blit", "copy", "sub", "append" and "concat"
  (PR#2395, PR#2787, PR#4591)
* Hashtbl:
    . Statistically-better generic hash function based on Murmur 3 (PR#5225)
    . Fixed behavior of generic hash function w.r.t. -0.0 and NaN (PR#5222)
    . Added optional "random" parameter to Hashtbl.create to randomize
      collision patterns and improve security (PR#5572, CVE-2012-0839)
    . Added "randomize" function and "R" parameter to OCAMLRUNPARAM
      to turn randomization on by default (PR#5572, CVE-2012-0839)
    . Added new functorial interface "MakeSeeded" to support randomization
      with user-provided seeded hash functions.
    . Install new header <caml/hash.h> for C code.
- Filename: on-demand (lazy) initialization of the PRNG used by "temp_file".
- Marshal: marshalling of function values (flag Marshal.Closures) now
  also works for functions that come from dynamically-loaded modules (PR#5215)
- Random:
     . More random initialization (Random.self_init()), using /dev/urandom
       when available (e.g. Linux, FreeBSD, MacOS X, Solaris)
     * Faster implementation of Random.float (changes the generated sequences)
- Scanf: new function "unescaped" (PR#3888)
- Set and Map: more efficient implementation of "filter" and "partition"
- String: new function "map" (PR#3888)

Installation procedure:
- Compiler internals are now installed in `ocamlc -where`/compiler-libs.
  The files available there include the .cmi interfaces for all compiler
  modules, plus the following libraries:
      ocamlcommon.cma/.cmxa     modules common to ocamlc, ocamlopt, ocaml
      ocamlbytecomp.cma/.cmxa   modules for ocamlc and ocaml
      ocamloptcomp.cma/.cmxa    modules specific to ocamlopt

camltoplevel.cma         modules specific to ocaml
   (PR#1804, PR#4653, frequently-asked feature).
* Some .cmi for toplevel internals that used to be installed in
  `ocamlc -where` are now to be found in  `ocamlc -where`/compiler-libs.
  Add "-I +compiler-libs" where needed.
* toplevellib.cma is no longer installed because subsumed by
  ocamlcommon.cma ocamlbytecomp.cma ocamltoplevel.cma
- Added a configuration option (-with-debug-runtime) to compile and install
  a debug version of the runtime system, and a compiler option
  (-runtime-variant) to select the debug runtime.

and various bug fixes.

Revision 1.63 / (download) - annotate - [select for diffs], Sun Jun 24 08:27:31 2012 UTC (11 years, 3 months ago) by sbd
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored)

On Linux libieee can only appear once on the linker command line.

Revision 1.62 / (download) - annotate - [select for diffs], Fri Jun 22 11:39:45 2012 UTC (11 years, 3 months ago) by sbd
Branch: MAIN
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored)

When linking with X11 add an rpath to X11 libdir.

Bump PKGREVISION

Revision 1.61 / (download) - annotate - [select for diffs], Mon Mar 12 12:28:04 2012 UTC (11 years, 6 months ago) by fhajny
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

Fix SunOS linker/as args.

Revision 1.60 / (download) - annotate - [select for diffs], Sun Mar 4 09:06:46 2012 UTC (11 years, 6 months ago) by asau
Branch: MAIN
Changes since 1.59: +8 -9 lines
Diff to previous 1.59 (colored)

Update to O'Caml 3.12.1


Changes in Objective Caml 3.12.1:

Features:
- added '-ml-synonym' and '-mli-synonym' options to ocamldep
- added '-ocamldoc' option to ocamlbuild
- added possibility to add options to ocamlbuild
- added access to current camlp4 parsers and printers
- improved instruction selection for float operations on amd64
- stdlib: added a 'usage_string' function to Arg
- allow with constraints to add a type equation to a datatype definition
- ocamldoc: allow to merge '@before' tags like other ones
- ocamlbuild: allow dependency on file "_oasis"

Other changes:
- Changed default minor heap size from 32k to 256k words.
- Added new operation 'compare_ext' to custom blocks, called when
  comparing a custom block value with an unboxed integer.

Multiple bug fixes.

Revision 1.59 / (download) - annotate - [select for diffs], Sun Nov 27 19:46:00 2011 UTC (11 years, 10 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4
Changes since 1.58: +2 -1 lines
Diff to previous 1.58 (colored)

omake tries to link with the ocaml runtime directly. This fails as
libocamlrun.a has a curses dependency on NetBSD. Patch the linker
invocation to allow adding platform specific options.

Revision 1.58 / (download) - annotate - [select for diffs], Sun Nov 27 19:11:59 2011 UTC (11 years, 10 months ago) by marino
Branch: MAIN
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored)

lang/ocaml: Add DragonFly64, natdynload, and gprof support

Add support for x86_64-*-DragonFly
Add support for native dynamic loading on both platforms
Add support for profiling on both platforms
Add ability to detect X11 in pkgsrc.  This currently has no impact
because the makefile disables X11.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Aug 15 21:19:33 2011 UTC (12 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2011Q3-base, pkgsrc-2011Q3
Changes since 1.56: +3 -2 lines
Diff to previous 1.56 (colored)

Fix build with binutils-2.21. From Florian Walpen in PR 45246.

Revision 1.56 / (download) - annotate - [select for diffs], Tue Jul 26 21:00:24 2011 UTC (12 years, 2 months ago) by abs
Branch: MAIN
Changes since 1.55: +2 -2 lines
Diff to previous 1.55 (colored)

Fix native dynamic detection on amd64 - thanks riastradh@ for pointer

Revision 1.55 / (download) - annotate - [select for diffs], Wed Jul 20 14:10:09 2011 UTC (12 years, 2 months ago) by riastradh
Branch: MAIN
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored)

Enable native dynamic loading support on NetBSD/{i386,amd64}.

Bump pkgrevision.

While I'm here: add a comment to patch-at explaining what it does.

Tested by

$ make install
$ cd work/ocaml-3.12.0/testsuite && gmake one DIR=tests/lib-dynlink-native

(Not in a build-env because that uses the wrappers, which don't let the
test suite see the installed OCaml files.)

This is only a workaround on NetBSD/{i386,amd64} for the problems of
OCaml PR#5049 <http://caml.inria.fr/mantis/view.php?id=5049>.  (E.g.,
this workaround makes Coccinelle build on those platforms -- but it
still won't build on platforms with native compilation but no native
dynamic loading.  Need to hack everything that uses dynlink to have
four compile-time cases -- {yes,no} {byte,nat}dynlink.)

Revision 1.54 / (download) - annotate - [select for diffs], Tue Mar 29 13:45:02 2011 UTC (12 years, 6 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

Pass CFLAGS and LDFLAGS to the compiler (fixes problems e.g. on Mac OS X); pkglint clean-up

Revision 1.53 / (download) - annotate - [select for diffs], Sun Dec 19 08:27:17 2010 UTC (12 years, 9 months ago) by is
Branch: MAIN
CVS Tags: pkgsrc-2010Q4-base, pkgsrc-2010Q4
Changes since 1.52: +4 -2 lines
Diff to previous 1.52 (colored)

- Enable native compilation for arm.

- to do this, and make the result runnable on pre-thumb arm, change
  upstreams assembler snippets and stubs to use "mov pc,reg" instead
  of the return/call-to-thumb-friendly "bx reg", which is not available
  in non-thumb-enabled arm CPUs. Whether this is the way to go, or a
  seperate "armt" architecture for ocaml is needed, needs to be discussed
  with upstream.

Resulting compiler, when running its selftest suite, has 6 errors less than
the same on i386. Unison compiled natively with this passes its self-test.

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Sun Nov 28 14:31:54 2010 UTC (12 years, 10 months ago) by tron
Branch: pkgsrc-2010Q3
Changes since 1.51: +1 -1 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

Pullup ticket #3287 - requested by is
lang/ocaml: portability fix

Revisions pulled up:
- lang/ocaml/Makefile.common			1.27
- lang/ocaml/PLIST				1.23
- lang/ocaml/PLIST.opt				1.17
- lang/ocaml/distinfo				1.52
- lang/ocaml/patches/patch-aw			1.8
---
Module Name:	pkgsrc
Committed By:	is
Date:		Sun Nov 28 08:41:33 UTC 2010

Modified Files:
	pkgsrc/lang/ocaml: Makefile.common PLIST PLIST.opt distinfo
	pkgsrc/lang/ocaml/patches: patch-aw

Log Message:
Make this package work again on architectures where we don't compile
natively (that is, only to byte-code).

This consists of two parts:

a) a patch to ocamldoc/Makefile to make it create the man pages using
the interpreted ocamldoc - this exists for both types of architectures,
so is safe. (This will be sent up-stream).

b) move a common shared library file to the common PLIST, and a lot of
files (natively compiled versions of the ML modules and natively compiled
versions of a few binaries) to PLIST.opt.

This has been build-tested on i386 (cross-compiled from amd64) and on
arm. unison builds and works.

"make test" shows the same amount of passed and failed tests (mostly
non-found libraries) as before; but this needs more investigation.

An additional issue to solve (with upstream) is that there's no easy way
to run the part of the test suite that would work on byte-code-only
architectures.

Revision 1.52 / (download) - annotate - [select for diffs], Sun Nov 28 08:41:33 2010 UTC (12 years, 10 months ago) by is
Branch: MAIN
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored)

Make this package work again on architectures where we don't compile
natively (that is, only to byte-code).

This consists of two parts:

a) a patch to ocamldoc/Makefile to make it create the man pages using
the interpreted ocamldoc - this exists for both types of architectures,
so is safe. (This will be sent up-stream).

b) move a common shared library file to the common PLIST, and a lot of
files (natively compiled versions of the ML modules and natively compiled
versions of a few binaries) to PLIST.opt.

This has been build-tested on i386 (cross-compiled from amd64) and on
arm. unison builds and works.

"make test" shows the same amount of passed and failed tests (mostly
non-found libraries) as before; but this needs more investigation.

An additional issue to solve (with upstream) is that there's no easy way
to run the part of the test suite that would work on byte-code-only
architectures.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Aug 19 08:06:53 2010 UTC (13 years, 1 month ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2010Q3-base
Branch point for: pkgsrc-2010Q3
Changes since 1.50: +13 -14 lines
Diff to previous 1.50 (colored)

Update to O'Caml 3.12.0, add test target.

Some of the highlights in release 3.12 are:

  * Polymorphic recursion is supported, using explicit type
    declarations on the recursively-defined identifiers.
  * First-class modules: module expressions can be embedded as
    values of the core language, then manipulated like any other
    first-class value, then projected back to the module level.
  * New operator to modify a signature a posteriori: S with type
    t := tau denotes signature S where the t type component is
    removed and substituted by the type tau elsewhere.
  * New notations for record expressions and record patterns:
    { lbl } as shorthand for { lbl = lbl }, and { ...; _ } marks
    record patterns where some labels were intentionally omitted.
  * Local open let open ... in ... now supported by popular demand.
  * Type variables can be bound as type parameters to functions;
    such types are treated like abstract types within the
    function body, and like type variables (possibly generalized)
    outside.
  * The module type of construct enables to recover the module
    type of a given module.
  * Explicit method override using the method! keyword, with
    associated warnings and errors.

Revision 1.50 / (download) - annotate - [select for diffs], Wed Apr 21 23:08:49 2010 UTC (13 years, 5 months ago) by zafer
Branch: MAIN
CVS Tags: pkgsrc-2010Q2-base, pkgsrc-2010Q2
Changes since 1.49: +4 -5 lines
Diff to previous 1.49 (colored)

update ocaml to 3.11.2

Changelog:
Bug fixes:
- PR#4151: better documentation for min and max w.r.t. NaN
- PR#4421: ocamlbuild uses wrong compiler for C files
- PR#4710, PR#4720: ocamlbuild does not use properly configuration information
- PR#4750: under some Windows installations, high start-up times for Unix lib
- PR#4777: problem with scanf and CRLF
- PR#4783: ocamlmklib problem under Windows
- PR#4810: BSD problem with socket addresses, e.g. in Unix.getnameinfo
- PR#4813: issue with parsing of float literals by the GNU assembler
- PR#4816: problem with modules and private types
- PR#4818: missed opportunity for type-based optimization of bigarray accesses
- PR#4821: check for duplicate method names in classes
- PR#4823: build problem on Mac OS X
- PR#4836: spurious errors raised by Unix.single_write under Windows
- PR#4841, PR#4860, PR#4930: problem with ocamlopt -output-obj under Mac OS X
- PR#4847: C compiler error with ocamlc -output-obj under Win64
- PR#4856: ocamlbuild uses ocamlrun to execute a native plugin
- PR#4867, PR#4760: ocamlopt -shared fails on Mac OS X 64bit
- PR#4873: ocamlbuild ignores "thread" tag when building a custom toplevel
- PR#4890: ocamlbuild tries to use native plugin on bytecode-only arch
- PR#4896: ocamlbuild should always pass -I to tools for external libraries
- PR#4900: small bug triggering automatic compaction even if max_overhead = 1M
- PR#4902: bug in %.0F printf format
- PR#4910: problem with format concatenation
- PR#4922: ocamlbuild recompiles too many files
- PR#4923: missing \xff for scanf %S
- PR#4933: functors not handling private types correctly
- PR#4940: problem with end-of-line in DOS text mode, tentative fix
- PR#4953: problem compiling bytecode interpreter on ARM in Thumb mode.
- PR#4955: compiler crash when typing recursive type expression with constraint
- Module Printf: the simple conversion %F (without width indication) was not
           treated properly.
- Makefile: problem with cygwin, flexdll, and symbolic links
- Various build problems with ocamlbuild under Windows with msvc

Feature wishes:
- PR#9: (tentative implementation) make ocamldebug use #linenum annotations
- PR#123, PR#4477: custom exception printers
- PR#3456: Obj.double_field and Obj.set_double_field functions
- PR#4003: destination directory can be given to Filename.[open_]temp_file
- PR#4647: Buffer.blit function
- PR#4685: access to Filename.dir_sep
- PR#4703: support for debugging embedded applications
- PR#4723: "clear_rules" function to empty the set of ocamlbuild rules
- PR#4921: configure option to help cross-compilers

Revision 1.49 / (download) - annotate - [select for diffs], Thu Nov 19 03:05:57 2009 UTC (13 years, 10 months ago) by minskim
Branch: MAIN
CVS Tags: pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

Let ocaml's configure recognize 64-bit Darwin 10.

Revision 1.48 / (download) - annotate - [select for diffs], Sun Oct 18 12:47:53 2009 UTC (13 years, 11 months ago) by tonio
Branch: MAIN
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

Fix PR pkg/42190
Use #ifdef SIN6_LEN to know whether we have a 4.3 bsd or 4.4 bsd sockaddr
structure.

Revision 1.47 / (download) - annotate - [select for diffs], Tue Sep 22 20:19:30 2009 UTC (14 years ago) by tonio
Branch: MAIN
CVS Tags: pkgsrc-2009Q3-base, pkgsrc-2009Q3
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)

Fix build with db4 [PR pkg/42061]

Revision 1.46 / (download) - annotate - [select for diffs], Tue Sep 8 18:35:46 2009 UTC (14 years ago) by tonio
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

Fix x11/labltk for ocaml 3.11.1 [PR pkg/42017]

Revision 1.45 / (download) - annotate - [select for diffs], Mon Sep 7 21:48:13 2009 UTC (14 years ago) by tonio
Branch: MAIN
Changes since 1.44: +25 -27 lines
Diff to previous 1.44 (colored)

Update lang/ocaml to 3.11.1 [PR pkg/41695]

(Changes that can break existing programs are marked with a "*"  )
Language features:
- Addition of lazy patterns: "lazy <pat>" matches suspensions whose values,
  after forcing, match the pattern <pat>.
- Introduction of private abbreviation types "type t = private <type-expr>",
  for abstracting the actual manifest type in type abbreviations.
- Subtyping is now allowed between a private abbreviation and its definition,
  and between a polymorphic method and its monomorphic instance.

Compilers:
- The file name for a compilation unit should correspond to a valid
  identifier (Otherwise dynamic linking and other things can fail, and
  a warning is emitted.)
* Revised -output-obj: the output name must now be provided; its
  extension must be one of .o/.obj, .so/.dll, or .c for the
  bytecode compiler. The compilers can now produce a shared library
  (with all the needed -ccopts/-ccobjs options) directly.
- -dtypes renamed to -annot, records (in .annot files) which function calls
  are tail calls.
- All compiler error messages now include a file name and location, for
  better interaction with Emacs' compilation mode.
- Optimized compilation of "lazy e" when the argument "e" is
  already evaluated.
- Optimized compilation of equality tests with a variant constant constructor.
- The -dllib options recorded in libraries are no longer ignored when
  -use_runtime or -use_prims is used (unless -no_auto_link is
  explicitly used).
- Check that at most one of -pack, -a, -shared, -c, -output-obj is
  given on the command line.
- Optimized compilation of private types as regular manifest types
  (e.g. abbreviation to float, float array or record types with only
   float fields).

Native-code compiler:
- New port: Mac OS X / Intel in 64-bit mode (configure with -cc "gcc -m64").
- A new option "-shared" to produce a plugin that can be dynamically
  loaded with the native version of Dynlink.
- A new option "-nodynlink" to enable optimizations valid only for code
  that is never dynlinked (no-op except for AMD64).
- More aggressive unboxing of floats and boxed integers.
- Can select which assembler and asm options to use at configuration time.

Run-time system:
- New implementation of the page table describing the heap (two-level
  array in 32 bits, sparse hashtable in 64 bits), fixes issues with address
  space randomization on 64-bit OS (PR#4448).
- New "generational" API for registering global memory roots with the GC,
  enables faster scanning of global roots.
  (The functions are caml_*_generational_global_root in <caml/memory.h>.)
- New function "caml_raise_with_args" to raise an exception with several
  arguments from C.
- Changes in implementation of dynamic linking of C code:
  under Win32, use Alain Frisch's flexdll implementation of the dlopen
  API; under MacOSX, use dlopen API instead of MacOSX bundle API.
- Programs may now choose a first-fit allocation policy instead of
  the default next-fit.  First-fit reduces fragmentation but is
  slightly slower in some cases.

Standard library:
- Parsing library: new function "set_trace" to programmatically turn
  on or off the printing of a trace during parsing.
- Printexc library: new functions "print_backtrace" and "get_backtrace"
  to obtain a stack backtrace of the most recently raised exception.
  New function "record_backtrace" to turn the exception backtrace mechanism
  on or off from within a program.
- Scanf library: fine-tuning of meta format implementation;
  fscanf behaviour revisited: only one input buffer is allocated for any
  given input channel;
  the %n conversion does not count a lookahead character as read.

Other libraries:
- Dynlink: on some platforms, the Dynlink library is now available in
  native code. The boolean Dynlink.is_native allows the program to
  know whether it has been compiled in bytecode or in native code.
- Bigarrays: added "unsafe_get" and "unsafe_set"
  (non-bound-checking versions of "get" and "set").
- Bigarrays: removed limitation "array dimension < 2^31".
- Labltk: added support for TK 8.5.
- Num: added conversions between big_int and int32, nativeint, int64.
  More efficient implementation of Num.quo_num and Num.mod_num.
- Threads: improved efficiency of mutex and condition variable operations;
  improved interaction with Unix.fork (PR#4577).
- Unix: added getsockopt_error returning type Unix.error.
  Added support for TCP_NODELAY and IPV6_ONLY socket options.
- Win32 Unix: "select" now supports all kinds of file descriptors.
  Improved emulation of "lockf" (PR#4609).

Tools:
- ocamldebug now supported under Windows (MSVC and Mingw ports),
  but without the replay feature.  (Contributed by Dmitry Bely
  and Sylvain Le Gall at OCamlCore with support from Lexifi.)
- ocamldoc: new option -no-module-constraint-filter to include functions
  hidden by signature constraint in documentation.
- ocamlmklib and ocamldep.opt now available under Windows ports.
- ocamlmklib no longer supports the -implib option.
- ocamlnat: an experimental native toplevel (not built by default).

Camlp4:
* programs linked with camlp4lib.cma now also need dynlink.cma.

Revision 1.43.10.1 / (download) - annotate - [select for diffs], Thu Jan 22 11:40:54 2009 UTC (14 years, 8 months ago) by tron
Branch: pkgsrc-2008Q4
Changes since 1.43: +2 -1 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Pullup ticket #2649 - requested by he
ocaml: build fix for NetBSD/macppc

Revisons pulled up:
- lang/ocaml/Makefile			1.61
- lang/ocaml/distinfo			1.44
- lang/ocaml/patches/patch-bv		1.5
---
Module Name:	pkgsrc
Committed By:	he
Date:		Thu Jan 22 01:00:34 UTC 2009

Modified Files:
	pkgsrc/lang/ocaml: Makefile distinfo
Added Files:
	pkgsrc/lang/ocaml/patches: patch-bv

Log Message:
Add a patch so that this package builds for our powerpc ports
as well.  In this case, we fall into the SYS_elf branch together
with Linux, but we need a few other specifics to access registers
in the sigcontext.

Revision 1.44 / (download) - annotate - [select for diffs], Thu Jan 22 01:00:33 2009 UTC (14 years, 8 months ago) by he
Branch: MAIN
CVS Tags: pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1
Changes since 1.43: +2 -1 lines
Diff to previous 1.43 (colored)

Add a patch so that this package builds for our powerpc ports
as well.  In this case, we fall into the SYS_elf branch together
with Linux, but we need a few other specifics to access registers
in the sigcontext.

Revision 1.43 / (download) - annotate - [select for diffs], Fri Apr 25 07:13:39 2008 UTC (15 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2008Q4-base, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper, cube-native-xorg-base, cube-native-xorg
Branch point for: pkgsrc-2008Q4
Changes since 1.42: +4 -4 lines
Diff to previous 1.42 (colored)

Update to 3.10.2:

Objective Caml 3.10.2:
----------------------

Bug fixes:
- PR#1217 (partial) Typo in ocamldep man page
- PR#3952 (partial) ocamlopt: allocation problems on ARM
- PR#4339 (continued) ocamlopt: problems on HPPA
- PR#4455 str.mli not installed under Windows
- PR#4473 crash when accessing float array with polymorphic method
- PR#4480 runtime would not compile without gcc extensions
- PR#4481 wrong typing of exceptions with object arguments
- PR#4490 typo in error message
- Random crash on 32-bit when major_heap_increment >= 2^22
- Big performance bug in Weak hashtables
- Small bugs in the make-package-macosx script
- Bug in typing of polymorphic variants (reported on caml-list)

Revision 1.42 / (download) - annotate - [select for diffs], Tue Jan 29 01:05:13 2008 UTC (15 years, 8 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

Added x86_64-*-solaris to the list of supported platforms. This fixes
PR 37890.

Revision 1.41 / (download) - annotate - [select for diffs], Wed Jan 23 20:42:25 2008 UTC (15 years, 8 months ago) by adam
Branch: MAIN
Changes since 1.40: +6 -6 lines
Diff to previous 1.40 (colored)

Changes 3.10.1:
* Bug fixes
* New features:
  - made configure script work on PlayStation 3
  - ARM port: brought up-to-date for Debian 4.0 (Etch)
  - many other small changes and bugfixes in camlp4, ocamlbuild, labltk,
    emacs files

Revision 1.40 / (download) - annotate - [select for diffs], Thu Oct 4 05:19:16 2007 UTC (15 years, 11 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

Fix for PR#37051. Please test.

Revision 1.39 / (download) - annotate - [select for diffs], Fri Sep 14 15:34:09 2007 UTC (16 years ago) by adam
Branch: MAIN
Changes since 1.38: +17 -26 lines
Diff to previous 1.38 (colored)

Changes 3.10.0:
- New language features
- New tools
- Faster type-checking of functor applications.
- Referencing an interface compiled with -rectypes from a module
    not compiled with -rectypes is now an error.
- Revised the "fragile matching" warning.
- Print a stack backtrace on an uncaught exception.
- Stack overflow detection on MS Windows 32 bits.
- Stack overflow detection on MacOS X PPC and Intel.
- Intel/AMD 64 bits: generate position-independent code by default.
- Fixed bug involving -for-pack and missing .cmx files.
- Fixed bug causing duplication of literals.
- C/Caml interface functions take "char const *" arguments
  instead of "char *" when appropriate.
- Faster string comparisons (fast case if strings are ==).
- Other

Revision 1.38 / (download) - annotate - [select for diffs], Sat Jan 6 00:11:43 2007 UTC (16 years, 8 months ago) by dmcmahill
Branch: MAIN
CVS Tags: pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

In the configure script match sparc-*-solaris2 instead of sparc-*-solaris2.
since the former is what pkgsrc sets MACHINE_GNU_PLATFORM to.  This fixes
builds on the aformentioned systems.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Oct 3 21:06:25 2006 UTC (16 years, 11 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4
Changes since 1.36: +10 -10 lines
Diff to previous 1.36 (colored)

Changes 3.09.3:

Bug fixes:
- ocamldoc: -using modtype constraint to filter module elements displayed in doc
- ocamldoc: error in merging of top dependencies of modules
- ocamldoc: -dot-colors has no effect
- ocamdloc: missing crossref in text from intro files
- compilers: segfault with recursive modules
- compilers: infinite loop when compiling objects
- compilers: bad error message when signature mismatch
- compilers: infinite loop with -rectypes
- compilers: contravariance bug in private rows
- compilers: unsafe cast with polymorphic exception
- native compiler: bad assembly code generated for AMD64
- native compiler: stack alignment problems on MacOSX/i386
- stdlib: crash in marshalling
- stdlib: crash when closing a channel twice
- stdlib: memory leak in Sys.readdir
- C interface: better definition of CAMLreturn
- otherlibs/unix: crash in gethostbyname
- tools: subtle problem with unset in makefile
- camlp4: install pa_o_fast.o
- camlp4: install more modules

New features:
- ocamldoc: name resolution in cross-referencing {!name}: if name is not
    found, then it is searched in the parent module/class, and in the parent
    of the parent, and so on until it is found.
- ocamldoc: new option -short-functors to use a short form to display
    functors in html generator
- ocamlprof: added "-version" option

Revision 1.36 / (download) - annotate - [select for diffs], Sun Apr 30 17:03:20 2006 UTC (17 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

Add back a patch fragment which got lost during the update.
Bump revision, since the thread support was not built on DragonFly.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Apr 25 04:58:32 2006 UTC (17 years, 5 months ago) by hiramatsu
Branch: MAIN
Changes since 1.34: +5 -5 lines
Diff to previous 1.34 (colored)

Update lang/ocaml to 3.09.2.

Changes from 3.09.1:
----
Bug fixes:
- Makefile: problem with "make world.opt"
- compilers: problem compiling several modules with one command line
- compilers,ocamldoc: error message that Emacs cannot parse
- compilers: crash when printing type error
- compilers: -dtypes wrong for monomorphic type variables
- compilers: wrong warning on optional arguments
- compilers: crash when wrong use of type constructor in let rec
- compilers: better wording of "statement never returns" warning
- runtime: inefficiency of signal handling
- runtime: crashes with I/O in multithread programs
- camlp4: empty file name in error messages
- camlp4: stack overflow
- otherlibs/labltk: ocamlbrowser ignores its command line options
- otherlibs/unix: Unix.times wrong under Mac OS X
- otherlibs/unix: wrong doc for execvp and execvpe
- otherlibs/win32unix: random crash in Unix.stat
- stdlib: update_mod not found under Windows
- stdlib: Filename.dirname/basename wrong on Win32
- stdlib: incomplete documentation of Pervasives.abs
- stdlib: Printf bugs
- tools/checkstack.c missing include
- yacc: crash when given argument "-"

New features:
- ported to MacOS X on Intel
- configure: added support for GNU Hurd

Revision 1.34 / (download) - annotate - [select for diffs], Thu Feb 2 20:47:26 2006 UTC (17 years, 7 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

Added support for dynamic loading on NetBSD. Bumped PKGREVISION.
Fixed almost all pkglint -Wall warnings.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Jan 16 09:41:48 2006 UTC (17 years, 8 months ago) by adam
Branch: MAIN
Changes since 1.32: +17 -17 lines
Diff to previous 1.32 (colored)

Changes 3.09.1:

* Bug fixes
* New features:
- otherlibs/labltk: browser uses menu bars instead of menu buttons


Changes 3.09.0:

Language features:
- Introduction of private row types, for abstracting the row in object
  and variant types.

Type checking:
- Polymorphic variants with at most one constructor [< `A of t] are no
  longer systematically promoted to the exact type [`A of t]. This was
  more confusing than useful, and created problems with private row
  types.

Native-code compiler (ocamlopt):
* Revised implementation of the -pack option (packing of several compilation
  units into one).  The .cmx files that are to be packed with
  "ocamlopt -pack -o P.cmx" must be compiled with "ocamlopt -for-pack P".
  In exchange for this additional constraint, ocamlopt -pack is now
  available on all platforms (no need for binutils).
* Fixed wrong evaluation order for arguments to certain inlined functions.

* Other (see 'Changes')

Revision 1.32 / (download) - annotate - [select for diffs], Thu Dec 22 14:37:17 2005 UTC (17 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

DragonFly needs the stublib PLIST fragment as well. Bump revision.
Fix another place where a ocaml script is installed with
BSD_INSTALL_PROGRAM, which doesn't work on DragonFly, since strip
bails out.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Nov 29 07:02:47 2005 UTC (17 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.30: +4 -3 lines
Diff to previous 1.30 (colored)

- add DragonFly cases for configure
- assume !WIN32 ~= ANSI C for the purpose of errno.h
- ocamldoc is not an ELF binary, use BSD_INSTALL_SCRIPT like for ocamlc

Revision 1.30 / (download) - annotate - [select for diffs], Sun Sep 4 13:57:50 2005 UTC (18 years ago) by tonio
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3
Changes since 1.29: +5 -5 lines
Diff to previous 1.29 (colored)

Updating lang/ocaml to 3.08.4 (PR 31128)

This is mainly a bug fix release, fixing code generation under amd64 and some
OO compilation problems, among many others

approved by adam@

Revision 1.29 / (download) - annotate - [select for diffs], Tue Jun 7 00:59:48 2005 UTC (18 years, 3 months ago) by minskim
Branch: MAIN
CVS Tags: pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.28: +3 -2 lines
Diff to previous 1.28 (colored)

Make ocaml build with pkgsrc bdb.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Mar 26 16:20:35 2005 UTC (18 years, 6 months ago) by adam
Branch: MAIN
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored)

New maintainer, new distfile

Revision 1.27 / (download) - annotate - [select for diffs], Thu Mar 24 11:32:50 2005 UTC (18 years, 6 months ago) by adam
Branch: MAIN
Changes since 1.26: +18 -17 lines
Diff to previous 1.26 (colored)

Changes 3.08.3:
New features:
- support for ocamlopt -pack under Mac OS X (PR#2634, PR#3320)
- ignore unknown warning options for forward and backward compatibility
- runtime: export caml_compare_unordered (PR#3479)
- camlp4: install argl.* files (PR#3439)
- ocamldoc: add -man-section option
- labltk: add the "solid" relief option (PR#3343)
- compiler: ocamlc -i now prints variance annotations

Bug fixes:
- typing: fix unsoundness in type declaration variance inference.
    Type parameters which are constrained must now have an explicit variant
    annotation, otherwise they are invariant. This is not backward
    compatible, so this might break code which either uses subtyping or
    uses the relaxed value restriction (i.e. was not typable before 3.07)
- typing: erroneous partial match warning for polymorphic variants (PR#3424)
- runtime: handle the case of an empty command line (PR#3409, PR#3444)
- stdlib: make Sys.executable_name an absolute path in native code (PR#3303)
- runtime: fix memory leak in finalise.c
- runtime: auto-trigger compaction even if gc is called manually (PR#3392)
- stdlib: fix segfault in Obj.dup on zero-sized values (PR#3406)
- camlp4: correct parsing of the $ identifier (PR#3310, PR#3469)
- windows (MS tools): use link /lib instead of lib (PR#3333)
- windows (MS tools): change default install destination
- autoconf: better checking of SSE2 instructions (PR#3329, PR#3330)
- graphics: make close_graph close the X display as well as the window (PR#3312)
- num: fix big_int_of_string (empty string) (PR#3483)
- num: fix big bug on 64-bit architecture (PR#3299)
- str: better documentation of string_match and string_partial_match (PR#3395)
- unix: fix file descriptor leak in Unix.accept (PR#3423)
- unix: miscellaneous clean-ups
- unix: fix documentation of Unix.tm (PR#3341)
- graphics: fix problem when allocating lots of images under Windows (PR#3433)
- compiler: fix error message with -pack when .cmi is missing (PR#3028)
- cygwin: fix problem with compilation of camlheader (PR#3485)
- stdlib: Filename.basename doesn't return an empty string any more (PR#3451)
- stdlib: better documentation of Open_excl flag (PR#3450)
- ocamlcp: accept -thread option (PR#3511)
- ocamldep: handle spaces in file names (PR#3370)
- compiler: remove spurious warning in pattern-matching on variants (PR#3424)
- windows: better handling of InterpreterPath registry entry (PR#3334, PR#3432)

Revision 1.26 / (download) - annotate - [select for diffs], Thu Feb 24 09:03:09 2005 UTC (18 years, 7 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1
Changes since 1.25: +2 -1 lines
Diff to previous 1.25 (colored)

Add RMD160 digests

Revision 1.25 / (download) - annotate - [select for diffs], Sun Feb 6 15:25:35 2005 UTC (18 years, 7 months ago) by adrianp
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

- Fix for patch-ah on Darwin, problem spotted by Antoine Reilles in
  private email.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Feb 5 00:49:34 2005 UTC (18 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

Edit down patch-ah so it does not include an RCS Id.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Feb 5 00:26:18 2005 UTC (18 years, 7 months ago) by adrianp
Branch: MAIN
Changes since 1.22: +1 -1 lines
Diff to previous 1.22 (colored)

fix broken patch from last update - ride the recent update

Revision 1.22 / (download) - annotate - [select for diffs], Sat Feb 5 00:04:20 2005 UTC (18 years, 7 months ago) by adrianp
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

fix broken patch from last update - ride the recent update

Revision 1.21 / (download) - annotate - [select for diffs], Fri Feb 4 21:35:51 2005 UTC (18 years, 7 months ago) by adrianp
Branch: MAIN
Changes since 1.20: +31 -35 lines
Diff to previous 1.20 (colored)

- Update from 3.06 to 3.08.2
- Lots of changes/bugfixes - see Changes for all the details

Revision 1.20 / (download) - annotate - [select for diffs], Mon Jan 24 21:18:16 2005 UTC (18 years, 8 months ago) by tv
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Recognize Interix as a valid platform.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jan 19 17:43:59 2005 UTC (18 years, 8 months ago) by tv
Branch: MAIN
Changes since 1.18: +1 -2 lines
Diff to previous 1.18 (colored)

Override config.guess and config.sub manually, since GNU_CONFIGURE is not
correct here (and thus automatic overriding doesn't work).

Revision 1.18 / (download) - annotate - [select for diffs], Fri Dec 24 17:16:04 2004 UTC (18 years, 9 months ago) by jmmv
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Do not depend on Tk nor X11.  Two new packages will be added to provide
the missing bits, namely labltk and ocaml-graphics, respectively.  To
simplify this, add a Makefile.common.  Bump PKGREVISION to 8.

Per discussion with wiz@ a while ago.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Apr 23 03:06:02 2004 UTC (19 years, 5 months ago) by danw
Branch: MAIN
CVS Tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4, pkgsrc-2004Q3-base, pkgsrc-2004Q3, pkgsrc-2004Q2-base, pkgsrc-2004Q2
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

de-fuzz

Revision 1.16 / (download) - annotate - [select for diffs], Thu Apr 22 09:27:49 2004 UTC (19 years, 5 months ago) by tron
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Fix patch problem caused by embedded CVS Id.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Apr 22 09:18:36 2004 UTC (19 years, 5 months ago) by tron
Branch: MAIN
Changes since 1.14: +46 -15 lines
Diff to previous 1.14 (colored)

Fix various issues with this package:
- split patches files
- always enable threading which has various advantages
  - it fixes the build of the Tk library
  - it greatly simplifies the package list handling
  - it provides threading support under NetBSD 1.6/1.6.x
- correct default dependence in "buildlink2.mk" to "build"
Bump package revision because of all these changes.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Mar 4 06:27:45 2004 UTC (19 years, 6 months ago) by minskim
Branch: MAIN
CVS Tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.13: +3 -1 lines
Diff to previous 1.13 (colored)

Make ocalm build with tk-8.4.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jul 11 08:24:41 2003 UTC (20 years, 2 months ago) by jtb
Branch: MAIN
CVS Tags: pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Regen.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jul 11 07:47:44 2003 UTC (20 years, 2 months ago) by jtb
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Remove unnecessary register store in the profiling prologue.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jul 10 12:28:55 2003 UTC (20 years, 2 months ago) by jtb
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Missed change of .mcount to __mcount in PROFILE_C.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jul 10 07:44:01 2003 UTC (20 years, 2 months ago) by jtb
Branch: MAIN
Changes since 1.9: +6 -3 lines
Diff to previous 1.9 (colored)

* Add support for the profiler on powerpc
* Fix i386 profiling. NetBSD calls __mcount while FreeBSD calls .mcount

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jun 29 23:04:18 2003 UTC (20 years, 3 months ago) by jtb
Branch: MAIN
Changes since 1.8: +7 -4 lines
Diff to previous 1.8 (colored)

* Use ".L" instead of "L" as label prefix on sparc
* For consistency use SYS_bsd for system type
  on powerpc.  We differ from SYS_elf (presumably Linux) on
  a few points here anyway.
* Fix signal handling on powerpc which caused a
  seg fault when compiling native code version of coq.
* Install ocamllex.opt, camlp4o.opt and camlp4r.opt too.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jun 23 20:15:17 2003 UTC (20 years, 3 months ago) by jtb
Branch: MAIN
Changes since 1.7: +5 -1 lines
Diff to previous 1.7 (colored)

Enable native code compilers on powerpc and sparc.
Bump PKGREVISION.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Apr 19 00:16:58 2003 UTC (20 years, 5 months ago) by jschauma
Branch: MAIN
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)

Use BSD_INSTALL_* rather than 'mkdir' and 'cp' to install the files, so that
it's not a problem if root has a more stringent umask.  Bump PKGREVISION.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Aug 22 02:56:51 2002 UTC (21 years, 1 month ago) by jschauma
Branch: MAIN
CVS Tags: netbsd-1-6-1-base, netbsd-1-6-1
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

Update lang/ocaml to 3.06, using patch supplied by Martin Weber
(ephaeton at gmx dot net) in PR pkg/18023.  Besten Dank!

Changes from 3.04 to 3.05 (abbreviated list, full list available at
http://caml.inria.fr/archives/200207/msg00558.html):
 Language features:
	- Support for polymorphic methods and record fields.
	- Allows _ separators in integer and float literals, e.g. 1_000_000.
 Type-checker:
	- Fixed subtle typing bug with higher-order functors.
	- Fixed several complexity problems;
	- Fixed various bugs with objects and polymorphic variants.
 Bytecode compiler:
	- Fixed issue with ocamlc.opt and dynamic linking.
 Native-code compiler:
	- Fixed GC bug related to constant constructors of polymorphic variant types.
	- Fixed compilation bug for top-level "include" statements.
 Toplevel interactive system:
	- ocamlmktop: minimized possibility of name clashes with user-provided modules.
 Run-time system:
	- Better support for lazy data in the garbage collector.
	- Support for float formats that are neither big-endian nor little-endian
	- Fixed bug in callback*_exn functions in the exception-catching case.
 Standard library:
	- Protect against integer overflow in sub-string and sub-array bound checks.
	- New module Complex implementing arithmetic over complex numbers.
	- New module Scanf implementing format-based scanning a la scanf() in C.
	- various fixes and enhancements to existing modules
 Tools:
	- ocamldoc part of distribution
	- Debugger: now supports the option -I +dir.
	- ocamllex: supports the same identifiers as ocamlc;

Changes from 3.05 to 3.06:
 Type-checking:
 - Apply value restriction to polymorphic record fields.
Run-time system:
 - Fixed GC bug affecting lazy values.
Both compilers:
 - Added option "-version" to print just the version number.
 - Fixed wrong dependencies in .cmi generated with the -pack option.
Native-code compiler:
 - Fixed wrong return value for inline bigarray assignments.
Libraries:
 - Unix.getsockopt: make sure result is a valid boolean.
Tools:
 - ocamlbrowser: improved error reporting;

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Sun Jun 23 18:50:36 2002 UTC (21 years, 3 months ago) by jlam
Branch: buildlink2
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Merge from pkgsrc-current to buildlink2 branch.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jun 19 02:23:42 2002 UTC (21 years, 3 months ago) by jschauma
Branch: MAIN
CVS Tags: pkgviews-base, pkgviews, netbsd-1-6-RELEASE-base, netbsd-1-6, buildlink2-base
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

Actually doing the commit:
> Update to version 3.04 based on patches submitted in PR#16896 by
> Marko Schuetz (MarcoSchuetz at web dot de) with minor modification by
> me, closing that PR.

(Pointed out by Takahiro Kambe)

Revision 1.4 / (download) - annotate - [select for diffs], Wed Mar 13 08:37:52 2002 UTC (21 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: netbsd-1-5-PATCH003
Branch point for: buildlink2
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

Add powerpc/macppc support

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jul 15 14:43:35 2001 UTC (22 years, 2 months ago) by wulf
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

Updated ocaml to version 3.01: Bugfix release

Revision 1.2 / (download) - annotate - [select for diffs], Thu Apr 19 15:00:55 2001 UTC (22 years, 5 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-1-5-PATCH001
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 (colored)

Move to sha1 digests, and add distfile sizes.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Apr 17 11:31:41 2001 UTC (22 years, 5 months ago) by agc
Branch: MAIN

+ move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>