From 9e1660cc65aaeeb9bc980582d0bdf58d4fb0f0cbbe1a9382fcb6cbacb929e6e1 Mon Sep 17 00:00:00 2001 From: Andrew Jorgensen Date: Tue, 9 Mar 2010 22:46:35 +0000 Subject: [PATCH] r153333 + patch from r153373 OBS-URL: https://build.opensuse.org/package/show/Mono:Factory/mono-core?expand=0&rev=39 --- _g_boolean_expr.patch | 13 +++++++++++++ mono-2.6.3.tar.bz2 | 4 ++-- mono-core.spec | 2 ++ 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 _g_boolean_expr.patch diff --git a/_g_boolean_expr.patch b/_g_boolean_expr.patch new file mode 100644 index 0000000..6fa345a --- /dev/null +++ b/_g_boolean_expr.patch @@ -0,0 +1,13 @@ +Index: mono/metadata/object-internals.h +=================================================================== +--- mono/metadata/object-internals.h (revision 153372) ++++ mono/metadata/object-internals.h (revision 153373) +@@ -27,7 +27,7 @@ + */ + #ifdef _G_BOOLEAN_EXPR + #undef _G_BOOLEAN_EXPR +-#define _G_BOOLEAN_EXPR(expr) (gsize)(expr) ++#define _G_BOOLEAN_EXPR(expr) ((gsize)(expr) != 0) + #endif + + #if 1 diff --git a/mono-2.6.3.tar.bz2 b/mono-2.6.3.tar.bz2 index 55e1b9d..cb58f8d 100644 --- a/mono-2.6.3.tar.bz2 +++ b/mono-2.6.3.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a74fab23eca73fad12c05304afc7f476555578edf97d5d81a646e8a9b625cb68 -size 27753728 +oid sha256:623b0666c172dac82eeab54eb2d1bebcb2d179c18e01fa0128c1b48536de3164 +size 27760890 diff --git a/mono-core.spec b/mono-core.spec index 4c15055..13136b5 100644 --- a/mono-core.spec +++ b/mono-core.spec @@ -28,6 +28,7 @@ Version: 2.6.3 Release: 1 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: mono-%{version}.tar.bz2 +Patch0: _g_boolean_expr.patch ExclusiveArch: %ix86 x86_64 ppc ppc64 hppa armv4l sparc s390 ia64 s390x BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: mono = %{version}-%{release} @@ -1230,6 +1231,7 @@ Authors: %prep %setup -q -n mono-%{version} +%patch0 %build # These are only needed if there are patches to the runtime