diff options
author | Martin Stransky <stransky@redhat.com> | 2017-09-29 17:35:01 +0200 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2017-09-29 17:35:01 +0200 |
commit | 4e21a9a766c91552b41cd3ba7547dc4b54c7f7f4 (patch) | |
tree | abab51ccbd6ee5f1d0547ee25d64139ebfd77531 /build-big-endian.patch | |
parent | Enabled second arches to challenge world of build failures, miscompilations a... (diff) | |
download | librewolf-fedora-ff-4e21a9a766c91552b41cd3ba7547dc4b54c7f7f4.tar.gz librewolf-fedora-ff-4e21a9a766c91552b41cd3ba7547dc4b54c7f7f4.tar.bz2 librewolf-fedora-ff-4e21a9a766c91552b41cd3ba7547dc4b54c7f7f4.zip |
Second arch build fix
Diffstat (limited to 'build-big-endian.patch')
-rw-r--r-- | build-big-endian.patch | 56 |
1 files changed, 12 insertions, 44 deletions
diff --git a/build-big-endian.patch b/build-big-endian.patch index abc6744..932da57 100644 --- a/build-big-endian.patch +++ b/build-big-endian.patch @@ -1,6 +1,6 @@ -diff -up firefox-55.0.3/gfx/skia/skia/include/core/SkColorPriv.h.big-endian firefox-55.0.3/gfx/skia/skia/include/core/SkColorPriv.h ---- firefox-55.0.3/gfx/skia/skia/include/core/SkColorPriv.h.big-endian 2017-07-31 18:20:55.000000000 +0200 -+++ firefox-55.0.3/gfx/skia/skia/include/core/SkColorPriv.h 2017-09-01 15:00:06.186520823 +0200 +diff -up firefox-56.0/gfx/skia/skia/include/core/SkColorPriv.h.big-endian firefox-56.0/gfx/skia/skia/include/core/SkColorPriv.h +--- firefox-56.0/gfx/skia/skia/include/core/SkColorPriv.h.big-endian 2017-07-31 18:20:55.000000000 +0200 ++++ firefox-56.0/gfx/skia/skia/include/core/SkColorPriv.h 2017-09-29 17:25:04.651876330 +0200 @@ -31,7 +31,7 @@ * * Here we enforce this constraint. @@ -27,9 +27,9 @@ diff -up firefox-55.0.3/gfx/skia/skia/include/core/SkColorPriv.h.big-endian fire #if defined(SK_PMCOLOR_IS_RGBA) && defined(SK_PMCOLOR_IS_BGRA) #error "can't define PMCOLOR to be RGBA and BGRA" -diff -up firefox-55.0.3/gfx/skia/skia/include/core/SkImageInfo.h.big-endian firefox-55.0.3/gfx/skia/skia/include/core/SkImageInfo.h ---- firefox-55.0.3/gfx/skia/skia/include/core/SkImageInfo.h.big-endian 2017-07-31 18:20:55.000000000 +0200 -+++ firefox-55.0.3/gfx/skia/skia/include/core/SkImageInfo.h 2017-09-01 15:00:06.186520823 +0200 +diff -up firefox-56.0/gfx/skia/skia/include/core/SkImageInfo.h.big-endian firefox-56.0/gfx/skia/skia/include/core/SkImageInfo.h +--- firefox-56.0/gfx/skia/skia/include/core/SkImageInfo.h.big-endian 2017-07-31 18:20:55.000000000 +0200 ++++ firefox-56.0/gfx/skia/skia/include/core/SkImageInfo.h 2017-09-29 17:25:04.651876330 +0200 @@ -83,7 +83,8 @@ enum SkColorType { #elif SK_PMCOLOR_BYTE_ORDER(R,G,B,A) kN32_SkColorType = kRGBA_8888_SkColorType, @@ -40,9 +40,9 @@ diff -up firefox-55.0.3/gfx/skia/skia/include/core/SkImageInfo.h.big-endian fire #endif }; -diff -up firefox-55.0.3/gfx/skia/skia/include/gpu/GrColor.h.big-endian firefox-55.0.3/gfx/skia/skia/include/gpu/GrColor.h ---- firefox-55.0.3/gfx/skia/skia/include/gpu/GrColor.h.big-endian 2017-07-31 18:20:55.000000000 +0200 -+++ firefox-55.0.3/gfx/skia/skia/include/gpu/GrColor.h 2017-09-01 15:00:06.186520823 +0200 +diff -up firefox-56.0/gfx/skia/skia/include/gpu/GrColor.h.big-endian firefox-56.0/gfx/skia/skia/include/gpu/GrColor.h +--- firefox-56.0/gfx/skia/skia/include/gpu/GrColor.h.big-endian 2017-07-31 18:20:55.000000000 +0200 ++++ firefox-56.0/gfx/skia/skia/include/gpu/GrColor.h 2017-09-29 17:25:04.652876327 +0200 @@ -74,8 +74,13 @@ static inline GrColor GrColorPackA4(unsi * Since premultiplied means that alpha >= color, we construct a color with * each component==255 and alpha == 0 to be "illegal" @@ -58,9 +58,9 @@ diff -up firefox-55.0.3/gfx/skia/skia/include/gpu/GrColor.h.big-endian firefox-5 #define GrColor_WHITE 0xFFFFFFFF #define GrColor_TRANSPARENT_BLACK 0x0 -diff -up firefox-55.0.3/gfx/skia/skia/include/gpu/GrTypes.h.big-endian firefox-55.0.3/gfx/skia/skia/include/gpu/GrTypes.h ---- firefox-55.0.3/gfx/skia/skia/include/gpu/GrTypes.h.big-endian 2017-07-31 18:20:55.000000000 +0200 -+++ firefox-55.0.3/gfx/skia/skia/include/gpu/GrTypes.h 2017-09-01 15:00:06.187520823 +0200 +diff -up firefox-56.0/gfx/skia/skia/include/gpu/GrTypes.h.big-endian firefox-56.0/gfx/skia/skia/include/gpu/GrTypes.h +--- firefox-56.0/gfx/skia/skia/include/gpu/GrTypes.h.big-endian 2017-07-31 18:20:55.000000000 +0200 ++++ firefox-56.0/gfx/skia/skia/include/gpu/GrTypes.h 2017-09-29 17:25:04.652876327 +0200 @@ -326,15 +326,13 @@ enum GrPixelConfig { static const int kGrPixelConfigCnt = kLast_GrPixelConfig + 1; @@ -79,35 +79,3 @@ diff -up firefox-55.0.3/gfx/skia/skia/include/gpu/GrTypes.h.big-endian firefox-5 #endif // Returns true if the pixel config is a GPU-specific compressed format -diff -up firefox-55.0.3/js/src/jit/none/MacroAssembler-none.h.big-endian firefox-55.0.3/js/src/jit/none/MacroAssembler-none.h ---- firefox-55.0.3/js/src/jit/none/MacroAssembler-none.h.big-endian 2017-07-31 18:20:48.000000000 +0200 -+++ firefox-55.0.3/js/src/jit/none/MacroAssembler-none.h 2017-09-01 15:03:38.257602029 +0200 -@@ -48,7 +48,7 @@ static constexpr Register WasmIonExitReg - - static constexpr Register WasmIonExitRegReturnData { Registers::invalid_reg }; - static constexpr Register WasmIonExitRegReturnType { Registers::invalid_reg }; --static constexpr Register WasmIonExitTlsReg = { Registers::invalid_reg }; -+static constexpr Register WasmIonExitTlsReg { Registers::invalid_reg }; - static constexpr Register WasmIonExitRegD0 { Registers::invalid_reg }; - static constexpr Register WasmIonExitRegD1 { Registers::invalid_reg }; - static constexpr Register WasmIonExitRegD2 { Registers::invalid_reg }; -@@ -153,6 +153,8 @@ class Assembler : public AssemblerShared - - static uintptr_t GetPointer(uint8_t*) { MOZ_CRASH(); } - -+ static bool HasRoundInstruction(RoundingMode) { return false; } -+ - void verifyHeapAccessDisassembly(uint32_t begin, uint32_t end, - const Disassembler::HeapAccess& heapAccess) - { -@@ -196,9 +198,7 @@ class MacroAssemblerNone : public Assemb - static bool SupportsSimd() { return false; } - static bool SupportsUnalignedAccesses() { return false; } - -- static bool HasRoundInstruction(RoundingMode) { return false; } -- -- void executableCopy(void*, bool) { MOZ_CRASH(); } -+ void executableCopy(void*, bool flushICache = true) { MOZ_CRASH(); } - void copyJumpRelocationTable(uint8_t*) { MOZ_CRASH(); } - void copyDataRelocationTable(uint8_t*) { MOZ_CRASH(); } - void copyPreBarrierTable(uint8_t*) { MOZ_CRASH(); } |