commit: 7b88bb7faa2783b05fbd2fc29875066fbf0fa9cf
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 4 07:58:23 2017 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Mon Jun 5 13:02:43 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b88bb7f
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(-)
diff --git a/dev-ml/ocaml-dns/files/ipaddr.patch
b/dev-ml/ocaml-dns/files/ipaddr.patch
new file mode 100644
index 00000000000..9cddbae8351
--- /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
+ <lwt/*.{ml,mli}>: package(lwt mirage-profile)
+ <lwt/dig_unix.*>: package(cmdliner lwt.unix uri.services ipaddr.unix lwt)
++<lwt/dns_*_unix.*>: package(ipaddr.unix)
+ <lib/zone_parser.*>: package(uri.services)
+ <mirage/*.{ml,mli}>: package(lwt duration mirage-time-lwt)
+ <mirage/*.{ml,mli}>: 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 af628a82870..b1fe4781774 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
}