[med-svn] [Git][med-team/mcl][master] OCaml headers are not compatible with c89, so change to c99
Shayan Doust
gitlab at salsa.debian.org
Tue Jun 2 17:11:58 BST 2020
Shayan Doust pushed to branch master at Debian Med / mcl
Commits:
886bf705 by Shayan Doust at 2020-06-02T17:11:30+01:00
OCaml headers are not compatible with c89, so change to c99
- - - - -
1 changed file:
- debian/patches/OCamlSupport.patch
Changes:
=====================================
debian/patches/OCamlSupport.patch
=====================================
@@ -21,7 +21,7 @@ Last-Update: 2020-06-02
+ Path: caml
+ BuildTools: ocamlbuild
+ CSources: caml_mcl.c
-+ CCOpt: -fPIC -std=c89
++ CCOpt: -fPIC -std=c99
+ Modules: Mcl
--- /dev/null
+++ mcl/caml/META
@@ -59,7 +59,7 @@ Last-Update: 2020-06-02
+ if (caml_mcl_initialized)
+ return;
+
-+ srandom(mcxSeed(315));
++ srand(mcxSeed(315));
+ mclx_app_init(NULL);
+ caml_mcl_initialized = 1;
+}
@@ -800,7 +800,7 @@ Last-Update: 2020-06-02
+ (["oasis_library_mcl_ccopt"; "compile"],
+ [
+ (OASISExpr.EBool true,
-+ S [A "-ccopt"; A "-fPIC"; A "-ccopt"; A "-std=c89"])
++ S [A "-ccopt"; A "-fPIC"; A "-ccopt"; A "-std=c99"])
+ ])
+ ];
+ includes = []
@@ -7545,7 +7545,7 @@ Last-Update: 2020-06-02
+ bs_c_sources = ["caml_mcl.c"];
+ bs_data_files = [];
+ bs_ccopt =
-+ [(OASISExpr.EBool true, ["-fPIC"; "-std=c89"])];
++ [(OASISExpr.EBool true, ["-fPIC"; "-std=c99"])];
+ bs_cclib = [(OASISExpr.EBool true, [])];
+ bs_dlllib = [(OASISExpr.EBool true, [])];
+ bs_dllpath = [(OASISExpr.EBool true, [])];
View it on GitLab: https://salsa.debian.org/med-team/mcl/-/commit/886bf70577f9c41ceadac08be5c8888463dcd496
--
View it on GitLab: https://salsa.debian.org/med-team/mcl/-/commit/886bf70577f9c41ceadac08be5c8888463dcd496
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200602/f781d2a9/attachment-0001.html>
More information about the debian-med-commit
mailing list