[Bug 276945] net/unison24*: Incompatibility with OCaml 4.12 and above.

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 10 Feb 2024 18:23:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276945

            Bug ID: 276945
           Summary: net/unison24*: Incompatibility with OCaml 4.12 and
                    above.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: freebsd@dev.thsi.be

Created attachment 248310
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=248310&action=edit
0001-net-unison24-Ocaml-4.12-compat-and-MAKE_JOBS_UNSAFE.patch

With the 4.12 release of the OCaml compiler, the pre-4.00 (insecure) universal
hash function has been removed. Unison upstream fixed that issue by importing
the older hash implementation verbatim in their tree, most probably to avoid a
breaking change in the catalog format.

The attached patch essentially backports that change. This will be required by
an upcoming OCaml update.

While there, unison248 is marked as MAKE_JOBS_UNSAFE, as otherwise the build
may fail.

Tested on CURRENT/amd64.

-- 
You are receiving this mail because:
You are the assignee for the bug.