Gentoo Archives: gentoo-commits

From: Heather Cynede <cynede@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/dotnet:master commit in: dev-lang/mono/, dev-lang/mono/files/
Date: Sat, 01 Aug 2015 13:21:58
Message-Id: 1438428024.bee6c31e2c7e7c004e74686de2a17450d3895797.cynede@gentoo
1 commit: bee6c31e2c7e7c004e74686de2a17450d3895797
2 Author: Ron MacNeil <macro <AT> hotmail <DOT> com>
3 AuthorDate: Sat Aug 1 10:04:56 2015 +0000
4 Commit: Heather Cynede <cynede <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 1 11:20:24 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=bee6c31e
7
8 mono-4.0.2.5: Add patch to fix build --without-sgen
9
10 ...0.2.5-fix-mono-dis-makefile-am-when-without-sgen.patch | 15 +++++++++++++++
11 dev-lang/mono/mono-4.0.2.5.ebuild | 5 +++++
12 2 files changed, 20 insertions(+)
13
14 diff --git a/dev-lang/mono/files/mono-4.0.2.5-fix-mono-dis-makefile-am-when-without-sgen.patch b/dev-lang/mono/files/mono-4.0.2.5-fix-mono-dis-makefile-am-when-without-sgen.patch
15 new file mode 100644
16 index 0000000..bbf4c6f
17 --- /dev/null
18 +++ b/dev-lang/mono/files/mono-4.0.2.5-fix-mono-dis-makefile-am-when-without-sgen.patch
19 @@ -0,0 +1,15 @@
20 +===================================================================
21 +RCS file: mono/dis/RCS/Makefile.am,v
22 +retrieving revision 1.1
23 +diff -up -r1.1 mono/dis/Makefile.am
24 +--- mono/dis/Makefile.am 2015/05/08 15:00:22 1.1
25 ++++ mono/dis/Makefile.am 2015/07/14 11:20:29
26 +@@ -7,7 +7,7 @@ endif
27 + if SUPPORT_SGEN
28 + metadata_lib=$(top_builddir)/mono/metadata/libmonoruntimesgen-static.la
29 + else
30 +-metadata_lib=$(top_builddir)/mono/metadata/libmonoruntime-static.a
31 ++metadata_lib=$(top_builddir)/mono/metadata/libmonoruntime-static.la
32 + gc_lib=$(LIBGC_STATIC_LIBS)
33 + endif
34 +
35
36 diff --git a/dev-lang/mono/mono-4.0.2.5.ebuild b/dev-lang/mono/mono-4.0.2.5.ebuild
37 index 3257f07..22c6348 100644
38 --- a/dev-lang/mono/mono-4.0.2.5.ebuild
39 +++ b/dev-lang/mono/mono-4.0.2.5.ebuild
40 @@ -4,6 +4,7 @@
41
42 EAPI=5
43 AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
44 +AUTOTOOLS_AUTORECONF=1
45
46 inherit eutils linux-info mono-env flag-o-matic pax-utils autotools-utils
47
48 @@ -71,6 +72,10 @@ src_prepare() {
49 # https://bugzilla.xamarin.com/show_bug.cgi?id=31779
50 epatch "${FILESDIR}/${P}-fix-decimal-ms-on-big-endian.patch"
51
52 + # Fix build --without-sgen
53 + # https://bugzilla.xamarin.com/show_bug.cgi?id=32015
54 + epatch "${FILESDIR}/${P}-fix-mono-dis-makefile-am-when-without-sgen.patch"
55 +
56 autotools-utils_src_prepare
57 epatch "${FILESDIR}/systemweb3.patch"
58 }