Date: Thu, 7 Apr 2022 14:00:24 GMT From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 69c0109b3e72 - main - net-p2p/mldonkey: force unsafe strings to unbreak against modern OCaml. Message-ID: <202204071400.237E0Obv067466@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@' \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204071400.237E0Obv067466>