summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-06-04 09:58:23 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-06-05 15:02:43 +0200
commit7b88bb7faa2783b05fbd2fc29875066fbf0fa9cf (patch)
tree47149ede75ddb61821869afaba39902e5e52e957
parentdev-ml/ocaml-ipaddr: Bump to 2.8.0 (diff)
downloadgentoo-7b88bb7faa2783b05fbd2fc29875066fbf0fa9cf.tar.gz
gentoo-7b88bb7faa2783b05fbd2fc29875066fbf0fa9cf.tar.bz2
gentoo-7b88bb7faa2783b05fbd2fc29875066fbf0fa9cf.zip
dev-ml/ocaml-dns: fix build with latest ocaml-ipaddr
Package-Manager: Portage-2.3.6, Repoman-2.3.2
-rw-r--r--dev-ml/ocaml-dns/files/ipaddr.patch12
-rw-r--r--dev-ml/ocaml-dns/ocaml-dns-0.20.1.ebuild2
2 files changed, 13 insertions, 1 deletions
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
}