summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-02-23 09:04:53 +0100
committerAlexis Ballier <aballier@gentoo.org>2017-02-23 10:15:49 +0100
commita1985ce68bf3a5cdcf72cf3f000ecdafcd0acd5e (patch)
treeb3bfcd6319bce04bb7d138ddecfd20e0e0cbedbc /dev-ml/mtime/files
parentdev-ml/gen_js_api: Add proper subslot (diff)
downloadgentoo-a1985ce68bf3a5cdcf72cf3f000ecdafcd0acd5e.tar.gz
gentoo-a1985ce68bf3a5cdcf72cf3f000ecdafcd0acd5e.tar.bz2
gentoo-a1985ce68bf3a5cdcf72cf3f000ecdafcd0acd5e.zip
dev-ml/mtime: Initial import. Ebuild by me.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-ml/mtime/files')
-rw-r--r--dev-ml/mtime/files/firstinstall.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-ml/mtime/files/firstinstall.patch b/dev-ml/mtime/files/firstinstall.patch
new file mode 100644
index 000000000000..4a7ca696021c
--- /dev/null
+++ b/dev-ml/mtime/files/firstinstall.patch
@@ -0,0 +1,13 @@
+Index: mtime-0.8.4/myocamlbuild.ml
+===================================================================
+--- mtime-0.8.4.orig/myocamlbuild.ml
++++ mtime-0.8.4/myocamlbuild.ml
+@@ -34,7 +34,7 @@ let () =
+ flag ["library"; "ocaml"; "byte"; "record_mtime_os_stubs"]
+ (S ([A "-dllib"; A "-lmtime_stubs"] @ system_support_lib));
+ flag ["library"; "ocaml"; (* byte and native *) "record_mtime_os_stubs"]
+- (S ([A "-cclib"; A "-lmtime_stubs"] @ system_support_lib));
++ (S ([A "-cclib"; A "-Lsrc-os"; A "-cclib"; A "-lmtime_stubs"] @ system_support_lib));
+
+ ocaml_lib ~tag_name:"use_mtime_os" ~dir:"src-os" "src-os/mtime";
+ flag ["link"; "ocaml"; "use_mtime_os"] (S [A "-ccopt"; A "-Lsrc-os"]);