summaryrefslogtreecommitdiffstats
path: root/xulrunner-2.0-chromium-types.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2011-01-31 20:54:42 +0100
committerRemi Collet <fedora@famillecollet.com>2011-01-31 20:54:42 +0100
commitf3ccf18c4f5e6b54aaf1ce4264e9287e70856ba3 (patch)
tree1c67d9217c28fecce1919735642969d90eb7cc75 /xulrunner-2.0-chromium-types.patch
parent2e1287d80561ca9f73fa8c9217c4da1fb31064e8 (diff)
bluegriffon, clean spec, split sources, fix rawhide build
Diffstat (limited to 'xulrunner-2.0-chromium-types.patch')
-rw-r--r--xulrunner-2.0-chromium-types.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/xulrunner-2.0-chromium-types.patch b/xulrunner-2.0-chromium-types.patch
new file mode 100644
index 0000000..65dbc59
--- /dev/null
+++ b/xulrunner-2.0-chromium-types.patch
@@ -0,0 +1,31 @@
+https://bugzilla.mozilla.org/show_bug.cgi?id=627669
+
+diff -up xulrunner-2.0/mozilla-central/gfx/ycbcr/chromium_types.h.chromium-types xulrunner-2.0/mozilla-central/gfx/ycbcr/chromium_types.h
+--- xulrunner-2.0/mozilla-central/gfx/ycbcr/chromium_types.h.chromium-types 2010-11-04 21:05:47.000000000 +0100
++++ xulrunner-2.0/mozilla-central/gfx/ycbcr/chromium_types.h 2010-11-15 14:20:12.000000000 +0100
+@@ -64,6 +64,10 @@ typedef PRInt16 int16;
+ #define ARCH_CPU_PPC_FAMILY 1
+ #define ARCH_CPU_PPC 1
+ #define ARCH_CPU_32_BITS 1
++#elif defined(__ppc64__)
++#define ARCH_CPU_PPC_FAMILY 1
++#define ARCH_CPU_PPC 1
++#define ARCH_CPU_64_BITS 1
+ #elif defined(__sparc)
+ #define ARCH_CPU_SPARC_FAMILY 1
+ #define ARCH_CPU_SPARC 1
+@@ -72,6 +76,14 @@ typedef PRInt16 int16;
+ #define ARCH_CPU_SPARC_FAMILY 1
+ #define ARCH_CPU_SPARC 1
+ #define ARCH_CPU_64_BITS 1
++#elif defined(__s390__)
++#define ARCH_CPU_S390_FAMILY 1
++#define ARCH_CPU_S390 1
++#define ARCH_CPU_32_BITS 1
++#elif defined(__s390x__)
++#define ARCH_CPU_S390_FAMILY 1
++#define ARCH_CPU_S390 1
++#define ARCH_CPU_64_BITS 1
+ #else
+ #warning Please add support for your architecture in chromium_types.h
+ #endif