Bug 270342 - net/unison: Update to 2.53.2
Summary: net/unison: Update to 2.53.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Guido Falsi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-19 16:11 UTC by Guido Falsi
Modified: 2023-03-25 09:36 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Falsi freebsd_committer freebsd_triage 2023-03-19 16:11:20 UTC
I'm filing this myself to track the fact that net/unison cannot be upgraded at present due to the ocaml compiler in the ports tree being very outdated.

I'm not attaching a patch here, but I have the update half done. Unluckily ocaml compiler version 4.07 is unable to compile it, since the sources now depend on features available only starting from version 4.08.
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-03-25 09:32:01 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=456b04dab70da764581356d5c10c6c18aa31bff9

commit 456b04dab70da764581356d5c10c6c18aa31bff9
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2023-03-25 09:31:13 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2023-03-25 09:31:13 +0000

    net/unison: Update to 2.53.2

    - Use portfmt(1)

    Many thanks to Tõivo Leedjärv <toivol@gmail.com> (upstream developer)
    for providing a patch the allows compiling unison using ocaml 4.07
    present in the ports tree.

    Upstream development requires version 4.08 minimum at present.

    PR:             270342

 net/unison/Makefile                            |  44 ++--
 net/unison/distinfo                            |   6 +-
 net/unison/files/patch-Makefile.OCaml          |  38 +---
 net/unison/files/patch-ocaml_4.07-compat (new) | 303 +++++++++++++++++++++++++
 4 files changed, 335 insertions(+), 56 deletions(-)
Comment 2 Guido Falsi freebsd_committer freebsd_triage 2023-03-25 09:36:03 UTC
Thanks to a patch provided by upstream developer Tõivo Leedjärv to allow compiling using an older ocaml compiler I was able to commit this update.