dev-ml/ocaml-dns: fix build with latest ocaml-ipaddr
authorAlexis Ballier <aballier@gentoo.org>
Sun, 4 Jun 2017 07:58:23 +0000 (09:58 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Mon, 5 Jun 2017 13:02:43 +0000 (15:02 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.2

dev-ml/ocaml-dns/files/ipaddr.patch [new file with mode: 0644]
dev-ml/ocaml-dns/ocaml-dns-0.20.1.ebuild

diff --git a/dev-ml/ocaml-dns/files/ipaddr.patch b/dev-ml/ocaml-dns/files/ipaddr.patch
new file mode 100644 (file)
index 0000000..9cddbae
--- /dev/null
@@ -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)
index af628a828703b0960508c8de847981ace704fa91..b1fe47817741e4de8e5140af74132de18e47b3c7 100644 (file)
@@ -44,7 +44,7 @@ DEPEND="
 RESTRICT="test"
 
 src_prepare() {
-       epatch "${FILESDIR}/uri.patch"
+       epatch "${FILESDIR}/uri.patch" "${FILESDIR}/ipaddr.patch"
        default
 }