Skip to content

Commit

Permalink
dev-ml/ocaml-dns: fix build with latest ocaml-ipaddr
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.6, Repoman-2.3.2
  • Loading branch information
aballier committed Jun 5, 2017
1 parent 5906c50 commit 7b88bb7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions dev-ml/ocaml-dns/files/ipaddr.patch
Original file line number Diff line number Diff line change
@@ -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)
2 changes: 1 addition & 1 deletion dev-ml/ocaml-dns/ocaml-dns-0.20.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ DEPEND="
RESTRICT="test"

src_prepare() {
epatch "${FILESDIR}/uri.patch"
epatch "${FILESDIR}/uri.patch" "${FILESDIR}/ipaddr.patch"
default
}

Expand Down

0 comments on commit 7b88bb7

Please sign in to comment.