git: 74f378c11947 - main - devel/ocaml-lwt: make `Lwt_ssl' module -safe-string-compatible
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 01 Feb 2022 08:34:52 UTC
The branch main has been updated by danfe:
URL: https://cgit.FreeBSD.org/ports/commit/?id=74f378c119479c35bc54e9f5338d59d9365dd27e
commit 74f378c119479c35bc54e9f5338d59d9365dd27e
Author: Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2022-02-01 08:33:14 +0000
Commit: Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2022-02-01 08:33:14 +0000
devel/ocaml-lwt: make `Lwt_ssl' module -safe-string-compatible
This is required for upcoming OCaml 4.06+ transition. Assume port
maintainership for the time being.
Obtained from: https://github.com/ocsigen/lwt_ssl/commit/cbab478
---
devel/ocaml-lwt/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/devel/ocaml-lwt/Makefile b/devel/ocaml-lwt/Makefile
index 1ffff1aca7d3..f3d5d0785b23 100644
--- a/devel/ocaml-lwt/Makefile
+++ b/devel/ocaml-lwt/Makefile
@@ -5,7 +5,7 @@ PORTVERSION= 2.5.2
CATEGORIES= devel
PKGNAMEPREFIX= ocaml-
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= danfe@FreeBSD.org
COMMENT= Cooperative threading library for OCaml
LICENSE= LGPL21
@@ -55,6 +55,8 @@ post-patch:
; s,else Unix\.socketpair ,&?cloexec:None,' \
${WRKSRC}/src/unix/lwt_unix.ml \
${WRKSRC}/src/unix/lwt_unix.mli
+ @${REINPLACE_CMD} -e 's,socket -> string,socket -> bytes,' \
+ ${WRKSRC}/src/ssl/lwt_ssl.mli
do-configure:
cd ${WRKSRC}; ocaml setup.ml -configure ${CONFIGURE_ARGS}