summaryrefslogtreecommitdiffstats
path: root/xulrunner-2.0-chromium-types.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2010-12-17 19:52:14 +0100
committerRemi Collet <fedora@famillecollet.com>2010-12-17 19:52:14 +0100
commit3a978c7572277254a64476266134fdb2989ca6f2 (patch)
tree4cf4218e01d6f52b89f8439bfb036872c7dd56cf /xulrunner-2.0-chromium-types.patch
parent625edb59e04f800e31688b7e5bc69c8b8018748b (diff)
firefox4-4.0-0.13.beta8.build1
Diffstat (limited to 'xulrunner-2.0-chromium-types.patch')
-rw-r--r--xulrunner-2.0-chromium-types.patch29
1 files changed, 29 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..0ac65d6
--- /dev/null
+++ b/xulrunner-2.0-chromium-types.patch
@@ -0,0 +1,29 @@
+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