commit: a5d5fe389f81e22c28fdc87811d1f0bcfaa30be0
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 1 19:37:21 2016 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Wed Mar 2 19:29:06 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5d5fe38
dev-ml/camlidl: disable warnings so that it build with ocaml 4.03
Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>
dev-ml/camlidl/camlidl-1.05-r1.ebuild | 1 +
dev-ml/camlidl/files/nowarn.patch | 13 +++++++++++++
2 files changed, 14 insertions(+)
diff --git a/dev-ml/camlidl/camlidl-1.05-r1.ebuild
b/dev-ml/camlidl/camlidl-1.05-r1.ebuild
index ea4debe..496779c 100644
--- a/dev-ml/camlidl/camlidl-1.05-r1.ebuild
+++ b/dev-ml/camlidl/camlidl-1.05-r1.ebuild
@@ -19,6 +19,7 @@ RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}/tests.patch"
epatch "${FILESDIR}/includes.patch"
+ epatch "${FILESDIR}/nowarn.patch"
}
src_compile() {
diff --git a/dev-ml/camlidl/files/nowarn.patch
b/dev-ml/camlidl/files/nowarn.patch
new file mode 100644
index 0000000..8b457cf
--- /dev/null
+++ b/dev-ml/camlidl/files/nowarn.patch
@@ -0,0 +1,13 @@
+Index: camlidl-1.05/compiler/Makefile
+===================================================================
+--- camlidl-1.05.orig/compiler/Makefile
++++ camlidl-1.05/compiler/Makefile
+@@ -29,7 +29,7 @@ PROG=camlidl$(EXE)
+ all: $(PROG)
+
+ $(PROG): $(OBJS)
+- $(OCAMLC) -o $(PROG) $(OBJS)
++ $(OCAMLC) -w -a -o $(PROG) $(OBJS)
+
+ clean::
+ rm -f $(PROG)