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/camlidl/files/, dev-ml/camlidl/
Date: Wed, 02 Mar 2016 19:29:20
Message-Id: 1456946946.a5d5fe389f81e22c28fdc87811d1f0bcfaa30be0.aballier@gentoo
1 commit: a5d5fe389f81e22c28fdc87811d1f0bcfaa30be0
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 1 19:37:21 2016 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 2 19:29:06 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5d5fe38
7
8 dev-ml/camlidl: disable warnings so that it build with ocaml 4.03
9
10 Package-Manager: portage-2.2.27
11 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>
12
13 dev-ml/camlidl/camlidl-1.05-r1.ebuild | 1 +
14 dev-ml/camlidl/files/nowarn.patch | 13 +++++++++++++
15 2 files changed, 14 insertions(+)
16
17 diff --git a/dev-ml/camlidl/camlidl-1.05-r1.ebuild b/dev-ml/camlidl/camlidl-1.05-r1.ebuild
18 index ea4debe..496779c 100644
19 --- a/dev-ml/camlidl/camlidl-1.05-r1.ebuild
20 +++ b/dev-ml/camlidl/camlidl-1.05-r1.ebuild
21 @@ -19,6 +19,7 @@ RDEPEND="${DEPEND}"
22 src_prepare() {
23 epatch "${FILESDIR}/tests.patch"
24 epatch "${FILESDIR}/includes.patch"
25 + epatch "${FILESDIR}/nowarn.patch"
26 }
27
28 src_compile() {
29
30 diff --git a/dev-ml/camlidl/files/nowarn.patch b/dev-ml/camlidl/files/nowarn.patch
31 new file mode 100644
32 index 0000000..8b457cf
33 --- /dev/null
34 +++ b/dev-ml/camlidl/files/nowarn.patch
35 @@ -0,0 +1,13 @@
36 +Index: camlidl-1.05/compiler/Makefile
37 +===================================================================
38 +--- camlidl-1.05.orig/compiler/Makefile
39 ++++ camlidl-1.05/compiler/Makefile
40 +@@ -29,7 +29,7 @@ PROG=camlidl$(EXE)
41 + all: $(PROG)
42 +
43 + $(PROG): $(OBJS)
44 +- $(OCAMLC) -o $(PROG) $(OBJS)
45 ++ $(OCAMLC) -w -a -o $(PROG) $(OBJS)
46 +
47 + clean::
48 + rm -f $(PROG)