Hello community,

here is the log from the commit of package mono-core for openSUSE:Factory 
checked in at 2012-12-31 14:26:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mono-core (Old)
 and      /work/SRC/openSUSE:Factory/.mono-core.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mono-core", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/mono-core/mono-core.changes      2012-12-30 
12:19:43.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.mono-core.new/mono-core.changes 2012-12-31 
14:26:24.000000000 +0100
@@ -1,0 +2,5 @@
+Thu Dec 27 17:52:57 UTC 2012 - [email protected]
+
+- Fix ppc build failures (ppc.patch)
+
+-------------------------------------------------------------------

New:
----
  ppc.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mono-core.spec ++++++
--- /var/tmp/diff_new_pack.0o7ucL/_old  2012-12-31 14:26:27.000000000 +0100
+++ /var/tmp/diff_new_pack.0o7ucL/_new  2012-12-31 14:26:27.000000000 +0100
@@ -39,6 +39,8 @@
 Patch2:         mono-arm-cpuinfo-v7.patch
 # PATCH-MISSING-TAG -- See 
http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
 Patch3:         mono-arm-vfp.patch
+# PATCH-FIX-OPENSUSE ppc.patch [email protected] -- fix ppc build failures
+Patch4:         ppc.patch
 BuildRequires:  bison
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -112,6 +114,7 @@
 %patch2 -p1
 %patch3 -p1
 %endif
+%patch4 -p1
 
 %build
 # These are only needed if there are patches to the runtime

++++++ ppc.patch ++++++
Index: mono-3.0.2/mono/mini/mini.c
===================================================================
--- mono-3.0.2.orig/mono/mini/mini.c
+++ mono-3.0.2/mono/mini/mini.c
@@ -6240,7 +6240,7 @@ mini_create_ftnptr (MonoDomain *domain,
        desc [0] = addr;
        desc [1] = NULL;
 #      elif defined(__ppc64__) || defined(__powerpc64__)
-       gpointer *desc;
+       //gpointer *desc;
 
        desc = mono_domain_alloc0 (domain, 3 * sizeof (gpointer));
 
Index: mono-3.0.2/mono/mini/mini-ppc.h
===================================================================
--- mono-3.0.2.orig/mono/mini/mini-ppc.h
+++ mono-3.0.2/mono/mini/mini-ppc.h
@@ -96,6 +96,7 @@ typedef struct MonoCompileArch {
 #define MONO_ARCH_EMULATE_FREM 1
 #define MONO_ARCH_BIGMUL_INTRINS 1
 #define MONO_ARCH_HAVE_ATOMIC_CAS 1
+#define MONO_ARCH_GC_MAPS_SUPPORTED 1

 /* Parameters used by the register allocator */
 #define MONO_ARCH_CALLEE_REGS ((0xff << ppc_r3) | (1 << ppc_r11) | (1 << 
ppc_r12))
Index: mono-3.0.2/mono/mini/mini-gc.c
===================================================================
--- mono-3.0.2.orig/mono/mini/mini-gc.c
+++ mono-3.0.2/mono/mini/mini-gc.c
@@ -438,6 +438,8 @@ static int callee_saved_regs [] = { X86_
 static int callee_saved_regs [] = { ARMREG_V1, ARMREG_V2, ARMREG_V3, 
ARMREG_V4, ARMREG_V5, ARMREG_V7, ARMREG_FP };
 #elif defined(TARGET_S390X)
 static int callee_saved_regs [] = { s390_r6, s390_r7, s390_r8, s390_r9, 
s390_r10, s390_r11, s390_r12, s390_r13, s390_r14 };
+#elif defined(TARGET_POWERPC)
+static int callee_saved_regs [] = { ppc_r6, ppc_r7, ppc_r8, ppc_r9, ppc_r10, 
ppc_r11, ppc_r12, ppc_r13, ppc_r14 };
 #endif

 static guint32
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to