From 27d82a3564316e9bd64196b5c56f59fc6d05e40c Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Wed, 20 Apr 2011 10:34:45 +0200 Subject: mono: add build fix for PPC Signed-off-by: Michael Olbrich --- .../0001-Fix-sgen-build-on-PPC-linux.patch | 28 ++++++++++++++++++++++ patches/mono-2.10.1/series | 3 +++ 2 files changed, 31 insertions(+) create mode 100644 patches/mono-2.10.1/0001-Fix-sgen-build-on-PPC-linux.patch create mode 100644 patches/mono-2.10.1/series (limited to 'patches/mono-2.10.1') diff --git a/patches/mono-2.10.1/0001-Fix-sgen-build-on-PPC-linux.patch b/patches/mono-2.10.1/0001-Fix-sgen-build-on-PPC-linux.patch new file mode 100644 index 000000000..01d45d752 --- /dev/null +++ b/patches/mono-2.10.1/0001-Fix-sgen-build-on-PPC-linux.patch @@ -0,0 +1,28 @@ +From: Michael Olbrich +Date: Wed, 20 Apr 2011 09:19:50 +0200 +Subject: [PATCH] Fix sgen build on PPC linux. + +This is part of the upstream commit 4a812850f8af461619530dfd7c6e7f4531fdcf8d +from Zoltan Varga + +Signed-off-by: Michael Olbrich +--- + mono/metadata/sgen-archdep.h | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/mono/metadata/sgen-archdep.h b/mono/metadata/sgen-archdep.h +index a1e3e6d..cde4ef5 100644 +--- a/mono/metadata/sgen-archdep.h ++++ b/mono/metadata/sgen-archdep.h +@@ -102,7 +102,7 @@ + ((a)[14] = (gpointer) (UCONTEXT_REG_R15 (ctx))); \ + } while (0) + +-#elif defined(__ppc__) ++#elif defined(__ppc__) || defined(__powerpc__) || defined(__powerpc64__) + + #define REDZONE_SIZE 224 + +-- +1.7.4.1 + diff --git a/patches/mono-2.10.1/series b/patches/mono-2.10.1/series new file mode 100644 index 000000000..1e99997fc --- /dev/null +++ b/patches/mono-2.10.1/series @@ -0,0 +1,3 @@ +# generated by git-ptx-patches +0001-Fix-sgen-build-on-PPC-linux.patch +# 0986299811d2f60314c4897bb298f9af - git-ptx-patches magic -- cgit v1.2.3