Skip to content

Commit

Permalink
dev-ml/ocamlgraph: Apply upstream patch to fix make check with ocaml …
Browse files Browse the repository at this point in the history
…4.04. Bug #608554.

Package-Manager: Portage-2.3.3, Repoman-2.3.1
  • Loading branch information
aballier committed Feb 14, 2017
1 parent 2775476 commit 986a8aa
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions dev-ml/ocamlgraph/files/ocamlgraph-1.8.7-test.patch
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions dev-ml/ocamlgraph/ocamlgraph-1.8.7.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 986a8aa

Please sign in to comment.