Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Sep 2021 09:17:59 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: 3d7479aec9ae - main - devel/ocaml-ulex: unbreak against immutable strings in OCaml 4.06+.
Message-ID:  <202109080917.1889Hxlo086310@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3d7479aec9ae41c81a004045cfb0d22eed433a49

commit 3d7479aec9ae41c81a004045cfb0d22eed433a49
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2021-09-08 09:16:52 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2021-09-08 09:16:53 +0000

    devel/ocaml-ulex: unbreak against immutable strings in OCaml 4.06+.
---
 devel/ocaml-ulex/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/devel/ocaml-ulex/Makefile b/devel/ocaml-ulex/Makefile
index dc4a6bb54026..327fae0ad7c9 100644
--- a/devel/ocaml-ulex/Makefile
+++ b/devel/ocaml-ulex/Makefile
@@ -29,6 +29,10 @@ OPTIONS_DEFINE=	DOCS
 
 DOCS_ALL_TARGET=	doc
 
+post-patch:
+	@${REINPLACE_CMD} -e '/^let latin1_sub_lexeme/,+3 \
+		s,^  s,  Bytes.to_string s,' ${WRKSRC}/ulexing.ml
+
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/*.html ${WRKSRC}/*.css ${STAGEDIR}${DOCSDIR}


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109080917.1889Hxlo086310>