Gentoo Archives: gentoo-commits

From: "Peter Alfredsen (loki_val)" <loki_val@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/mono/files: mono-2.2-r121596-work-around-runtime-crash.patch
Date: Tue, 20 Jan 2009 13:51:47
Message-Id: E1LPH16-0000ZP-Il@stork.gentoo.org
1 loki_val 09/01/20 13:51:44
2
3 Added: mono-2.2-r121596-work-around-runtime-crash.patch
4 Log:
5 Fix bug 255610, /usr/bin/mod doesn't work. Also include patch for upstream bug 458168, crasher bug that could be triggered during compilation.
6 (Portage version: 2.2_rc22/cvs/Linux 2.6.28 x86_64)
7
8 Revision Changes Path
9 1.1 dev-lang/mono/files/mono-2.2-r121596-work-around-runtime-crash.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mono/files/mono-2.2-r121596-work-around-runtime-crash.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mono/files/mono-2.2-r121596-work-around-runtime-crash.patch?rev=1.1&content-type=text/plain
13
14 Index: mono-2.2-r121596-work-around-runtime-crash.patch
15 ===================================================================
16 Index: mono/metadata/metadata.c
17 ===================================================================
18 --- mono/metadata/metadata.c (Revision 121595)
19 +++ mono/metadata/metadata.c (Revision 121596)
20 @@ -2178,9 +2178,11 @@
21 MonoImage *image = data;
22 MonoMethodInflated *method = key;
23
24 + // FIXME:
25 + // https://bugzilla.novell.com/show_bug.cgi?id=458168
26 return method->declaring->klass->image == image ||
27 (method->context.class_inst && ginst_in_image (method->context.class_inst, image)) ||
28 - (method->context.method_inst && ginst_in_image (method->context.method_inst, image));
29 + (method->context.method_inst && ginst_in_image (method->context.method_inst, image)) || signature_in_image (mono_method_signature ((MonoMethod*)method), image);
30 }
31
32 static gboolean