commit: 2d3422fdb37800217b663d8999ee0a380b462267 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> AuthorDate: Mon Sep 14 15:48:30 2015 +0000 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> CommitDate: Mon Sep 14 15:50:17 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d3422fd
dev-ml/dose3: fix build with latest extlib. Package-Manager: portage-2.2.20.1 dev-ml/dose3/dose3-3.3.ebuild | 3 +++ dev-ml/dose3/files/extlib.patch | 12 ++++++++++++ 2 files changed, 15 insertions(+) diff --git a/dev-ml/dose3/dose3-3.3.ebuild b/dev-ml/dose3/dose3-3.3.ebuild index 808c7af..f9ac6f6 100644 --- a/dev-ml/dose3/dose3-3.3.ebuild +++ b/dev-ml/dose3/dose3-3.3.ebuild @@ -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/" @@ -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() { diff --git a/dev-ml/dose3/files/extlib.patch b/dev-ml/dose3/files/extlib.patch new file mode 100644 index 0000000..f4a16de --- /dev/null +++ b/dev-ml/dose3/files/extlib.patch @@ -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 ->