Skip to content

Commit 7772d16

Browse files
authored
Merge pull request ocaml#23416 from thvnx/mlmpfr-4.1.1-update
mlmpfr: make 4.1.1 version compatible with 4.2.0
2 parents 81c1bff + a3e53ce commit 7772d16

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

packages/mlmpfr/mlmpfr.4.1.1/files/mlmpfr_compatibility_test.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,9 @@ int main(int argc, char **argv)
1212
if(strcmp(subversion, "4.1.1") == 0)
1313
return 0;
1414

15+
// Version 4.1.1 is also compatible with 4.2.0
16+
if(strcmp(subversion, "4.2.0") == 0)
17+
return 0;
18+
1519
return 1;
1620
}

packages/mlmpfr/mlmpfr.4.1.1/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ The package provides bindings for MPFR-4.1.1.
3131
You need to have MPFR-4.1.1 installed on your system. See opam info mlmpfr for
3232
all available versions."""
3333
extra-files: ["mlmpfr_compatibility_test.c"
34-
"md5=e0072684415485936f3eb158a86fe38c"]
34+
"md5=672af9ba23d8bea8a9d65081c3b64dc1"]

0 commit comments

Comments
 (0)