summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}