SHA256
1
0
forked from pool/mono-core

Accepting request 629038 from home:Warhammer40k:Mono:Factory

Update to version 5.14.0.177

OBS-URL: https://build.opensuse.org/request/show/629038
OBS-URL: https://build.opensuse.org/package/show/Mono:Factory/mono-core?expand=0&rev=198
This commit is contained in:
Ismail Dönmez 2018-08-14 08:18:46 +00:00 committed by Git OBS Bridge
parent 33f700ffc8
commit 45c499c9b3
7 changed files with 240 additions and 60 deletions

View File

@ -1,30 +1,30 @@
diff -uprN mono-5.8.0.108.old/Makefile.am mono-5.8.0.108/Makefile.am
--- mono-5.8.0.108.old/Makefile.am 2018-01-19 18:09:50.000000000 +0300
+++ mono-5.8.0.108/Makefile.am 2018-02-02 22:15:06.076545024 +0300
@@ -149,3 +149,6 @@ update-solution-files:
diff -uprN mono-5.14.0.176/Makefile.am mono-5.14.0.176.new/Makefile.am
--- mono-5.14.0.176/Makefile.am 2018-08-02 10:45:57.000000000 +0300
+++ mono-5.14.0.176.new/Makefile.am 2018-08-02 19:04:51.125324813 +0300
@@ -151,3 +151,6 @@ update-solution-files:
update-solution-files-with-tests:
make "GENPROJ_ARGS=2012 true true" update-solution-files
$(MAKE) "GENPROJ_ARGS=2012 true true" update-solution-files
+
+confighfixdir = $(includedir)/mono-2.0
+dist_confighfix_DATA = config.h
diff -uprN mono-5.8.0.108.old/mono/metadata/Makefile.am mono-5.8.0.108/mono/metadata/Makefile.am
--- mono-5.8.0.108.old/mono/metadata/Makefile.am 2018-01-19 18:09:55.000000000 +0300
+++ mono-5.8.0.108/mono/metadata/Makefile.am 2018-02-02 22:16:54.531829963 +0300
@@ -335,6 +335,7 @@ libmonoruntimeinclude_HEADERS = \
appdomain.h \
diff -uprN mono-5.14.0.176/mono/metadata/Makefile.am mono-5.14.0.176.new/mono/metadata/Makefile.am
--- mono-5.14.0.176/mono/metadata/Makefile.am 2018-08-02 10:46:00.000000000 +0300
+++ mono-5.14.0.176.new/mono/metadata/Makefile.am 2018-08-02 19:00:38.165324813 +0300
@@ -382,6 +382,7 @@ libmonoruntimeinclude_HEADERS = \
attrdefs.h \
blob.h \
class.h \
+ debug-internals.h \
+ debug-internals.h \
debug-helpers.h \
debug-mono-symfile.h \
threads.h \
diff -uprN mono-5.8.0.108.old/mono/utils/Makefile.am mono-5.8.0.108/mono/utils/Makefile.am
--- mono-5.8.0.108.old/mono/utils/Makefile.am 2018-01-19 18:09:56.000000000 +0300
+++ mono-5.8.0.108/mono/utils/Makefile.am 2018-02-02 22:24:26.508882095 +0300
@@ -268,6 +268,7 @@ libmonoutilsinclude_HEADERS = \
mono-error.h \
environment.h \
diff -uprN mono-5.14.0.176/mono/utils/Makefile.am mono-5.14.0.176.new/mono/utils/Makefile.am
--- mono-5.14.0.176/mono/utils/Makefile.am 2018-08-02 10:46:00.000000000 +0300
+++ mono-5.14.0.176.new/mono/utils/Makefile.am 2018-08-02 19:01:48.937324813 +0300
@@ -279,6 +279,7 @@ libmonoutilsinclude_HEADERS = \
mono-publib.h \
mono-jemalloc.h \
mono-dl-fallback.h \
+ mono-compiler.h \
mono-counters.h

View File

@ -0,0 +1,12 @@
diff -uprN mono-5.14.0.177.old/mono/mini/exceptions-ppc.c mono-5.14.0.177/mono/mini/exceptions-ppc.c
--- mono-5.14.0.177.old/mono/mini/exceptions-ppc.c 2018-08-07 10:46:01.000000000 +0300
+++ mono-5.14.0.177/mono/mini/exceptions-ppc.c 2018-08-11 01:03:25.219208741 +0300
@@ -796,7 +796,7 @@ mono_arch_setup_async_callback (MonoCont
sp -= PPC_MINIMAL_STACK_SIZE;
*(unsigned long *)sp = MONO_CONTEXT_GET_SP(ctx);
MONO_CONTEXT_SET_BP(ctx, sp);
- mono_arch_setup_resume_sighandler_ctx(ctx, (unsigned long) async_cb);
+ mono_arch_setup_resume_sighandler_ctx((MonoContext *)ctx, (gpointer) async_cb);
}
void

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:90c237b5288f95f6fdab4ace1e36ab64a6369e2c9fddd462d604fd788e2545da
size 210476762

