summaryrefslogtreecommitdiffstats
path: root/patches/mono-2.10.1
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2011-04-20 10:34:45 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-04-20 10:34:45 +0200
commit27d82a3564316e9bd64196b5c56f59fc6d05e40c (patch)
treeb21fc749cdac19672083e3e3ebef8744cdcef800 /patches/mono-2.10.1
parentb6bbde44253930437683b85f2c1d47ff773c125b (diff)
downloadptxdist-27d82a3564316e9bd64196b5c56f59fc6d05e40c.tar.gz
ptxdist-27d82a3564316e9bd64196b5c56f59fc6d05e40c.tar.xz
mono: add build fix for PPC
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/mono-2.10.1')
-rw-r--r--patches/mono-2.10.1/0001-Fix-sgen-build-on-PPC-linux.patch28
-rw-r--r--patches/mono-2.10.1/series3
2 files changed, 31 insertions, 0 deletions
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 <m.olbrich@pengutronix.de>
+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 <vargaz@gmail.com>
+
+Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
+---
+ 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