Created attachment 254278 [details] 0001-devel-ocaml-magic-Strip-binaries.patch Hello, The attached patch strips binaries installed by devel/ocaml-magic. While at it, it patches the C stubs to use the CAML_NAME_SPACE identifiers, as the support for the legacy identifiers has been dropped from OCaml 5. Cheers,
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=88b3e57d14fb0ca185e2600f7c55b835b1ecddea commit 88b3e57d14fb0ca185e2600f7c55b835b1ecddea Author: Benjamin Jacobs <freebsd@dev.thsi.be> AuthorDate: 2024-06-09 12:04:01 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2024-10-21 11:30:43 +0000 devel/ocaml-magic: Strip binaries While at it, patch to use the CAML_NAME_SPACE identifiers of the OCaml C-API, as the support for the legacy identifiers has been dropped from OCaml 5. PR: 282123 devel/ocaml-magic/Makefile | 6 +- .../files/patch-src_magic__stubs.c (new) | 114 +++++++++++++++++++++ 2 files changed, 119 insertions(+), 1 deletion(-)