git: 69c0109b3e72 - main - net-p2p/mldonkey: force unsafe strings to unbreak against modern OCaml.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 07 Apr 2022 14:00:24 UTC
The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=69c0109b3e720f1be123618a1f9d1649e24040e8 commit 69c0109b3e720f1be123618a1f9d1649e24040e8 Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2022-04-07 13:59:40 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2022-04-07 13:59:40 +0000 net-p2p/mldonkey: force unsafe strings to unbreak against modern OCaml. --- net-p2p/mldonkey/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net-p2p/mldonkey/Makefile b/net-p2p/mldonkey/Makefile index c34bea2599d6..6f3e08010452 100644 --- a/net-p2p/mldonkey/Makefile +++ b/net-p2p/mldonkey/Makefile @@ -106,9 +106,11 @@ post-patch: ${WRKDIR}/wrapper.sh @${REINPLACE_CMD} \ -e 's|$$OCAMLLIB/$$LABLGTK_NAME|$$OCAMLLIB/site-lib/$$LABLGTK_NAME|' \ + -e 's|^DEVFLAGS=|&-unsafe-string|' \ ${WRKSRC}/config/configure @${REINPLACE_CMD} \ -e 's|+labl|+site-lib/labl|' \ + -e '/BITSTRING/s|OCAMLC)|& -unsafe-string|' \ ${WRKSRC}/config/Makefile.in @${REINPLACE_CMD} -E \ -e 's@(#include <)(lablgtk2/)@\1site-lib/\2@' \