Bug 250408 - lang/ocaml - update to 4.11.1
Summary: lang/ocaml - update to 4.11.1
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2020-10-16 21:29 UTC by break19
Modified: 2020-10-21 21:05 UTC (History)
6 users (show)

See Also:
bugzilla: maintainer-feedback? (michipili)
break19: maintainer-feedback+

patch1/2 for asm (384 bytes, patch)
2020-10-16 21:29 UTC, break19
break19: maintainer-approval?
Details | Diff
patch 2/2 for asm (947 bytes, patch)
2020-10-16 21:30 UTC, break19
break19: maintainer-approval?
Details | Diff
Makefile patch (2.91 KB, patch)
2020-10-16 21:31 UTC, break19
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description break19 2020-10-16 21:29:40 UTC
Created attachment 218814 [details]
patch1/2 for asm

Updating to the latest ocaml release seems to be fairly straightforward.

Hacked at the Makefile a bit to remove stuff that isn't needed for compiling at least on my system, as well as references to postscript documentation that does not exist.

Also modified the asm patch for clang11 and made it reflect the new file locations.
Comment 1 break19 2020-10-16 21:30:20 UTC
Created attachment 218815 [details]
patch 2/2 for asm
Comment 2 break19 2020-10-16 21:31:57 UTC
Created attachment 218816 [details]
Makefile patch

This is simply a diff for the port Makefile, showing what was changed there to allow it to compile and install on my amd64, 13-CURRENT
Comment 3 break19 2020-10-19 00:35:43 UTC
It appears I made an error when creating the patches, one of the .rodata should be 16, not 8.

However, it appears that ocaml has adding this on their end in trunk and will be in the next release. See this now-merged Pull Request: https://github.com/ocaml/ocaml/pull/9981
Comment 4 Fernando Apesteguía freebsd_committer 2020-10-19 14:25:54 UTC
^Triage: If there is a changelog or release notes URL available for this version, please add it to the URL field.