commit: 4a549b86ac3a26dcc959c6d78534c7e5c50aa7f8
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Sun May 1 18:50:00 2016 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Tue May 3 09:13:52 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a549b86
dev-ml/pxp: fix build with ocaml 4.03
Package-Manager: portage-2.2.28
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>
dev-ml/pxp/files/oc43.patch | 13 +++++++++++++
dev-ml/pxp/pxp-1.2.8.ebuild | 4 ++++
2 files changed, 17 insertions(+)
diff --git a/dev-ml/pxp/files/oc43.patch b/dev-ml/pxp/files/oc43.patch
new file mode 100644
index 0000000..0168c70
--- /dev/null
+++ b/dev-ml/pxp/files/oc43.patch
@@ -0,0 +1,13 @@
+Index: pxp-1.2.8/src/pxp-engine/pxp_document.ml
+===================================================================
+--- pxp-1.2.8.orig/src/pxp-engine/pxp_document.ml
++++ pxp-1.2.8/src/pxp-engine/pxp_document.ml
+@@ -3398,8 +3398,6 @@ let find_all_elements ?deeply eltype bas
+ ;;
+
+
+-exception Skip;;
+-
+ let map_tree ~pre ?(post=(fun x -> x)) base =
+ let rec map_rec n =
+ let n' = pre n in
diff --git a/dev-ml/pxp/pxp-1.2.8.ebuild b/dev-ml/pxp/pxp-1.2.8.ebuild
index 0e272ed..77edb00 100644
--- a/dev-ml/pxp/pxp-1.2.8.ebuild
+++ b/dev-ml/pxp/pxp-1.2.8.ebuild
@@ -27,6 +27,10 @@ IUSE="examples +ocamlopt"
S=${WORKDIR}/${MY_P}
+src_prepare() {
+ epatch "${FILESDIR}/oc43.patch"
+}
+
src_configure() {
#the included configure does not support many standard switches and is
quite picky
./configure || die "configure failed"