Hello community,

here is the log from the commit of package xulrunner for openSUSE:Factory 
checked in at 2011-11-14 13:51:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xulrunner (Old)
 and      /work/SRC/openSUSE:Factory/.xulrunner.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xulrunner", Maintainer is "gnome-maintain...@suse.de"

Changes:
--------
--- /work/SRC/openSUSE:Factory/xulrunner/xulrunner.changes      2011-11-10 
16:11:24.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.xulrunner.new/xulrunner.changes 2011-11-14 
13:51:08.000000000 +0100
@@ -1,0 +2,5 @@
+Sat Nov 12 15:20:49 UTC 2011 - w...@rosenauer.org
+
+- fix ppc64 build
+
+-------------------------------------------------------------------

New:
----
  mozilla-ppc64.patch

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

Other differences:
------------------
++++++ xulrunner.spec ++++++
--- /var/tmp/diff_new_pack.p1Eo7g/_old  2011-11-14 13:51:12.000000000 +0100
+++ /var/tmp/diff_new_pack.p1Eo7g/_new  2011-11-14 13:51:12.000000000 +0100
@@ -62,6 +62,7 @@
 Patch12:        mozilla-dump_syms-static.patch
 Patch13:        mozilla-sle11.patch
 Patch14:        mozilla-linux3.patch
+Patch15:        mozilla-ppc64.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Requires:       mozilla-js = %{version}
 Requires(post):  update-alternatives coreutils
@@ -184,6 +185,7 @@
 %patch13 -p1
 %endif
 %patch14 -p1
+%patch15 -p1
 
 %build
 # no need to add build time to binaries

++++++ mozilla-ppc64.patch ++++++
# HG changeset patch
# Parent 87e43d08cce58b76e1910946c36c6465bb4c74e6
From: upstream
Subject: Fix PPC64 build
https://bugzilla.mozilla.org/show_bug.cgi?id=670719
https://bugzilla.mozilla.org/show_bug.cgi?id=654056

diff --git a/ipc/chromium/src/build/build_config.h 
b/ipc/chromium/src/build/build_config.h
--- a/ipc/chromium/src/build/build_config.h
+++ b/ipc/chromium/src/build/build_config.h
@@ -52,16 +52,19 @@
 #define ARCH_CPU_X86_FAMILY 1
 #define ARCH_CPU_X86 1
 #define ARCH_CPU_32_BITS 1
 #elif defined(__ARMEL__)
 #define ARCH_CPU_ARM_FAMILY 1
 #define ARCH_CPU_ARMEL 1
 #define ARCH_CPU_32_BITS 1
 #define WCHAR_T_IS_UNSIGNED 1
+#elif defined(__powerpc64__)
+#define ARCH_CPU_PPC64 1
+#define ARCH_CPU_64_BITS 1
 #elif defined(__ppc__) || defined(__powerpc__)
 #define ARCH_CPU_PPC 1
 #define ARCH_CPU_32_BITS 1
 #else
 #error Please add support for your architecture in build/build_config.h
 #endif
 
 // Type detection for wchar_t.
diff --git a/js/src/Makefile.in b/js/src/Makefile.in
--- a/js/src/Makefile.in
+++ b/js/src/Makefile.in
@@ -433,16 +433,18 @@ CPPSRCS += \
                YarrPattern.cpp \
                YarrSyntaxChecker.cpp \
                $(NULL)
 else
 
 ###############################################
 # BEGIN include sources for the Nitro assembler
 #
+ENABLE_YARR_JIT = 1
+
 VPATH +=       $(srcdir)/assembler \
                $(srcdir)/assembler/wtf \
                $(srcdir)/assembler/jit \
                $(srcdir)/assembler/assembler \
                $(srcdir)/methodjit \
                $(srcdir)/yarr \
                $(NONE)
 
@@ -1076,17 +1078,21 @@ endif
 
 ###############################################
 # BEGIN kludges for the Nitro assembler
 #
 
 # Needed to "configure" it correctly.  Unfortunately these
 # flags wind up being applied to all code in js/src, not just
 # the code in js/src/assembler.
-CXXFLAGS += -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1
+CXXFLAGS += -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1
+
+ifneq (,$(ENABLE_YARR_JIT)$(ENABLE_TRACEJIT)$(ENABLE_METHODJIT))
+CXXFLAGS +=  -DENABLE_JIT=1
+endif
 
 INCLUDES +=    -I$(srcdir)/assembler -I$(srcdir)/yarr
 
 ifdef ENABLE_METHODJIT
 # Build a standalone test program that exercises the assembler
 # sources a bit.
 TESTMAIN_OBJS = \
                Assertions.$(OBJ_SUFFIX) \
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to