dev-ml/labltk: fix build until dev-lang/ocaml:4.12

Closes: https://bugs.gentoo.org/795246
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2021-07-14 22:53:26 +02:00
parent 9b6ba78458
commit 121fe1ef2a
2 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
diff -urNp labltk-8.06.10-orig/browser/typecheck.ml labltk-8.06.10-dwok/browser/typecheck.ml
--- labltk-8.06.10-orig/browser/typecheck.ml 2020-08-25 07:50:47.000000000 +0200
+++ labltk-8.06.10-dwok/browser/typecheck.ml 2021-02-26 01:55:00.000000000 +0100
@@ -116,7 +116,7 @@ let f txt =
List.iter psl ~f:
begin function
Ptop_def pstr ->
- let str, sign, _names, env' = Typemod.type_structure !env pstr in
+ let str, sign, _names, env' = Typemod.type_structure !env pstr Location.none in
txt.structure <- txt.structure @ str.str_items;
txt.signature <- txt.signature @ sign;
env := env'

View File

@@ -22,6 +22,7 @@ DEPEND="${RDEPEND}
PATCHES=(
"${FILESDIR}/findlib.patch"
"${FILESDIR}"/${P}-this-expression-has-type.patch
)
src_configure() {