dev-ml/reason: backport upstream fix for latest utop
authorAlexis Ballier <aballier@gentoo.org>
Tue, 30 May 2017 18:08:02 +0000 (20:08 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Tue, 30 May 2017 18:08:29 +0000 (20:08 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.2

dev-ml/reason/files/utop.patch [new file with mode: 0644]
dev-ml/reason/reason-1.13.5.ebuild

diff --git a/dev-ml/reason/files/utop.patch b/dev-ml/reason/files/utop.patch
new file mode 100644 (file)
index 0000000..dc3c61e
--- /dev/null
@@ -0,0 +1,17 @@
+commit a8cfc8636ac2ab3292156d0038d54af730a59007
+Author: Cristiano Calcagno <cristianoc@fb.com>
+Date:   Tue May 30 16:23:57 2017 +0200
+
+    Fix utop compilation
+
+diff --git a/_tags b/_tags
+index ac43e8d..788a36e 100644
+--- a/_tags
++++ b/_tags
+@@ -1,5 +1,6 @@
+ true: warn(@5@8@10@11@12@14@23-24@26@29@40), bin_annot, safe_string, debug
+ 
++<src/reason_utop.ml>: thread
+ <editorSupport/**>: -traverse
+ <node_modules/**>: -traverse
+ <bspacks/**>: -traverse
index 1ef34e4b334ff380ba435c145eaf5f986439d0f0..bdb8d838039a2593a61dc88e4d1abe8a273bfb3a 100644 (file)
@@ -27,6 +27,8 @@ DEPEND="${DEPEND}
        dev-ml/ocamlbuild
        dev-ml/opam"
 
+PATCHES=( "${FILESDIR}/utop.patch" )
+
 src_compile() {
        emake precompile
        emake build