dev-ml/ocamlgraph: Apply upstream patch to fix make check with ocaml 4.04. Bug #608554.
authorAlexis Ballier <aballier@gentoo.org>
Tue, 14 Feb 2017 09:35:37 +0000 (10:35 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Tue, 14 Feb 2017 09:35:37 +0000 (10:35 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

dev-ml/ocamlgraph/files/ocamlgraph-1.8.7-test.patch [new file with mode: 0644]
dev-ml/ocamlgraph/ocamlgraph-1.8.7.ebuild

diff --git a/dev-ml/ocamlgraph/files/ocamlgraph-1.8.7-test.patch b/dev-ml/ocamlgraph/files/ocamlgraph-1.8.7-test.patch
new file mode 100644 (file)
index 0000000..f0d370c
--- /dev/null
@@ -0,0 +1,19 @@
+commit 726e8d6e31224eb70f75655579da9a374e910b98
+Author: Jean-Christophe Filliatre <Jean-Christophe.Filliatre@lri.fr>
+Date:   Mon Feb 13 08:41:58 2017 +0100
+
+    fixed 'make check'
+
+diff --git a/Makefile.in b/Makefile.in
+index 58b9e9c..9ce40df 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -360,7 +360,7 @@ bin/testunix.opt: $(CMXA) myTest/testunix.ml
+       $(OCAMLOPT) -unsafe -inline 100 -o $@ unix.cmxa $^
+ check: $(CMA) tests/check.ml bin/test-ts
+-      ocaml $(CMA) tests/test_clique.ml tests/check.ml
++      ocaml -I . $(CMA) tests/test_clique.ml tests/check.ml
+       bin/test-ts 10
+ # Additional rules
index 3cbbd5a4bf24e7aa12bc07159b25d223b715f50d..1f4cef1a8b8cf5393bf2e95ffbef79f7110811fd 100644 (file)
@@ -20,6 +20,7 @@ IUSE="doc examples gtk +ocamlopt"
 
 src_prepare() {
        epatch "${FILESDIR}/${PN}-1.8.6-installfindlib.patch"
+       epatch "${FILESDIR}/${P}-test.patch"
 }
 
 src_compile() {