~mozillateam/firefox/firefox-trunk.head

« back to all changes in this revision

Viewing changes to debian/patches/s390x-ycbcr.patch

  • Committer: Rico Tzschichholz
  • Date: 2018-04-23 08:02:56 UTC
  • Revision ID: ricotz@ubuntu.com-20180423080256-8dtjud487htg1pox
* Fix skia build on arm64 and s390x
  - debian/patches/arm64-skia.patch
  - debian/patches/s390x-ycbcr.patch
  - debian/patches/skia-big-endian.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
diff -r 8efc3144ff2b gfx/ycbcr/chromium_types.h
 
2
--- a/gfx/ycbcr/chromium_types.h        Wed Apr 18 06:22:54 2018 -0700
 
3
+++ b/gfx/ycbcr/chromium_types.h        Wed Apr 18 20:00:32 2018 +0200
 
4
@@ -43,6 +43,11 @@
 
5
 #define ARCH_CPU_AARCH64_FAMILY 1
 
6
 #define ARCH_CPU_AARCH64 1
 
7
 #define ARCH_CPU_64_BITS 1
 
8
+#elif defined(__s390x__)
 
9
+#define ARCH_CPU_S390_FAMILY 1
 
10
+#define ARCH_CPU_S390X 1
 
11
+#define ARCH_CPU_64_BITS 1
 
12
+#define ARCH_CPU_BIG_ENDIAN 1
 
13
 #else
 
14
 #warning Please add support for your architecture in chromium_types.h
 
15
 #endif