From 7b88bb7faa2783b05fbd2fc29875066fbf0fa9cf Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Sun, 4 Jun 2017 09:58:23 +0200 Subject: [PATCH] dev-ml/ocaml-dns: fix build with latest ocaml-ipaddr Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- dev-ml/ocaml-dns/files/ipaddr.patch | 12 ++++++++++++ dev-ml/ocaml-dns/ocaml-dns-0.20.1.ebuild | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 dev-ml/ocaml-dns/files/ipaddr.patch diff --git a/dev-ml/ocaml-dns/files/ipaddr.patch b/dev-ml/ocaml-dns/files/ipaddr.patch new file mode 100644 index 0000000000000..9cddbae835155 --- /dev/null +++ b/dev-ml/ocaml-dns/files/ipaddr.patch @@ -0,0 +1,12 @@ +Index: ocaml-dns-0.20.1/_tags +=================================================================== +--- ocaml-dns-0.20.1.orig/_tags ++++ ocaml-dns-0.20.1/_tags +@@ -9,6 +9,7 @@ true : package(re re.str ipaddr uri base + "lwt": include + : package(lwt mirage-profile) + : package(cmdliner lwt.unix uri.services ipaddr.unix lwt) ++: package(ipaddr.unix) + : package(uri.services) + : package(lwt duration mirage-time-lwt) + : package(mirage-stack-lwt mirage-kv-lwt) diff --git a/dev-ml/ocaml-dns/ocaml-dns-0.20.1.ebuild b/dev-ml/ocaml-dns/ocaml-dns-0.20.1.ebuild index af628a828703b..b1fe47817741e 100644 --- a/dev-ml/ocaml-dns/ocaml-dns-0.20.1.ebuild +++ b/dev-ml/ocaml-dns/ocaml-dns-0.20.1.ebuild @@ -44,7 +44,7 @@ DEPEND=" RESTRICT="test" src_prepare() { - epatch "${FILESDIR}/uri.patch" + epatch "${FILESDIR}/uri.patch" "${FILESDIR}/ipaddr.patch" default }