forked from pool/mono-core
r153333 + patch from r153373
OBS-URL: https://build.opensuse.org/package/show/Mono:Factory/mono-core?expand=0&rev=39
This commit is contained in:
parent
6d8a56845f
commit
9e1660cc65
13
_g_boolean_expr.patch
Normal file
13
_g_boolean_expr.patch
Normal file
@ -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
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a74fab23eca73fad12c05304afc7f476555578edf97d5d81a646e8a9b625cb68
|
||||
size 27753728
|
||||
oid sha256:623b0666c172dac82eeab54eb2d1bebcb2d179c18e01fa0128c1b48536de3164
|
||||
size 27760890
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user