diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-10-08 23:06:07 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-10-08 23:06:07 +0100 |
commit | e23a08d0c97a0cc415aaa165da840b056f93c997 (patch) | |
tree | 4c5f7db60483518201fef36f8cc0712789a08db2 /dev-ml/ppxlib/files | |
parent | 391b5b359a346aff490103da7dddc85047f83830 (diff) |
gentoo resync : 08.10.2021
Diffstat (limited to 'dev-ml/ppxlib/files')
-rw-r--r-- | dev-ml/ppxlib/files/ppxlib-0.23.0-fix-ocaml-4.13.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-ml/ppxlib/files/ppxlib-0.23.0-fix-ocaml-4.13.patch b/dev-ml/ppxlib/files/ppxlib-0.23.0-fix-ocaml-4.13.patch new file mode 100644 index 000000000000..00bf6dc0e4cc --- /dev/null +++ b/dev-ml/ppxlib/files/ppxlib-0.23.0-fix-ocaml-4.13.patch @@ -0,0 +1,23 @@ +https://github.com/ocaml-ppx/ppxlib/commit/ce371cfb4c2ad712cd8e9b803bbf4ef650aa5e72 + +From: Sonja Heinze <sonjaleaheinze@gmail.com> +Date: Fri, 10 Sep 2021 16:08:22 +0200 +Subject: [PATCH] Make our expect-test version compatible with 4.13 compiler + +The Warnings.parse_options function was returning a unit on older compilers +and is returning an alert option now, but under the hood it still has the +same side-effects. + +Signed-off-by: Sonja Heinze <sonjaleaheinze@gmail.com> +--- a/test/expect/expect_test.ml ++++ b/test/expect/expect_test.ml +@@ -63,7 +63,7 @@ let main () = + setup_printers ppf; + Topfind.log := ignore; + +- Warnings.parse_options false "@a-4-29-40-41-42-44-45-48-58"; ++ let _ = Warnings.parse_options false "@a-4-29-40-41-42-44-45-48-58" in + Clflags.real_paths := false; + Toploop.initialize_toplevel_env (); + + |