You've already forked linux-packaging-mono
Fix trampoline overflow
This commit is contained in:
13
import-amd64-tramp-size.patch
Normal file
13
import-amd64-tramp-size.patch
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
Index: xamarin-pkg-mono/mono/mini/tramp-amd64.c
|
||||||
|
===================================================================
|
||||||
|
--- xamarin-pkg-mono.orig/mono/mini/tramp-amd64.c 2015-04-28 00:23:39.342850339 +0100
|
||||||
|
+++ xamarin-pkg-mono/mono/mini/tramp-amd64.c 2015-04-28 00:23:39.338850339 +0100
|
||||||
|
@@ -995,7 +995,7 @@
|
||||||
|
status_offset = MONO_THREADS_SYNC_MEMBER_OFFSET (status_offset);
|
||||||
|
nest_offset = MONO_THREADS_SYNC_MEMBER_OFFSET (nest_offset);
|
||||||
|
|
||||||
|
- tramp_size = 96;
|
||||||
|
+ tramp_size = 128;
|
||||||
|
|
||||||
|
code = buf = mono_global_codeman_reserve (tramp_size);
|
||||||
|
|
@@ -28,13 +28,13 @@
|
|||||||
|
|
||||||
Name: mono-core
|
Name: mono-core
|
||||||
Version: 4.0.1
|
Version: 4.0.1
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Cross-platform, Open Source, .NET development framework
|
Summary: Cross-platform, Open Source, .NET development framework
|
||||||
License: LGPL-2.1 and MIT and MS-PL
|
License: LGPL-2.1 and MIT and MS-PL
|
||||||
Group: Development/Languages/Mono
|
Group: Development/Languages/Mono
|
||||||
Url: http://www.mono-project.com
|
Url: http://www.mono-project.com
|
||||||
Source0: http://download.mono-project.com/sources/mono/mono-%{version}.tar.bz2
|
Source0: http://download.mono-project.com/sources/mono/mono-%{version}.tar.bz2
|
||||||
#Patch0: fix-rpm-helpers.patch
|
Patch0: import-amd64-tramp-size.patch
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
@@ -118,7 +118,7 @@ technologies that have been submitted to the ECMA for standardization.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n mono-%{version}
|
%setup -q -n mono-%{version}
|
||||||
#%patch0 -p1
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
|
Reference in New Issue
Block a user