summaryrefslogtreecommitdiff
path: root/xulrunner-2.0-chromium-types.patch
diff options
context:
space:
mode:
authorJan Horak <jhorak@redhat.com>2014-01-09 10:56:01 +0100
committerJan Horak <jhorak@redhat.com>2014-01-09 10:56:01 +0100
commit875d0c0e871da050a4cfe44c0afae09c1ad739e4 (patch)
tree4b858f42c056f60f19639786e815667c3cd2dfb2 /xulrunner-2.0-chromium-types.patch
parent* Tue Dec 17 2013 Martin Stransky <stransky@redhat.com> - 26.0-4 (diff)
downloadlibrewolf-fedora-ff-875d0c0e871da050a4cfe44c0afae09c1ad739e4.tar.gz
librewolf-fedora-ff-875d0c0e871da050a4cfe44c0afae09c1ad739e4.tar.bz2
librewolf-fedora-ff-875d0c0e871da050a4cfe44c0afae09c1ad739e4.zip
Standalone firefox package without need of xulrunner
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..2b3db8c
--- /dev/null
+++ b/xulrunner-2.0-chromium-types.patch
@@ -0,0 +1,31 @@
+diff -up xulrunner-17.0/mozilla-release/gfx/ycbcr/chromium_types.h.chromium-types xulrunner-17.0/mozilla-release/gfx/ycbcr/chromium_types.h
+--- xulrunner-17.0/mozilla-release/gfx/ycbcr/chromium_types.h.chromium-types 2012-11-16 20:56:29.000000000 +0100
++++ xulrunner-17.0/mozilla-release/gfx/ycbcr/chromium_types.h 2012-11-20 09:19:14.843448418 +0100
+@@ -30,7 +30,11 @@ typedef int16_t int16;
+ #define ARCH_CPU_ARM_FAMILY 1
+ #define ARCH_CPU_ARMEL 1
+ #define ARCH_CPU_32_BITS 1
+-#elif defined(__ppc__) || defined(__powerpc) || defined(__PPC__)
++#elif defined(__powerpc64__)
++#define ARCH_CPU_PPC_FAMILY 1
++#define ARCH_CPU_PPC 1
++#define ARCH_CPU_64_BITS 1
++#elif defined(__ppc__) || defined(__powerpc__) || defined(__PPC__)
+ #define ARCH_CPU_PPC_FAMILY 1
+ #define ARCH_CPU_PPC 1
+ #define ARCH_CPU_32_BITS 1
+@@ -42,6 +46,14 @@ typedef int16_t int16;
+ #define ARCH_CPU_SPARC_FAMILY 1
+ #define ARCH_CPU_SPARC 1
+ #define ARCH_CPU_64_BITS 1
++#elif defined(__s390x__)
++#define ARCH_CPU_S390_FAMILY 1
++#define ARCH_CPU_S390 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
+ #else
+ #warning Please add support for your architecture in chromium_types.h
+ #endif
bgstack15