1 |
commit: 133e85b7d6febf3cf64a03dcca57c97974d255d7 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 12 18:51:46 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 12 19:20:25 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=133e85b7 |
7 |
|
8 |
dev-ml/eliom: Fix build with lwt3. |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
dev-ml/eliom/eliom-6.2.0.ebuild | 5 +++++ |
13 |
dev-ml/eliom/eliom-9999.ebuild | 3 ++- |
14 |
dev-ml/eliom/files/lwt3.patch | 44 +++++++++++++++++++++++++++++++++++++++++ |
15 |
3 files changed, 51 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/dev-ml/eliom/eliom-6.2.0.ebuild b/dev-ml/eliom/eliom-6.2.0.ebuild |
18 |
index 49663b031da..b69350aae03 100644 |
19 |
--- a/dev-ml/eliom/eliom-6.2.0.ebuild |
20 |
+++ b/dev-ml/eliom/eliom-6.2.0.ebuild |
21 |
@@ -32,12 +32,17 @@ RDEPEND=">=dev-lang/ocaml-4.03:=[ocamlopt?] |
22 |
dev-ml/react:= |
23 |
dev-ml/ocaml-ssl:= |
24 |
>=dev-ml/lwt-2.5.0:= |
25 |
+ dev-ml/lwt_react:= |
26 |
dev-ml/camlp4:= |
27 |
ppx? ( >=dev-ml/ppx_tools-0.99.3:= )" |
28 |
DEPEND="${RDEPEND} |
29 |
dev-ml/ocamlbuild |
30 |
dev-ml/opam" |
31 |
|
32 |
+src_prepare() { |
33 |
+ epatch "${FILESDIR}/lwt3.patch" |
34 |
+} |
35 |
+ |
36 |
src_compile() { |
37 |
if use ocamlopt ; then |
38 |
emake PPX=$(usex ppx true false) all |
39 |
|
40 |
diff --git a/dev-ml/eliom/eliom-9999.ebuild b/dev-ml/eliom/eliom-9999.ebuild |
41 |
index 74e7e33453c..42b48b1abdd 100644 |
42 |
--- a/dev-ml/eliom/eliom-9999.ebuild |
43 |
+++ b/dev-ml/eliom/eliom-9999.ebuild |
44 |
@@ -1,4 +1,4 @@ |
45 |
-# Copyright 1999-2016 Gentoo Foundation |
46 |
+# Copyright 1999-2017 Gentoo Foundation |
47 |
# Distributed under the terms of the GNU General Public License v2 |
48 |
|
49 |
EAPI=5 |
50 |
@@ -32,6 +32,7 @@ RDEPEND=">=dev-lang/ocaml-4.03:=[ocamlopt?] |
51 |
dev-ml/react:= |
52 |
dev-ml/ocaml-ssl:= |
53 |
>=dev-ml/lwt-2.5.0:= |
54 |
+ dev-ml/lwt_react:= |
55 |
dev-ml/camlp4:= |
56 |
ppx? ( >=dev-ml/ppx_tools-0.99.3:= )" |
57 |
DEPEND="${RDEPEND} |
58 |
|
59 |
diff --git a/dev-ml/eliom/files/lwt3.patch b/dev-ml/eliom/files/lwt3.patch |
60 |
new file mode 100644 |
61 |
index 00000000000..6b8d993fb68 |
62 |
--- /dev/null |
63 |
+++ b/dev-ml/eliom/files/lwt3.patch |
64 |
@@ -0,0 +1,44 @@ |
65 |
+Index: eliom-6.2.0/pkg/META |
66 |
+=================================================================== |
67 |
+--- eliom-6.2.0.orig/pkg/META |
68 |
++++ eliom-6.2.0/pkg/META |
69 |
+@@ -13,7 +13,7 @@ package "server" ( |
70 |
+ react, |
71 |
+ reactiveData, |
72 |
+ tyxml, |
73 |
+- lwt.react, |
74 |
++ lwt_react, |
75 |
+ cryptokit, |
76 |
+ reactiveData" |
77 |
+ archive(byte) = "server.cma" |
78 |
+@@ -49,7 +49,7 @@ package "client" ( |
79 |
+ js_of_ocaml.tyxml, |
80 |
+ js_of_ocaml.log, |
81 |
+ js_of_ocaml.weak, |
82 |
+- lwt.react, |
83 |
++ lwt_react, |
84 |
+ react, |
85 |
+ reactiveData, |
86 |
+ tyxml.functor" |
87 |
+Index: eliom-6.2.0/src/_tags |
88 |
+=================================================================== |
89 |
+--- eliom-6.2.0.orig/src/_tags |
90 |
++++ eliom-6.2.0/src/_tags |
91 |
+@@ -11,7 +11,7 @@ true:keep_locs |
92 |
+ |
93 |
+ <lib/server/*.ml{,i}>:thread |
94 |
+ <lib/server/*.ml{,i}>:package(lwt,ocsigenserver,ocsigenserver.ext,tyxml.functor) |
95 |
+-<lib/server/*.ml{,i}>:package(react,js_of_ocaml) |
96 |
++<lib/server/*.ml{,i}>:package(lwt_react,react,js_of_ocaml) |
97 |
+ |
98 |
+ <lib/server/*.ml{,i}>:package(js_of_ocaml.deriving.ppx) |
99 |
+ |
100 |
+@@ -24,7 +24,7 @@ true:keep_locs |
101 |
+ <lib/client/*.ml{,i}>: eliom_ppx |
102 |
+ <lib/client/*.ml{,i}>:package(ocsigenserver.cookies,ocsigenserver.polytables,ocsigenserver.baselib.base) |
103 |
+ <lib/client/*.ml{,i}>:package(deriving.runtime,js_of_ocaml.deriving) |
104 |
+-<lib/client/*.ml{,i}>:package(lwt.react,tyxml.functor,js_of_ocaml.tyxml) |
105 |
++<lib/client/*.ml{,i}>:package(lwt_react,tyxml.functor,js_of_ocaml.tyxml) |
106 |
+ <lib/client/*.ml{,i}>:package(react,js_of_ocaml,reactiveData) |
107 |
+ |
108 |
+ <lib/client/*.ml{,i}>:package(js_of_ocaml.deriving.ppx) |