summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-02-14 10:35:37 +0100
committerAlexis Ballier <aballier@gentoo.org>2017-02-14 10:35:37 +0100
commit986a8aa3a3f412a8f03bd1bad99f5af8387c6392 (patch)
tree41be0859c0dd1c266c1c5a4c305d39a7d7a375cc /dev-ml/ocamlgraph
parentdev-lang/ocaml: remove old (diff)
downloadgentoo-986a8aa3a3f412a8f03bd1bad99f5af8387c6392.tar.gz
gentoo-986a8aa3a3f412a8f03bd1bad99f5af8387c6392.tar.bz2
gentoo-986a8aa3a3f412a8f03bd1bad99f5af8387c6392.zip
dev-ml/ocamlgraph: Apply upstream patch to fix make check with ocaml 4.04. Bug #608554.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-ml/ocamlgraph')
-rw-r--r--dev-ml/ocamlgraph/files/ocamlgraph-1.8.7-test.patch19
-rw-r--r--dev-ml/ocamlgraph/ocamlgraph-1.8.7.ebuild1
2 files changed, 20 insertions, 0 deletions
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
index 000000000000..f0d370cfd94a
--- /dev/null
+++ b/dev-ml/ocamlgraph/files/ocamlgraph-1.8.7-test.patch
@@ -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
diff --git a/dev-ml/ocamlgraph/ocamlgraph-1.8.7.ebuild b/dev-ml/ocamlgraph/ocamlgraph-1.8.7.ebuild
index 3cbbd5a4bf24..1f4cef1a8b8c 100644
--- a/dev-ml/ocamlgraph/ocamlgraph-1.8.7.ebuild
+++ b/dev-ml/ocamlgraph/ocamlgraph-1.8.7.ebuild
@@ -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() {