commit: 986a8aa3a3f412a8f03bd1bad99f5af8387c6392 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> AuthorDate: Tue Feb 14 09:35:37 2017 +0000 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> CommitDate: Tue Feb 14 09:35:37 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=986a8aa3
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 dev-ml/ocamlgraph/files/ocamlgraph-1.8.7-test.patch | 19 +++++++++++++++++++ dev-ml/ocamlgraph/ocamlgraph-1.8.7.ebuild | 1 + 2 files changed, 20 insertions(+) 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 0000000000..f0d370cfd9 --- /dev/null +++ b/dev-ml/ocamlgraph/files/ocamlgraph-1.8.7-test.patch @@ -0,0 +1,19 @@ +commit 726e8d6e31224eb70f75655579da9a374e910b98 +Author: Jean-Christophe Filliatre <[email protected]> +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 3cbbd5a4bf..1f4cef1a8b 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() {
