forked from pool/mono-core
Accepting request 34491 from Mono:Factory
checked in (request 34491) OBS-URL: https://build.opensuse.org/request/show/34491 OBS-URL: https://build.opensuse.org/package/show/Mono:Factory/mono-core?expand=0&rev=40
This commit is contained in:
parent
9e1660cc65
commit
07f3e6aec5
@ -1,13 +0,0 @@
|
|||||||
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
|
|
3
mono-2.6.1.tar.bz2
Normal file
3
mono-2.6.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6bd6cc59b740bb3a971a6315f3a85fdfdf5cf1e94545e915ba96c3ea7224baa3
|
||||||
|
size 27644697
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:623b0666c172dac82eeab54eb2d1bebcb2d179c18e01fa0128c1b48536de3164
|
|
||||||
size 27760890
|
|
28
mono-cleanup_crash.patch
Normal file
28
mono-cleanup_crash.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
--- mono/metadata/domain.c
|
||||||
|
+++ mono/metadata/domain.c
|
||||||
|
@@ -1907,6 +1907,12 @@
|
||||||
|
domain->type_init_exception_hash = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
+ /* must do this early as it accesses fields and types */
|
||||||
|
+ if (domain->special_static_fields) {
|
||||||
|
+ mono_alloc_special_static_data_free (domain->special_static_fields);
|
||||||
|
+ g_hash_table_destroy (domain->special_static_fields);
|
||||||
|
+ domain->special_static_fields = NULL;
|
||||||
|
+ }
|
||||||
|
for (tmp = domain->domain_assemblies; tmp; tmp = tmp->next) {
|
||||||
|
MonoAssembly *ass = tmp->data;
|
||||||
|
mono_trace (G_LOG_LEVEL_INFO, MONO_TRACE_ASSEMBLY, "Unloading domain %s %p, assembly %s %p, refcount=%d\n", domain->friendly_name, domain, ass->aname.name, ass, ass->ref_count);
|
||||||
|
@@ -1929,12 +1935,6 @@
|
||||||
|
domain->null_reference_ex = NULL;
|
||||||
|
domain->stack_overflow_ex = NULL;
|
||||||
|
domain->entry_assembly = NULL;
|
||||||
|
- /* must do this early as it accesses fields and types */
|
||||||
|
- if (domain->special_static_fields) {
|
||||||
|
- mono_alloc_special_static_data_free (domain->special_static_fields);
|
||||||
|
- g_hash_table_destroy (domain->special_static_fields);
|
||||||
|
- domain->special_static_fields = NULL;
|
||||||
|
- }
|
||||||
|
|
||||||
|
g_free (domain->friendly_name);
|
||||||
|
domain->friendly_name = NULL;
|
@ -1,10 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Tue Mar 2 20:12:24 UTC 2010 - ajorgensen@novell.com
|
|
||||||
|
|
||||||
- Update to 2.6.3
|
|
||||||
* http://www.mono-project.com/Release_Notes_Mono_2.6.3
|
|
||||||
- Obsoleted patches
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 1 17:12:06 CET 2010 - ro@suse.de
|
Mon Mar 1 17:12:06 CET 2010 - ro@suse.de
|
||||||
|
|
||||||
|
@ -20,15 +20,16 @@
|
|||||||
%{!?ext_man: %define ext_man .gz}
|
%{!?ext_man: %define ext_man .gz}
|
||||||
|
|
||||||
Name: mono-core
|
Name: mono-core
|
||||||
License: LGPL v2.1 only
|
License: LGPLv2.1
|
||||||
Group: Development/Languages/Mono
|
Group: Development/Languages/Mono
|
||||||
Summary: A .NET Runtime Environment
|
Summary: A .NET Runtime Environment
|
||||||
Url: http://go-mono.org/
|
Url: http://go-mono.org/
|
||||||
Version: 2.6.3
|
Version: 2.6.1
|
||||||
Release: 1
|
Release: 2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Source0: mono-%{version}.tar.bz2
|
Source0: mono-%{version}.tar.bz2
|
||||||
Patch0: _g_boolean_expr.patch
|
Patch0: xen-aot.patch
|
||||||
|
Patch1: mono-cleanup_crash.patch
|
||||||
ExclusiveArch: %ix86 x86_64 ppc ppc64 hppa armv4l sparc s390 ia64 s390x
|
ExclusiveArch: %ix86 x86_64 ppc ppc64 hppa armv4l sparc s390 ia64 s390x
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Provides: mono = %{version}-%{release}
|
Provides: mono = %{version}-%{release}
|
||||||
@ -273,7 +274,7 @@ fi
|
|||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%package -n mono-jscript
|
%package -n mono-jscript
|
||||||
License: LGPL v2.1 only
|
License: LGPLv2.1
|
||||||
Summary: JScript .NET support for Mono
|
Summary: JScript .NET support for Mono
|
||||||
Group: Development/Languages/Mono
|
Group: Development/Languages/Mono
|
||||||
Requires: mono-core == %version-%release
|
Requires: mono-core == %version-%release
|
||||||
@ -300,7 +301,7 @@ Authors:
|
|||||||
%_prefix/lib/mono/2.0/Microsoft.JScript.dll
|
%_prefix/lib/mono/2.0/Microsoft.JScript.dll
|
||||||
|
|
||||||
%package -n mono-locale-extras
|
%package -n mono-locale-extras
|
||||||
License: LGPL v2.1 only
|
License: LGPLv2.1
|
||||||
Summary: Extra locale information
|
Summary: Extra locale information
|
||||||
Group: Development/Languages/Mono
|
Group: Development/Languages/Mono
|
||||||
Requires: mono-core == %version-%release
|
Requires: mono-core == %version-%release
|
||||||
@ -338,7 +339,7 @@ Authors:
|
|||||||
%_prefix/lib/mono/2.0/I18N.Other.dll
|
%_prefix/lib/mono/2.0/I18N.Other.dll
|
||||||
|
|
||||||
%package -n mono-data
|
%package -n mono-data
|
||||||
License: LGPL v2.1 only
|
License: LGPLv2.1
|
||||||
Summary: Database connectivity for Mono
|
Summary: Database connectivity for Mono
|
||||||
Group: Development/Languages/Mono
|
Group: Development/Languages/Mono
|
||||||
Requires: mono-core == %version-%release
|
Requires: mono-core == %version-%release
|
||||||
@ -403,7 +404,7 @@ Authors:
|
|||||||
%_prefix/lib/mono/2.0/System.Data.DataSetExtensions.dll
|
%_prefix/lib/mono/2.0/System.Data.DataSetExtensions.dll
|
||||||
|
|
||||||
%package -n mono-winforms
|
%package -n mono-winforms
|
||||||
License: LGPL v2.1 only
|
License: LGPLv2.1
|
||||||
Summary: Mono's Windows Forms implementation
|
Summary: Mono's Windows Forms implementation
|
||||||
Group: Development/Languages/Mono
|
Group: Development/Languages/Mono
|
||||||
Requires: mono-core == %version-%release
|
Requires: mono-core == %version-%release
|
||||||
@ -447,7 +448,7 @@ Authors:
|
|||||||
%_prefix/lib/mono/gac/Mono.WebBrowser
|
%_prefix/lib/mono/gac/Mono.WebBrowser
|
||||||
|
|
||||||
%package -n ibm-data-db2
|
%package -n ibm-data-db2
|
||||||
License: LGPL v2.1 only
|
License: LGPLv2.1
|
||||||
Summary: Database connectivity for DB2
|
Summary: Database connectivity for DB2
|
||||||
Group: Development/Languages/Mono
|
Group: Development/Languages/Mono
|
||||||
Requires: mono-core == %version-%release
|
Requires: mono-core == %version-%release
|
||||||
@ -476,7 +477,7 @@ Authors:
|
|||||||
%_prefix/lib/mono/2.0/IBM.Data.DB2.dll
|
%_prefix/lib/mono/2.0/IBM.Data.DB2.dll
|
||||||
|
|
||||||
%package -n mono-extras
|
%package -n mono-extras
|
||||||
License: LGPL v2.1 only
|
License: LGPLv2.1
|
||||||
Summary: Extra packages
|
Summary: Extra packages
|
||||||
Group: Development/Languages/Mono
|
Group: Development/Languages/Mono
|
||||||
Requires: mono-core == %version-%release
|
Requires: mono-core == %version-%release
|
||||||
@ -516,9 +517,7 @@ Authors:
|
|||||||
%_prefix/lib/mono/2.0/System.Management.dll
|
%_prefix/lib/mono/2.0/System.Management.dll
|
||||||
%_prefix/lib/mono/gac/RabbitMQ.Client
|
%_prefix/lib/mono/gac/RabbitMQ.Client
|
||||||
%_prefix/lib/mono/1.0/RabbitMQ.Client.dll
|
%_prefix/lib/mono/1.0/RabbitMQ.Client.dll
|
||||||
%_prefix/lib/mono/1.0/RabbitMQ.Client.Apigen.exe*
|
|
||||||
%_prefix/lib/mono/2.0/RabbitMQ.Client.dll
|
%_prefix/lib/mono/2.0/RabbitMQ.Client.dll
|
||||||
%_prefix/lib/mono/2.0/RabbitMQ.Client.Apigen.exe*
|
|
||||||
%_prefix/lib/mono/gac/System.Messaging
|
%_prefix/lib/mono/gac/System.Messaging
|
||||||
%_prefix/lib/mono/1.0/System.Messaging.dll
|
%_prefix/lib/mono/1.0/System.Messaging.dll
|
||||||
%_prefix/lib/mono/2.0/System.Messaging.dll
|
%_prefix/lib/mono/2.0/System.Messaging.dll
|
||||||
@ -539,7 +538,7 @@ Authors:
|
|||||||
%_prefix/lib/mono/2.0/Microsoft.Vsa.dll
|
%_prefix/lib/mono/2.0/Microsoft.Vsa.dll
|
||||||
|
|
||||||
%package -n mono-data-sqlite
|
%package -n mono-data-sqlite
|
||||||
License: LGPL v2.1 only
|
License: LGPLv2.1
|
||||||
Summary: Database connectivity for Mono
|
Summary: Database connectivity for Mono
|
||||||
Group: Development/Languages/Mono
|
Group: Development/Languages/Mono
|
||||||
Requires: mono-core == %version-%release
|
Requires: mono-core == %version-%release
|
||||||
@ -574,7 +573,7 @@ Authors:
|
|||||||
%_prefix/lib/mono/2.0/Mono.Data.Sqlite.dll
|
%_prefix/lib/mono/2.0/Mono.Data.Sqlite.dll
|
||||||
|
|
||||||
%package -n mono-data-sybase
|
%package -n mono-data-sybase
|
||||||
License: LGPL v2.1 only
|
License: LGPLv2.1
|
||||||
Summary: Database connectivity for Mono
|
Summary: Database connectivity for Mono
|
||||||
Group: Development/Languages/Mono
|
Group: Development/Languages/Mono
|
||||||
Requires: mono-core == %version-%release
|
Requires: mono-core == %version-%release
|
||||||
@ -774,7 +773,7 @@ Authors:
|
|||||||
%config %_sysconfdir/mono/2.0/Browsers
|
%config %_sysconfdir/mono/2.0/Browsers
|
||||||
|
|
||||||
%package -n mono-data-oracle
|
%package -n mono-data-oracle
|
||||||
License: LGPL v2.1 only
|
License: LGPLv2.1
|
||||||
Summary: Database connectivity for Mono
|
Summary: Database connectivity for Mono
|
||||||
Group: Development/Languages/Mono
|
Group: Development/Languages/Mono
|
||||||
Requires: mono-core == %version-%release
|
Requires: mono-core == %version-%release
|
||||||
@ -804,7 +803,7 @@ Authors:
|
|||||||
%_prefix/lib/mono/2.0/System.Data.OracleClient.dll
|
%_prefix/lib/mono/2.0/System.Data.OracleClient.dll
|
||||||
|
|
||||||
%package -n mono-data-postgresql
|
%package -n mono-data-postgresql
|
||||||
License: LGPL v2.1 only
|
License: LGPLv2.1
|
||||||
Summary: Database connectivity for Mono
|
Summary: Database connectivity for Mono
|
||||||
Group: Development/Languages/Mono
|
Group: Development/Languages/Mono
|
||||||
Requires: mono-core == %version-%release
|
Requires: mono-core == %version-%release
|
||||||
@ -834,7 +833,7 @@ Authors:
|
|||||||
%_prefix/lib/mono/2.0/Npgsql.dll
|
%_prefix/lib/mono/2.0/Npgsql.dll
|
||||||
|
|
||||||
%package -n bytefx-data-mysql
|
%package -n bytefx-data-mysql
|
||||||
License: LGPL v2.1 only
|
License: LGPLv2.1
|
||||||
Summary: Database connectivity for Mono
|
Summary: Database connectivity for Mono
|
||||||
Group: Development/Languages/Mono
|
Group: Development/Languages/Mono
|
||||||
Requires: mono-core == %version-%release
|
Requires: mono-core == %version-%release
|
||||||
@ -864,13 +863,13 @@ Authors:
|
|||||||
%_prefix/lib/mono/2.0/ByteFX.Data.dll
|
%_prefix/lib/mono/2.0/ByteFX.Data.dll
|
||||||
|
|
||||||
%package -n mono-nunit
|
%package -n mono-nunit
|
||||||
License: LGPL v2.1 only
|
License: LGPLv2.1
|
||||||
Summary: NUnit Testing Framework
|
Summary: NUnit Testing Framework
|
||||||
Group: Development/Languages/Mono
|
Group: Development/Languages/Mono
|
||||||
Requires: mono-core == %version-%release
|
Requires: mono-core == %version-%release
|
||||||
|
|
||||||
%package -n mono-data-firebird
|
%package -n mono-data-firebird
|
||||||
License: LGPL v2.1 only
|
License: LGPLv2.1
|
||||||
Summary: Database connectivity for Mono
|
Summary: Database connectivity for Mono
|
||||||
Group: Development/Languages/Mono
|
Group: Development/Languages/Mono
|
||||||
Requires: mono-core == %version-%release
|
Requires: mono-core == %version-%release
|
||||||
@ -942,7 +941,7 @@ Authors:
|
|||||||
%_libdir/pkgconfig/mono-nunit.pc
|
%_libdir/pkgconfig/mono-nunit.pc
|
||||||
|
|
||||||
%package -n mono-devel
|
%package -n mono-devel
|
||||||
License: LGPL v2.1 only
|
License: LGPLv2.1
|
||||||
Summary: Mono development tools
|
Summary: Mono development tools
|
||||||
Group: Development/Languages/Mono
|
Group: Development/Languages/Mono
|
||||||
Requires: mono-core == %version-%release
|
Requires: mono-core == %version-%release
|
||||||
@ -1144,7 +1143,7 @@ Authors:
|
|||||||
# yet gzipped
|
# yet gzipped
|
||||||
|
|
||||||
%package -n monodoc-core
|
%package -n monodoc-core
|
||||||
License: LGPL v2.1 only
|
License: LGPLv2.1
|
||||||
Summary: Monodoc - Documentation tools for C# code
|
Summary: Monodoc - Documentation tools for C# code
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
Provides: monodoc
|
Provides: monodoc
|
||||||
@ -1186,7 +1185,7 @@ Monodoc-core contains documentation tools for C#.
|
|||||||
%{_mandir}/man5/mdoc.5%ext_man
|
%{_mandir}/man5/mdoc.5%ext_man
|
||||||
|
|
||||||
%package -n mono-complete
|
%package -n mono-complete
|
||||||
License: LGPL v2.1 only
|
License: LGPLv2.1
|
||||||
Summary: A .NET Runtime Environment
|
Summary: A .NET Runtime Environment
|
||||||
Group: Development/Languages/Mono
|
Group: Development/Languages/Mono
|
||||||
Requires: bytefx-data-mysql = %version-%release
|
Requires: bytefx-data-mysql = %version-%release
|
||||||
@ -1232,6 +1231,7 @@ Authors:
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n mono-%{version}
|
%setup -q -n mono-%{version}
|
||||||
%patch0
|
%patch0
|
||||||
|
%patch1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# These are only needed if there are patches to the runtime
|
# These are only needed if there are patches to the runtime
|
||||||
|
28
xen-aot.patch
Normal file
28
xen-aot.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
Index: mono/mini/mini-amd64.c
|
||||||
|
===================================================================
|
||||||
|
--- mono/mini/mini-amd64.c (revision 149672)
|
||||||
|
+++ mono/mini/mini-amd64.c (revision 149673)
|
||||||
|
@@ -2558,11 +2558,6 @@
|
||||||
|
/* These methods are allocated using malloc */
|
||||||
|
near_call = FALSE;
|
||||||
|
|
||||||
|
- if (cfg->compile_aot) {
|
||||||
|
- near_call = TRUE;
|
||||||
|
- no_patch = TRUE;
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
#ifdef MONO_ARCH_NOMAP32BIT
|
||||||
|
near_call = FALSE;
|
||||||
|
#endif
|
||||||
|
@@ -2571,6 +2566,11 @@
|
||||||
|
if (optimize_for_xen)
|
||||||
|
near_call = FALSE;
|
||||||
|
|
||||||
|
+ if (cfg->compile_aot) {
|
||||||
|
+ near_call = TRUE;
|
||||||
|
+ no_patch = TRUE;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
if (near_call) {
|
||||||
|
/*
|
||||||
|
* Align the call displacement to an address divisible by 4 so it does
|
Loading…
Reference in New Issue
Block a user