1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-19 09:15:30 +03:00
aports/testing/ocamlclean/bump-magic.patch
omni bfaf49912e testing/ocamlclean: upgrade to 2.2
add archs supported by ocaml 4.12.0
2021-04-02 21:48:41 +00:00

15 lines
424 B
Diff

Bump magic_str to that of Ocaml 4.12
https://github.com/ocaml/ocaml/blob/trunk/utils/HACKING.adoc
https://github.com/ocaml/ocaml/blob/4.12/utils/config.mlp
--- a/src/index.ml
+++ b/src/index.ml
@@ -15,7 +15,7 @@ type section = Code | Dlpt | Dlls | Prim
type t = (section * int * int) list
-let magic_str = "Caml1999X023"
+let magic_str = "Caml1999X029"
let parse ic =
let magic_size = String.length magic_str in