commit: f9390e7bd0a22915b500149a32c4964e6e40a23f
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 11 19:07:22 2025 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Mar 11 19:08:03 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9390e7b
dev-ml/facile: build with ocaml-5 too
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ml/facile/facile-1.1.4.ebuild | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/dev-ml/facile/facile-1.1.4.ebuild
b/dev-ml/facile/facile-1.1.4.ebuild
index 41a016660704..43e94e694256 100644
--- a/dev-ml/facile/facile-1.1.4.ebuild
+++ b/dev-ml/facile/facile-1.1.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -19,3 +19,15 @@ RDEPEND=">=dev-lang/ocaml-4:=[ocamlopt?]"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}"/${P}-dune.patch )
+
+src_prepare() {
+ default
+ sed -i \
+ -e "s:Pervasives:Stdlib:g" \
+ lib/fcl_misc.ml \
+ lib/fcl_cstr.ml \
+ lib/fcl_fdArray.ml \
+ lib/fcl_nonlinear.ml \
+ lib/fcl_sorting.ml \
+ || die
+}