commit: c4d3a2b0cbab97d23d839111e8d3420db4cc4392 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> AuthorDate: Fri Jul 7 17:55:32 2017 +0000 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> CommitDate: Fri Jul 7 17:55:32 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4d3a2b0
dev-ml/ppx_deriving: Fix building ppx_deriving_make caught by running tests, bug #624146 Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-ml/ppx_deriving/files/ocb011.patch | 16 ++++++++++++++++ ...px_deriving-4.1.ebuild => ppx_deriving-4.1-r1.ebuild} | 8 ++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/dev-ml/ppx_deriving/files/ocb011.patch b/dev-ml/ppx_deriving/files/ocb011.patch new file mode 100644 index 00000000000..73c921971b0 --- /dev/null +++ b/dev-ml/ppx_deriving/files/ocb011.patch @@ -0,0 +1,16 @@ +commit a4428407e974361d872e0a70e036bc7ee20e8467 +Author: whitequark <[email protected]> +Date: Tue Feb 28 00:37:56 2017 +0000 + + Fix ppx_deriving_make.mllib. + + This is a bug that goes back all the way to c2fb119f, but it was + hidden by a matching bug in ocamlbuild <0.11. + +diff --git a/src_plugins/ppx_deriving_make.mllib b/src_plugins/ppx_deriving_make.mllib +index 1b2681b..7f23204 100644 +--- a/src_plugins/ppx_deriving_make.mllib ++++ b/src_plugins/ppx_deriving_make.mllib +@@ -1 +1 @@ +-ppx_deriving_create ++ppx_deriving_make diff --git a/dev-ml/ppx_deriving/ppx_deriving-4.1.ebuild b/dev-ml/ppx_deriving/ppx_deriving-4.1-r1.ebuild similarity index 91% rename from dev-ml/ppx_deriving/ppx_deriving-4.1.ebuild rename to dev-ml/ppx_deriving/ppx_deriving-4.1-r1.ebuild index a55f0e65293..c0d348838f6 100644 --- a/dev-ml/ppx_deriving/ppx_deriving-4.1.ebuild +++ b/dev-ml/ppx_deriving/ppx_deriving-4.1-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="5" -inherit findlib +inherit findlib eutils DESCRIPTION="Type-driven code generation for OCaml" HOMEPAGE="https://github.com/whitequark/ppx_deriving" @@ -22,6 +22,10 @@ DEPEND="${RDEPEND} dev-ml/opam test? ( dev-ml/ounit )" +src_prepare() { + epatch "${FILESDIR}/ocb011.patch" +} + src_compile() { cp pkg/META.in pkg/META || die ocaml pkg/build.ml \
