Bug 282123

Summary: devel/ocaml-magic: Strip binaries
Product: Ports & Packages Reporter: Benjamin Jacobs <freebsd>
Component: Individual Port(s)Assignee: Li-Wen Hsu <lwhsu>
Status: Closed FIXED    
Severity: Affects Only Me CC: lwhsu
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
0001-devel-ocaml-magic-Strip-binaries.patch none

Description Benjamin Jacobs 2024-10-15 21:42:36 UTC
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,
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-10-21 11:32:12 UTC
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(-)