From: Stephane Glondu Date: Mon, 17 Jun 2024 08:11:37 +0200 Subject: Fix build with OCaml 5.x --- setup.ml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/setup.ml b/setup.ml index 4b0d4b4..d465c8f 100644 --- a/setup.ml +++ b/setup.ml @@ -1793,7 +1793,7 @@ module OASISFeatures = struct Map.Make (struct type t = plugin_kind * name - let compare = Pervasives.compare + let compare = Stdlib.compare end) module Data = @@ -3486,7 +3486,7 @@ module BaseEnv = struct ([], None) (List.sort (fun (o1, _) (o2, _) -> - Pervasives.compare o2 o1) + Stdlib.compare o2 o1) lst) in match res, errors with @@ -6515,6 +6515,8 @@ module OCamlbuildCommon = struct let fix_args args extra_argv = List.flatten [ + ["-pkg"; "camlp-streams"]; + if (os_type ()) = "Win32" then [ "-classic-display";