Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocaml-dns/, dev-ml/ocaml-dns/files/
Date: Mon, 05 Jun 2017 13:02:56
Message-Id: 1496667763.7b88bb7faa2783b05fbd2fc29875066fbf0fa9cf.aballier@gentoo
1 commit: 7b88bb7faa2783b05fbd2fc29875066fbf0fa9cf
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 4 07:58:23 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 5 13:02:43 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b88bb7f
7
8 dev-ml/ocaml-dns: fix build with latest ocaml-ipaddr
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 dev-ml/ocaml-dns/files/ipaddr.patch | 12 ++++++++++++
13 dev-ml/ocaml-dns/ocaml-dns-0.20.1.ebuild | 2 +-
14 2 files changed, 13 insertions(+), 1 deletion(-)
15
16 diff --git a/dev-ml/ocaml-dns/files/ipaddr.patch b/dev-ml/ocaml-dns/files/ipaddr.patch
17 new file mode 100644
18 index 00000000000..9cddbae8351
19 --- /dev/null
20 +++ b/dev-ml/ocaml-dns/files/ipaddr.patch
21 @@ -0,0 +1,12 @@
22 +Index: ocaml-dns-0.20.1/_tags
23 +===================================================================
24 +--- ocaml-dns-0.20.1.orig/_tags
25 ++++ ocaml-dns-0.20.1/_tags
26 +@@ -9,6 +9,7 @@ true : package(re re.str ipaddr uri base
27 + "lwt": include
28 + <lwt/*.{ml,mli}>: package(lwt mirage-profile)
29 + <lwt/dig_unix.*>: package(cmdliner lwt.unix uri.services ipaddr.unix lwt)
30 ++<lwt/dns_*_unix.*>: package(ipaddr.unix)
31 + <lib/zone_parser.*>: package(uri.services)
32 + <mirage/*.{ml,mli}>: package(lwt duration mirage-time-lwt)
33 + <mirage/*.{ml,mli}>: package(mirage-stack-lwt mirage-kv-lwt)
34
35 diff --git a/dev-ml/ocaml-dns/ocaml-dns-0.20.1.ebuild b/dev-ml/ocaml-dns/ocaml-dns-0.20.1.ebuild
36 index af628a82870..b1fe4781774 100644
37 --- a/dev-ml/ocaml-dns/ocaml-dns-0.20.1.ebuild
38 +++ b/dev-ml/ocaml-dns/ocaml-dns-0.20.1.ebuild
39 @@ -44,7 +44,7 @@ DEPEND="
40 RESTRICT="test"
41
42 src_prepare() {
43 - epatch "${FILESDIR}/uri.patch"
44 + epatch "${FILESDIR}/uri.patch" "${FILESDIR}/ipaddr.patch"
45 default
46 }