3
mono-5.14.0.177.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d4f5fa2e8188d66fbc8054f4145711e45c1faa6d070e63600efab93d1d189498
size 219729440

View File

@ -1,3 +1,185 @@
-------------------------------------------------------------------
Mon Aug 13 00:00:00 UTC 2018 - fwdsbs.to.11df@xoxy.net
- Update to version 5.14.0.177 (5.14.0 Stable)
- Remove patch: profiler-aot-parse_args-fix.patch
- Patch fix-dbg-headers.patch was updated
- Added patch: fix-ppc-64bit-portability-issue.patch:
* Fix 64bit-portability-issue OBS error when compiling for PPC arch
- New features and changes:
* Better generic sharing: generic sharing has been improved
* Memory optimization for handles: reduce the amount of preallocated memory when process requires only a minimal number of handles
* GC Handling of very large objects: fix handling of objects which are over 4GBs of memory
* Class Libraries: significant improvements to System.Windows.Forms
* MCS: C# 7.x support was extended
* NuGet: the bundled version of NuGet has been updated to 4.7.0
* mkbundle: a new --mono-api-struct-path option was introduced to allow customization of runtime functions used for the embedding
- Bugfixes:
* gh#mono/mono#6178 - Log profiler should provide startup time in stream header from same source as event timestamps
* gh#mono/mono#6186 - Code coverage instrumentation logic should deal with inlining the same way as enter/leave instrumentation
* gh#mono/mono#6187 - mkbundle Linux - program doesnt run on system unless mono-core is installed
* gh#mono/mono#6211 - Rare shutdown crash in profiler stress tests
* gh#mono/mono#6266 - ArrayTypeMismatchException when using array of generic ICollection or IList
* gh#mono/mono#6357 - Keepass crashes when editing an entry notes field in a specific way
* gh#mono/mono#6579 - Type.GetInterface fails to find implemented interface when ignoreCase: true is used
* gh#mono/mono#6666 - Invalid cast is not checked for nullable types
* gh#mono/mono#6752 - System.TermInfoReader cannot handle new NCurses 6 TermInfo files
* gh#mono/mono#6767 - Add missing APIs to System.Data
* gh#mono/mono#6788 - nuget restore fails to parse valid json from nuget.org with mono/master
* gh#mono/mono#6801 - Self-hosted HttpListener gets empty file collection and input stream for multipart PUT or POST requests
* gh#mono/mono#6812 - MonoProfilerCoverageData::column is equal 0
* gh#mono/mono#6848 - netstandard facade dlls have different public key tokens
* gh#mono/mono#6940 - DNS lookup of IPv6-only hosts fails
* gh#mono/mono#6948 - [XI]WatchOS apps fail to build with error “Undefined symbols for architecture armv7k” using XI with mono-2017-12 support
* gh#mono/mono#6998 - Runtime assert in System.Runtime.Remoting
* gh#mono/mono#6999 - test_0_time_drift - mono/tests failure
* gh#mono/mono#7016 - Hybrid AOT is not working for some generic methods
* gh#mono/mono#7085 - Hybrid AOT breaks setting thread UI culture
* gh#mono/mono#7086 - Hybrid AOT throws invalid cast exception on dictionaries indexed with enum
* gh#mono/mono#7093 - Regression in Array interface conversions
* gh#mono/mono#7095 - Assertion at class-accessors.c:31, condition `mono_class_is_ginst (klass) not met
* gh#mono/mono#7134 - NullReferenceException while processing concurrent requests with a WCF app
* gh#mono/mono#7137 - Step in crashes debugger
* gh#mono/mono#7145 - [XI] RuntimeFeatureTest.NoNewFeaturesAdded failure in mscorlib tests
* gh#mono/mono#7184 - MSBuild always recompiles project if it has a resx with a windows path.
* gh#mono/mono#7199 - finalizer-abort.exe
* gh#mono/mono#7200 - Problem building on Arch linux
* gh#mono/mono#7240 - dim-sharedgenerics.exe fails with LLVM
* gh#mono/mono#7262 - .config with dllmap not working with app domains with shadow copying enabled
* gh#mono/mono#7289 - Creating EnumMirror fails in a multi-domain context.
* gh#mono/mono#7328 - suggest recursive self-calls do not create trampoline
* gh#mono/mono#7338 - Finalizer crashes because of FileSystemWatcher Dispose exception in FileSystemWatcher_mobile.cs
* gh#mono/mono#7356 - Memory leak in HttpWebRequest / HttpWebResponse
* gh#mono/mono#7364 - watchOS/LLVM crashes at launch on device
* gh#mono/mono#7378 - WeakAttribute causes all fields within a class to become weak
* gh#mono/mono#7389 - System.CodeDom.Compiler.CodeDomConfigurationHandler throws on initialization
* gh#mono/mono#7408 - No longer builds with CentOS 6 (GCC 4.4.7)
* gh#mono/mono#7432 - gcsuppressfinalize.exe CoreCLR test started failing after upgrade to Debian 9
* gh#mono/mono#7449 - PInvoke to function that takes a struct with an array of double gets incorrect results on Android
* gh#mono/mono#7460 - w32handles require much memory when the minimum required is much lower
* gh#mono/mono#7535 - [llvm/bitcode] Crash in mono_class_has_failure (class.c:10037)
* gh#mono/mono#7536 - Missing Facades from net_4_x that are in 4.7.1.
* gh#mono/mono#7537 - new object [int.MaxValue] crashes runtime instead of OOM
* gh#mono/mono#7565 - Generic symbol names exported from libmono
* gh#mono/mono#7568 - Intermittent failures on bug-80307.exe and other tests using FileSystemWatcher
* gh#mono/mono#7610 - Add System.Memory facade
* gh#mono/mono#7613 - mprof-report cant read v13 file that Mono.Profiler.Log can
* gh#mono/mono#7620 - DrawToBitmap in Control.cs does not work
* gh#mono/mono#7624 - Strict loader still loads incorrect assembly
* gh#mono/mono#7637 - iOS release build: “Could not AOT the assembly” -> “p - buf < buf_size not met”
* gh#mono/mono#7655 - Memory leak in file operations in mono 5.10
* gh#mono/mono#7657 - Method is inaccessible from method in nested classes with inheritance.
* gh#mono/mono#7661 - Suppress the degraded allocation warning for the WebAssembly target
* gh#mono/mono#7685 - Assert ainfo->cinfo->stack_usage % MONO_ARCH_FRAME_ALIGNMENT == 0
* gh#mono/mono#7696 - LINQ bug (ConcatNIterator.ToArray()?)
* gh#mono/mono#7729 - [mcs] fails to compile code with Tuple
* gh#mono/mono#7786 - “mono/metadata/threads.c:3016, condition `internal not met” under certain conditions with the soft debugger attached
* gh#mono/mono#7792 - Failure to AOT compile due to condition `load_opcode != OP_LOADV_MEMBASE not met
* gh#mono/mono#7805 - F# build is broken due to new String.StartsWith overload
* gh#mono/mono#7822 - Failing to serialize ConcurrentDictionary with BinaryFormatter
* gh#mono/mono#7828 - Invalid instruction generated by regex runtime when using dapper
* gh#mono/mono#7860 - illinkanalyzer isnt whitelisted in the macOS package
* gh#mono/mono#7864 - [wasm] Dont fail when TaskCreationOptions.LongRunning is used
* gh#mono/mono#7903 - Mono VS solution has wrong all projects in all profiles used
* gh#mono/mono#7920 - build broken with enable-minimal=soft_debug
* gh#mono/mono#8089 - Add System.Drawing.Common facade for Xamarin profiles
* gh#mono/mono#8143 - CEE_STELEM for single token fails in wasm interp mode
* gh#mono/mono#8267 - TimeZoneInfo.Local Id and DisplayName are always: Local
* gh#mono/mono#8310 - FSharp build is broken due to new Path.GetFileName() overload
* gh#mono/mono#8311 - bug-82022.exe fails in LLVM JIT
* gh#mono/mono#8409 - FullAOT test failures/crashes on arm64,armel or armhf
* gh#mono/mono#8417 - Redirecting process output when Console.SetOut set gives strange output
* gh#mono/mono#8698 - csharp REPL cant load pkg-config references interactively
* bxc#10087 - Process exit can be blocked if the AppDomain.ProcessExit event hangs
* bxc#11771 - IsolatedStorageFile.GetFileNames() throws exception w/ nested dirs
* bxc#12850 - FtpWebRequest does not handle remote paths properly
* bxc#18941 - Calling Marshal.SizeOf() with an Empty struct using Sequential or Explicit returns 0
* bxc#19038 - Quitting XS caused MainStoryboard.Storyboard to convert to IB file
* bxc#19436 - [eglib] GMarkup XML parser cant handle hyphens underscores and periods in element names.
* bxc#25224 - stack overflow after printfn something
* bxc#25444 - WCF method with UriTemplate annotation fails with InvalidOperationException
* bxc#33208 - System.Reflection.Module.ResolveMember() returning inconsistent results when querying dynamic assemblies
* bxc#46473 - Error: The object with ID N implements the IObjectReference interface for which all dependencies cannot be resolved. The likely cause is two instances of IObjectReference that have a mutual dependency on each other
* bxc#53272 - Unhandled Exception System.Collections.Generic.KeyNotFoundException in ikdasm
* bxc#58413 - Environment.Tickcount is changed when the date is changed in android
* bxc#59184 - MethodInfo.Invoke fails for generic methods with too many/too large arguments
* bxc#59400 - Wrong interface method is called (two interfaces, covariance)
* bxc#59779 - HttpClient, when using GZIP, hangs while sending multiple requests in parallel.
* bxc#60065 - Make exception marshaling work with system mono
* bxc#60088 - Assertion at ../../../../external/mono/mono/mini/debugger-agent.c:4765, condition `array->len == 1 not met
* bxc#60843 - Type 0x15 not handled in custom attr value decoding
-------------------------------------------------------------------
Sun Aug 12 00:00:00 UTC 2018 - fwdsbs.to.11df@xoxy.net
- Release 5.12.0.226 (skipped):
- New features and changes:
* Interpreter: a lot of work has been put in stabilising and passing test suite. Interpreter is able to build the full Base Class Library with Mono C# compiler (mcs)
* IBM AIX, IBM i, Haiku ports
* WebAssembly: several issues were fixed around GC and Base Class Libraries
* Jemalloc: added option to support jemalloc as the malloc(3) library, need --with-jemalloc build options
* Profiler: improved GC roots reporting
* PAL: added support for nanosecond resolution in file information on platforms where the information is available
* Diagnostic enhancements: the diagnostic support to inspect generated native code via MONO_VERBOSE_METHOD environement variable was extended to support multiple entries
* Class Libraries: HttpWebRequest async handling has been rewritten
* Class Libraries: a few internal types were decorated with StackTraceHiddenAttribute
* Class Libraries: System.Security.Cryptography.Xml namespace in the System.Security assembly has been replaced with the CoreFX implementation
* Class Libraries: ICSharpCode.SharpZipLib assembly was marked as obsolete and will be removed in a future release
* illinkanalyzer tool: a new tool called the Linker Analyzer was introduced, available via the illinkanalyzer command
* VB.NET compiler: Roslyn based VB.NET compiler (vbc) now shipped with package. Old vbnc compiled will be deprecated.
- Bugfixes:
* bxc#41294 - Some Mono threadpool performance counters return 0
* bxc#45901 - Missing .NET code pages ibm775 & ibm737
* bxc#56071 - Mono.Security.AuthenticodeBase Doesnt Support PE32+ image format
* bxc#58413 - Environment.Tickcount is changed when the date is changed in android
* bxc#59184 - MethodInfo.Invoke fails for generic methods with too many/too large arguments
* bxc#60088 - Assertion at ../../../../external/mono/mono/mini/debugger-agent.c:4765, condition `array->len == 1 not met
* bxc#60225 - Coverage output is missing some types and methods
* bxc#60298 - LayoutKind.Explicit, Size = 12 ignored with 64bit alignment
* bxc#60359 - AssemblyName.set_CultureName is not implemented
* bxc#60568 - WaitHandle.WaitOne(int) doesnt trigger SynchronizationContext.Wait
* bxc#60756 - A crash with CEE_RET: value type stack: 0 vs. 8
* bxc#60848 - Incorrect unicode custom attribute decoding
* bxc#60862 - Stack overflow throws null (null is caught)
* bxc#60900 - Error using implicit operator with Nullable
* bxc#60986 - Memory leak when marshalling Delegate to native code
* bxc#61202 - Fatal error when adding aspect ratio constraint
* gh#mono/mono#6169 - Thread objects are being leaked
* gh#mono/mono#6187 - mkbundle Linux - program doesnt run on system unless mono-core is installed
* gh#mono/mono#6192 - System.Reflection.Emit: PropertyBuilder with generic type doesnt add generic parameter
* gh#mono/mono#6264 - Creating a new instance of X.509 certificate out of another, empty instance of X.509 certificate must not throw
* gh#mono/mono#6283 - Mono is not able to notice a file change in a FileInfo object
* gh#mono/mono#6320 - [arm] unaligned access in ves_icall_System_ValueType_Equals
* gh#mono/mono#6339 - System.TypeLoadException is thrown when run .net standard library with Mono
* gh#mono/mono#6343 - mono/utils/jemalloc does not exist
* gh#mono/mono#6349 - messages during make dist: “file name is too long”
* gh#mono/mono#6379 - Reenable System.Runtime.CompilerServices.Unsafe-xunit test on 32bit
* gh#mono/mono#6383 - System.Diagnostics.ProcessTest.Start1_FileName_NotFound failing
* gh#mono/mono#6401 - Invalid array cast is supported
* gh#mono/mono#6411 - System.Numerics structs are incorrect sizes
* gh#mono/mono#6464 - Socket.Send misses data on Windows
* gh#mono/mono#6490 - Reenable weak-fields.exe test
* gh#mono/mono#6777 - Memory corruption in Mono 5.8.0.108
* gh#mono/mono#6848 - netstandard facade dlls have different public key tokens
* gh#mono/mono#6940 - DNS lookup of IPv6-only hosts fails
* gh#mono/mono#6948 - [XI]WatchOS apps fail to build with error “Undefined symbols for architecture armv7k” using XI with mono-2017-12 support
* gh#mono/mono#6998 - Runtime assert in System.Runtime.Remoting
* gh#mono/mono#7016 - Hybrid AOT is not working for some generic methods
* gh#mono/mono#7085 - Hybrid AOT breaks setting thread UI culture
* gh#mono/mono#7086 - Hybrid AOT throws invalid cast exception on dictionaries indexed with enum
* gh#mono/mono#7095 - Assertion at class-accessors.c:31, condition `mono_class_is_ginst (klass) not met
* gh#mono/mono#7184 - MSBuild always recompiles project if it has a resx with a windows path
* gh#mono/mono#7240 - dim-sharedgenerics.exe fails with LLVM
* gh#mono/mono#7262 - .config with dllmap not working with app domains with shadow copying enabled
* gh#mono/mono#7289 - Creating EnumMirror fails in a multi-domain context.
* gh#mono/mono#7338 - Finalizer crashes because of FileSystemWatcher Dispose exception in FileSystemWatcher_mobile.cs
* gh#mono/mono#7364 - watchOS/LLVM crashes at launch on device
* gh#mono/mono#7389 - System.CodeDom.Compiler.CodeDomConfigurationHandler throws on initialization
* gh#mono/mono#7536 - Missing Facades from net_4_x that are in 4.7.1.
* gh#mono/mono#7637 - iOS release build: “Could not AOT the assembly” -> “p - buf < buf_size not met”
* gh#xamarin/maccore#628 - mscorlib/Mac/Full: LocalId (MonoTests.System.TimeZoneInfoTest+PropertiesTests.LocalId) fails
* gh#xamarin/maccore#629 - iOS 32-bit sim: TimeZoneTest.TestCtors (D02) fails
-------------------------------------------------------------------
Wed Apr 18 00:00:00 UTC 2018 - fwdsbs.to.11df@xoxy.net

