Skip to content

Commit

Permalink
dev-ml/dose3: fix build with latest extlib.
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.20.1
  • Loading branch information
aballier committed Sep 14, 2015
1 parent 2e2b12b commit 2d3422f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dev-ml/dose3/dose3-3.3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

EAPI=5

inherit eutils

MY_P="${P/_beta/-beta}"
DESCRIPTION="Library and a collection of tools to perform la large spectrum of analysis on package repositories"
HOMEPAGE="http://dose.gforge.inria.fr/public_html/"
Expand Down Expand Up @@ -39,6 +41,7 @@ S="${WORKDIR}/${MY_P}"

src_prepare() {
sed -e 's/INSTALLOPTS=-s/INSTALLOPTS=/' -i Makefile.config.in || die
has_version '>=dev-ml/extlib-1.7' && epatch "${FILESDIR}/extlib.patch"
}

src_configure() {
Expand Down
12 changes: 12 additions & 0 deletions dev-ml/dose3/files/extlib.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Index: dose3-3.3/doseparse/stdOptions.ml
===================================================================
--- dose3-3.3.orig/doseparse/stdOptions.ml
+++ dose3-3.3/doseparse/stdOptions.ml
@@ -20,6 +20,7 @@ include Util.Logging(struct let label =
module type Ot = sig
val options :
?usage:string ->
+ ?status:int ->
?version:string ->
?suppress_usage:bool ->
?suppress_help:bool ->

0 comments on commit 2d3422f

Please sign in to comment.