diff --git a/sci-mathematics/why3-for-spark/files/why3-for-spark-2023.12.13-yojson3.patch b/sci-mathematics/why3-for-spark/files/why3-for-spark-2023.12.13-yojson3.patch new file mode 100644 index 0000000000000..20cf270fd014d --- /dev/null +++ b/sci-mathematics/why3-for-spark/files/why3-for-spark-2023.12.13-yojson3.patch @@ -0,0 +1,11 @@ +--- a/plugins/gnat_json/gnat_ast_to_ptree.ml 2026-02-19 17:43:53.213295946 +0100 ++++ b/plugins/gnat_json/gnat_ast_to_ptree.ml 2026-02-19 17:44:30.607845873 +0100 +@@ -1389,7 +1389,7 @@ + close_out out_channel + + let read_channel env path filename c = +- let json = Yojson.Safe.from_channel c in ++ let json = (Yojson.Safe.from_channel c :> Gnat_ast.From_json.t) in + let gnat_file = + let open Gnat_ast in + try From_json.file_from_json json diff --git a/sci-mathematics/why3-for-spark/why3-for-spark-2023.12.13-r2.ebuild b/sci-mathematics/why3-for-spark/why3-for-spark-2023.12.13-r2.ebuild index 17e2b84cbc8bd..60b3e58deeca0 100644 --- a/sci-mathematics/why3-for-spark/why3-for-spark-2023.12.13-r2.ebuild +++ b/sci-mathematics/why3-for-spark/why3-for-spark-2023.12.13-r2.ebuild @@ -25,7 +25,7 @@ RDEPEND=" dev-ml/num:=[ocamlopt?] dev-ml/re:=[ocamlopt?] dev-ml/yojson:= - coq? ( <=sci-mathematics/coq-8.18 ) + coq? (