Bug 282123 - devel/ocaml-magic: Strip binaries
Summary: devel/ocaml-magic: Strip binaries
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: Li-Wen Hsu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-15 21:42 UTC by Benjamin Jacobs
Modified: 2024-10-21 11:32 UTC (History)
1 user (show)

See Also:


Attachments
0001-devel-ocaml-magic-Strip-binaries.patch (5.86 KB, patch)
2024-10-15 21:42 UTC, Benjamin Jacobs
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)