View File

@ -26,7 +26,7 @@
%define boehm yes
%endif
%ifarch %ix86 x86_64 %{arm} aarch64
%ifarch %ix86 x86_64 %{arm} aarch64 ppc64 ppc64le
%define btls yes
%else
%define btls no
@ -38,10 +38,10 @@
%define roslyn no
%endif
%define version_suffix 47
%define version_suffix 177
Name: mono-core
Version: 5.10.1
Version: 5.14.0
Release: 0
Summary: Cross-platform, Open Source, .NET development framework
License: LGPL-2.1 and MIT and MS-PL
@ -62,10 +62,10 @@ Patch15: xbuild-revert-to-mcs.patch
Patch16: fix-dbg-headers.patch
# PATCH-FIX-OPENSUSE fix build error: E: mono-core 64bit-portability-issue threads.c:1866
Patch18: fix-64bit-portability-issue.patch
# PATCH-FIX-OPENSUSE fix build failure caused by mono crash at some stage by modifying temporary buffer allocation logic at mono/profiler/aot.c::parse_args
Patch19: profiler-aot-parse_args-fix.patch
# PATCH-FIX-OPENSUSE make xbuild to use roslyn-vbc on roslyn-enabled builds, in order to fix vbnc's VBNC99999 failures on such builds
Patch20: xbuild-use-roslyn-vbc.patch
# PATCH-FIX-OPENSUSE fix 64bit-portability-issue at exceptions-ppc.c:799
Patch21: fix-ppc-64bit-portability-issue.patch
BuildRequires: cmake
BuildRequires: autoconf
BuildRequires: automake
@ -192,7 +192,7 @@ Requires: timezone
# instead of filtering bigger list of broken requires\provides, filter initial filelist and disable precompiled binaries from evaluation
%define roslyn_prefix %{buildroot}%{_prefix}/lib/mono/4.5
%define msbuild_prefix %{buildroot}%{_prefix}/lib/mono/msbuild/15.0/bin/Roslyn
%define filtered_filelist printf "%s\\n" "${filelist[@]}" | grep -v "%{roslyn_prefix}/Microsoft.CodeAnalysis" | grep -v "%{roslyn_prefix}/Microsoft.Build.Tasks.CodeAnalysis.dll" | grep -v "%{roslyn_prefix}/System.Collections.Immutable.dll" | grep -v "%{roslyn_prefix}/System.Reflection.Metadata.dll" | grep -v "%{roslyn_prefix}/csc.exe" | grep -v "%{roslyn_prefix}/vbc.exe" | grep -v "%{roslyn_prefix}/csi.exe" | grep -v "%{roslyn_prefix}/VBCSCompiler.exe" | grep -v "%{msbuild_prefix}/Microsoft.CodeAnalysis" | grep -v "%{msbuild_prefix}/Microsoft.Build.Tasks.CodeAnalysis.dll" | grep -v "%{msbuild_prefix}/System.Collections.Immutable.dll" | grep -v "%{msbuild_prefix}/System.Reflection.Metadata.dll" | grep -v "%{msbuild_prefix}/csc.exe" | grep -v "%{msbuild_prefix}/vbc.exe" | grep -v "%{msbuild_prefix}/csi.exe" | grep -v "%{msbuild_prefix}/VBCSCompiler.exe" | cat -
%define filtered_filelist printf "%s\\n" "${filelist[@]}" | grep -v "%{roslyn_prefix}/dim/" | grep -v "%{roslyn_prefix}/Microsoft.CodeAnalysis" | grep -v "%{roslyn_prefix}/Microsoft.Build.Tasks.CodeAnalysis.dll" | grep -v "%{roslyn_prefix}/System.Collections.Immutable.dll" | grep -v "%{roslyn_prefix}/System.Reflection.Metadata.dll" | grep -v "%{roslyn_prefix}/csc.exe" | grep -v "%{roslyn_prefix}/csc-dim.exe" | grep -v "%{roslyn_prefix}/vbc.exe" | grep -v "%{roslyn_prefix}/csi.exe" | grep -v "%{roslyn_prefix}/VBCSCompiler.exe" | grep -v "%{msbuild_prefix}/Microsoft.CodeAnalysis" | grep -v "%{msbuild_prefix}/Microsoft.Build.Tasks.CodeAnalysis.dll" | grep -v "%{msbuild_prefix}/System.Collections.Immutable.dll" | grep -v "%{msbuild_prefix}/System.Reflection.Metadata.dll" | grep -v "%{msbuild_prefix}/csc.exe" | grep -v "%{msbuild_prefix}/vbc.exe" | grep -v "%{msbuild_prefix}/csi.exe" | grep -v "%{msbuild_prefix}/VBCSCompiler.exe" | cat -
%define __find_provides env sh -c 'filelist=($(cat)) && { %{filtered_filelist} | /usr/lib/rpm/find-provides && %{filtered_filelist} | prefix=%{buildroot}%{_prefix} %{buildroot}%{_bindir}/mono-find-provides ; } | sort | uniq'
%define __find_requires env sh -c 'filelist=($(cat)) && { %{filtered_filelist} | /usr/lib/rpm/find-requires && %{filtered_filelist} | prefix=%{buildroot}%{_prefix} %{buildroot}%{_bindir}/mono-find-requires ; } | sort | uniq'
@ -215,7 +215,7 @@ technologies that have been submitted to the ECMA for standardization.
%patch20 -p1
%endif
%patch18 -p1
%patch19 -p1
%patch21 -p1
%build
# autogen.sh seems broken: it is not processing libgs subdirectory leaving old stuff there untouched.
@ -257,7 +257,6 @@ export PATH=/opt/novell/llvm-mono/bin:$PATH
--with-sgen=%{sgen} \
%if %llvm == yes
--enable-loadedllvm \
--disable-system-aot \
%endif
%ifarch ppc
--with-sigaltstack=no \
@ -368,6 +367,7 @@ rm %{buildroot}%{_bindir}/mono-sgen-gdb.py
%config %{_sysconfdir}/mono/config
%dir %{_prefix}/lib/mono
%dir %{_prefix}/lib/mono/4.5
%dir %{_prefix}/lib/mono/4.5/dim/
%dir %{_prefix}/lib/mono/4.5/Facades
%dir %{_prefix}/lib/mono/gac
%dir %{_sysconfdir}/mono
@ -381,6 +381,8 @@ rm %{buildroot}%{_bindir}/mono-sgen-gdb.py
%{_bindir}/chktrust
%{_bindir}/crlupdate
%{_bindir}/csharp
#csc-dim components still installed for non-roslyn builds, maybe this is a bug
%{_bindir}/csc-dim
%{_bindir}/dmcs
%{_bindir}/gacutil
%{_bindir}/gacutil2
@ -448,8 +450,8 @@ rm %{buildroot}%{_bindir}/mono-sgen-gdb.py
%{_prefix}/lib/mono/4.5/Mono.Tasklets.dll
%{_prefix}/lib/mono/4.5/System.Configuration.dll
%{_prefix}/lib/mono/4.5/System.Core.dll
%{_prefix}/lib/mono/4.5/System.Deployment.dll
%{_prefix}/lib/mono/4.5/System.Drawing.dll
%{_prefix}/lib/mono/4.5/System.Deployment.dll
%{_prefix}/lib/mono/4.5/System.Dynamic.dll
%{_prefix}/lib/mono/4.5/System.Json.dll
%{_prefix}/lib/mono/4.5/System.Json.Microsoft.dll
@ -462,10 +464,12 @@ rm %{buildroot}%{_bindir}/mono-sgen-gdb.py
%{_prefix}/lib/mono/4.5/System.Reflection.Context.dll
%{_prefix}/lib/mono/4.5/System.Security.dll
%{_prefix}/lib/mono/4.5/System.Threading.Tasks.Dataflow.dll
%{_prefix}/lib/mono/4.5/System.Windows.dll
%{_prefix}/lib/mono/4.5/System.Web.Mobile.dll
%{_prefix}/lib/mono/4.5/System.Web.RegularExpressions.dll
%{_prefix}/lib/mono/4.5/System.Workflow.Activities.dll
%{_prefix}/lib/mono/4.5/System.Workflow.ComponentModel.dll
%{_prefix}/lib/mono/4.5/System.Workflow.Runtime.dll
%{_prefix}/lib/mono/4.5/System.Windows.dll
%{_prefix}/lib/mono/4.5/System.Xml.Serialization.dll
%{_prefix}/lib/mono/4.5/System.Xml.Linq.dll
%{_prefix}/lib/mono/4.5/System.Xml.dll
@ -475,6 +479,7 @@ rm %{buildroot}%{_bindir}/mono-sgen-gdb.py
%{_prefix}/lib/mono/4.5/Facades/System*
%{_prefix}/lib/mono/4.5/Facades/Microsoft*
%{_prefix}/lib/mono/4.5/Facades/netstandard*
%{_prefix}/lib/mono/4.5/dim/*
%{_prefix}/lib/mono/gac/Commons.Xml.Relaxng
%{_prefix}/lib/mono/gac/CustomMarshalers
%{_prefix}/lib/mono/gac/I18N
@ -496,8 +501,8 @@ rm %{buildroot}%{_bindir}/mono-sgen-gdb.py
%{_prefix}/lib/mono/gac/System
%{_prefix}/lib/mono/gac/System.Configuration
%{_prefix}/lib/mono/gac/System.Core
%{_prefix}/lib/mono/gac/System.Deployment
%{_prefix}/lib/mono/gac/System.Drawing
%{_prefix}/lib/mono/gac/System.Deployment
%{_prefix}/lib/mono/gac/System.Dynamic
%{_prefix}/lib/mono/gac/System.Net
%{_prefix}/lib/mono/gac/System.Net.Http
@ -508,10 +513,12 @@ rm %{buildroot}%{_bindir}/mono-sgen-gdb.py
%{_prefix}/lib/mono/gac/System.Reflection.Context
%{_prefix}/lib/mono/gac/System.Security
%{_prefix}/lib/mono/gac/System.Threading.Tasks.Dataflow
%{_prefix}/lib/mono/gac/System.Windows
%{_prefix}/lib/mono/gac/System.Web.Mobile
%{_prefix}/lib/mono/gac/System.Web.RegularExpressions
%{_prefix}/lib/mono/gac/System.Workflow.Activities
%{_prefix}/lib/mono/gac/System.Workflow.ComponentModel
%{_prefix}/lib/mono/gac/System.Workflow.Runtime/
%{_prefix}/lib/mono/gac/System.Windows
%{_prefix}/lib/mono/gac/System.Xml.Serialization
%{_prefix}/lib/mono/gac/System.Xml
%{_prefix}/lib/mono/gac/System.Xml.Linq
@ -1114,10 +1121,8 @@ Mono implementation of ASP.NET, Remoting and Web Services.
%{_prefix}/lib/mono/4.5/System.Web.Http.dll
%{_prefix}/lib/mono/4.5/System.Web.Http.SelfHost.dll
%{_prefix}/lib/mono/4.5/System.Web.Http.WebHost.dll
%{_prefix}/lib/mono/4.5/System.Web.Mobile.dll
%{_prefix}/lib/mono/4.5/System.Web.Routing.dll
%{_prefix}/lib/mono/4.5/System.Web.Razor.dll
%{_prefix}/lib/mono/4.5/System.Web.RegularExpressions.dll
%{_prefix}/lib/mono/4.5/System.Web.Services.dll
%{_prefix}/lib/mono/4.5/System.Web.WebPages.Deployment.dll
%{_prefix}/lib/mono/4.5/System.Web.WebPages.Razor.dll
@ -1141,10 +1146,8 @@ Mono implementation of ASP.NET, Remoting and Web Services.
%{_prefix}/lib/mono/gac/System.Web.Http
%{_prefix}/lib/mono/gac/System.Web.Http.SelfHost
%{_prefix}/lib/mono/gac/System.Web.Http.WebHost
%{_prefix}/lib/mono/gac/System.Web.Mobile/
%{_prefix}/lib/mono/gac/System.Web.Routing
%{_prefix}/lib/mono/gac/System.Web.Razor
%{_prefix}/lib/mono/gac/System.Web.RegularExpressions
%{_prefix}/lib/mono/gac/System.Web.Services
%{_prefix}/lib/mono/gac/System.Web.WebPages.Deployment
%{_prefix}/lib/mono/gac/System.Web.WebPages.Razor
@ -1307,6 +1310,7 @@ Mono development tools.
%{_bindir}/genxs
%{_bindir}/httpcfg
%{_bindir}/ilasm
%{_bindir}/illinkanalyzer
%{_bindir}/installvst
%{_bindir}/lc
%{_bindir}/macpack
@ -1345,7 +1349,6 @@ Mono development tools.
%dir %{_datadir}/mono-2.0/mono/profiler
%{_datadir}/mono-2.0/mono/cil/cil-opcodes.xml
%{_datadir}/mono-2.0/mono/profiler/mono-profiler-coverage.suppression
%{_datadir}/mono-2.0/mono/profiler/mono-profiler-log.suppression
%{_libdir}/libmono-profiler-*.*
%{_libdir}/pkgconfig/cecil.pc
%{_libdir}/pkgconfig/dotnet.pc
@ -1363,6 +1366,7 @@ Mono development tools.
%{_mandir}/man1/genxs.1%ext_man
%{_mandir}/man1/httpcfg.1%ext_man
%{_mandir}/man1/ilasm.1%ext_man
%{_mandir}/man1/illinkanalyzer.1%ext_man
%{_mandir}/man1/lc.1%ext_man
%{_mandir}/man1/macpack.1%ext_man
%{_mandir}/man1/makecert.1%ext_man
@ -1415,9 +1419,9 @@ Mono development tools.
%{_prefix}/lib/mono/4.5/httpcfg.exe*
%{_prefix}/lib/mono/4.5/ictool.exe*
%{_prefix}/lib/mono/4.5/ilasm.exe*
%{_prefix}/lib/mono/4.5/illinkanalyzer.exe*
%{_prefix}/lib/mono/4.5/installvst.exe*
%{_prefix}/lib/mono/4.5/lc.exe*
%{_prefix}/lib/mono/4.5/linkeranalyzer.exe*
%{_prefix}/lib/mono/4.5/macpack.exe*
%{_prefix}/lib/mono/4.5/makecert.exe*
%{_prefix}/lib/mono/4.5/mdbrebase.exe*
@ -1474,9 +1478,9 @@ Mono development tools.
%{_prefix}/lib/mono/4.5/httpcfg.pdb
%{_prefix}/lib/mono/4.5/ictool.pdb
%{_prefix}/lib/mono/4.5/ilasm.pdb
%{_prefix}/lib/mono/4.5/illinkanalyzer.pdb
%{_prefix}/lib/mono/4.5/installvst.pdb
%{_prefix}/lib/mono/4.5/lc.pdb
%{_prefix}/lib/mono/4.5/linkeranalyzer.pdb
%{_prefix}/lib/mono/4.5/macpack.pdb
%{_prefix}/lib/mono/4.5/makecert.pdb
%{_prefix}/lib/mono/4.5/mdbrebase.pdb
@ -1621,6 +1625,9 @@ Requires: mono-winforms = %{version}
Requires: mono-winfxcore = %{version}
Requires: monodoc-core = %{version}
Obsoletes: mono-entityframework < 4.0.0
Obsoletes: mono-data-postgresql < 4.0.0
%description -n mono-complete
The Mono Project is an open development initiative that is working to
develop an open source, Unix version of the .NET development platform.

View File

@ -1,21 +0,0 @@
diff -uprN mono-5.10.0.160.old/mono/profiler/aot.c mono-5.10.0.160/mono/profiler/aot.c
--- mono-5.10.0.160.old/mono/profiler/aot.c 2018-03-07 10:46:36.000000000 +0300
+++ mono-5.10.0.160/mono/profiler/aot.c 2018-03-12 02:25:51.857765220 +0300
@@ -108,7 +108,8 @@ parse_args (const char *desc)
const char *p;
gboolean in_quotes = FALSE;
char quote_char = '\0';
- char *buffer = malloc (strlen (desc));
+ char buffer[strlen (desc)];
+ memset (buffer, 0, strlen (desc));
int buffer_pos = 0;
for (p = desc; *p; p++){
@@ -154,7 +155,6 @@ parse_args (const char *desc)
parse_arg (buffer);
}
- g_free (buffer);
}
void