From 2d3422fdb37800217b663d8999ee0a380b462267 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Mon, 14 Sep 2015 17:48:30 +0200 Subject: 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(+) create mode 100644 dev-ml/dose3/files/extlib.patch diff --git a/dev-ml/dose3/dose3-3.3.ebuild b/dev-ml/dose3/dose3-3.3.ebuild index 808c7afc8e27..f9ac6f602445 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 000000000000..f4a16ded682a --- /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 -> -- cgit v1.2.3-65-gdbad