pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/firefox
Module Name: pkgsrc
Committed By: ryoon
Date: Tue Aug 15 01:24:47 UTC 2017
Modified Files:
pkgsrc/www/firefox: distinfo
pkgsrc/www/firefox/patches: patch-toolkit_moz.configure
Added Files:
pkgsrc/www/firefox/patches: patch-gfx_2d_ScaledFontBase.cpp
patch-js_src_jit_ExecutableAllocator.h
patch-js_src_jit_none_MacroAssembler-none.h
Log Message:
Fix build under bigendian architectures from Jan Beich
To generate a diff of this commit:
cvs rdiff -u -r1.288 -r1.289 pkgsrc/www/firefox/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/www/firefox/patches/patch-gfx_2d_ScaledFontBase.cpp
cvs rdiff -u -r0 -r1.5 \
pkgsrc/www/firefox/patches/patch-js_src_jit_ExecutableAllocator.h
cvs rdiff -u -r0 -r1.3 \
pkgsrc/www/firefox/patches/patch-js_src_jit_none_MacroAssembler-none.h
cvs rdiff -u -r1.4 -r1.5 \
pkgsrc/www/firefox/patches/patch-toolkit_moz.configure
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/firefox/distinfo
diff -u pkgsrc/www/firefox/distinfo:1.288 pkgsrc/www/firefox/distinfo:1.289
--- pkgsrc/www/firefox/distinfo:1.288 Sat Aug 12 04:58:45 2017
+++ pkgsrc/www/firefox/distinfo Tue Aug 15 01:24:47 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.288 2017/08/12 04:58:45 ryoon Exp $
+$NetBSD: distinfo,v 1.289 2017/08/15 01:24:47 ryoon Exp $
SHA1 (firefox-55.0.1.source.tar.xz) = 8ec2a864e277b4acc31ea96806aae3b90f1a4038
RMD160 (firefox-55.0.1.source.tar.xz) = 38156cc7207d0ac4c9df2d5f997912aef40c22b1
@@ -39,6 +39,7 @@ SHA1 (patch-dom_media_gtest_moz.build) =
SHA1 (patch-dom_media_moz.build) = 844dbb94463b8aab11649a5aa11142de0179d86c
SHA1 (patch-dom_media_platforms_ffmpeg_ffvpx_FFVPXRuntimeLinker.cpp) = f2965930c50961b42576a983e93a08d67da50a2a
SHA1 (patch-extensions_spellcheck_hunspell_glue_mozHunspell.cpp) = 30abff0aaabff07e13939a1571cefc5216760109
+SHA1 (patch-gfx_2d_ScaledFontBase.cpp) = 9684d54aa70e3b9b968f121287611cdd9e277f94
SHA1 (patch-gfx_cairo_libpixman_src_pixman-arm-neon-asm.S) = 6e91ca436b73affe42ed4e683b3400beb28c4bc6
SHA1 (patch-gfx_gl_GLContextProviderGLX.cpp) = 2cc997cab71a84c1f50a791693519a0626564426
SHA1 (patch-gfx_graphite2_moz-gr-update.sh) = 09eb2fa66109d38a3aedc940fcaaee5f91e216ae
@@ -61,7 +62,9 @@ SHA1 (patch-ipc_glue_CrossProcessSemapho
SHA1 (patch-ipc_glue_CrossProcessSemaphore__posix.cpp) = d1afeb74af97cf30c520b42a8d444ff95ef592a9
SHA1 (patch-ipc_glue_GeckoChildProcessHost.cpp) = 260c29bacd8bf265951b7a412f850bf2b292c836
SHA1 (patch-js_src_build_moz.build) = 4597a427262d0eb6ce8d14c0f557bfbe3f053e61
+SHA1 (patch-js_src_jit_ExecutableAllocator.h) = aaa7d4cf5b5464db6ed015e63d616adaa59a835d
SHA1 (patch-js_src_jit_arm_Architecture-arm.cpp) = f0b554c169643b8447b4f29168d61ea257b18782
+SHA1 (patch-js_src_jit_none_MacroAssembler-none.h) = e443b009008e7aedbe1d3595021ecac3e27a99fd
SHA1 (patch-js_xpconnect_src_XPCConvert.cpp) = 915777e9bb5366be41866cdb6ea0ad2b1c006dde
SHA1 (patch-js_xpconnect_src_xpcprivate.h) = 97a221c76593be712f670aa409f2f1ad5dc20628
SHA1 (patch-media_libcubeb_gtest_moz.build) = ebb4be6e6bca4a0ed6858516ec9fdb7828bbe2e1
@@ -99,7 +102,7 @@ SHA1 (patch-toolkit_components_telemetry
SHA1 (patch-toolkit_components_terminator_nsTerminator.cpp) = 5b6d2e5c9f685d32894898d3ef3aec09a1a1e5ce
SHA1 (patch-toolkit_library_gtest_moz.build) = a8ac2a2930ac00f891a695639acfadef2679a599
SHA1 (patch-toolkit_library_moz.build) = f77301bd81d37e7a599dbff57fba47428e4a00e2
-SHA1 (patch-toolkit_moz.configure) = 78388529e8450d1db0c3f58848d7466a354ddf4b
+SHA1 (patch-toolkit_moz.configure) = 2647f5b2c278d5d710a0faade7b48ccc2fbfc11f
SHA1 (patch-toolkit_toolkit.mozbuild) = e7c56631a061f80bfb5a6c8825ba42d5f2c1e76a
SHA1 (patch-toolkit_xre_glxtest.cpp) = cf048491778610454b914400e53072afedd96e7b
SHA1 (patch-toolkit_xre_nsAppRunner.cpp) = 40c3822ed227108fa6d90323dc19828d5e3ac996
Index: pkgsrc/www/firefox/patches/patch-toolkit_moz.configure
diff -u pkgsrc/www/firefox/patches/patch-toolkit_moz.configure:1.4 pkgsrc/www/firefox/patches/patch-toolkit_moz.configure:1.5
--- pkgsrc/www/firefox/patches/patch-toolkit_moz.configure:1.4 Thu Aug 10 14:46:15 2017
+++ pkgsrc/www/firefox/patches/patch-toolkit_moz.configure Tue Aug 15 01:24:47 2017
@@ -1,6 +1,6 @@
-$NetBSD: patch-toolkit_moz.configure,v 1.4 2017/08/10 14:46:15 ryoon Exp $
+$NetBSD: patch-toolkit_moz.configure,v 1.5 2017/08/15 01:24:47 ryoon Exp $
-* Enable widevide CDM for NetBSD
+* skia part: support bigendian architectures
--- toolkit/moz.configure.orig 2017-07-31 16:20:52.000000000 +0000
+++ toolkit/moz.configure
@@ -76,3 +76,20 @@ $NetBSD: patch-toolkit_moz.configure,v 1
# if nothing is specified, default to just building on Nightly
build_webrender = milestone.is_nightly
elif value == 'build':
+@@ -954,11 +975,11 @@ add_old_configure_assignment('NECKO_PROT
+ # ==============================================================
+ option('--disable-skia', help='Disable use of Skia')
+
+-@depends('--disable-skia')
+-def skia(value):
+- if not value:
+- die('--disable-skia is not supported anymore')
+- else:
++@depends('--disable-skia', target)
++def skia(value, target):
++ if value.origin == 'default' and target.endianness == 'big':
++ return None
++ if value:
+ return True
+
+ set_config('MOZ_ENABLE_SKIA', skia)
Added files:
Index: pkgsrc/www/firefox/patches/patch-gfx_2d_ScaledFontBase.cpp
diff -u /dev/null pkgsrc/www/firefox/patches/patch-gfx_2d_ScaledFontBase.cpp:1.1
--- /dev/null Tue Aug 15 01:24:47 2017
+++ pkgsrc/www/firefox/patches/patch-gfx_2d_ScaledFontBase.cpp Tue Aug 15 01:24:47 2017
@@ -0,0 +1,24 @@
+$NetBSD: patch-gfx_2d_ScaledFontBase.cpp,v 1.1 2017/08/15 01:24:47 ryoon Exp $
+
+* Support bigendian architectures
+
+--- gfx/2d/ScaledFontBase.cpp.orig 2017-07-31 16:20:54.000000000 +0000
++++ gfx/2d/ScaledFontBase.cpp
+@@ -212,14 +212,16 @@ ScaledFontBase::CopyGlyphsToBuilder(cons
+ cairoPath->AppendPathToBuilder(builder);
+ return;
+ }
++#endif
++#ifdef USE_SKIA
+ if (backendType == BackendType::RECORDING) {
+ SkPath skPath = GetSkiaPathForGlyphs(aBuffer);
+ RefPtr<Path> path = MakeAndAddRef<PathSkia>(skPath, FillRule::FILL_WINDING);
+ path->StreamToSink(aBuilder);
+ return;
+ }
+- MOZ_ASSERT(false, "Path not being copied");
+ #endif
++ MOZ_ASSERT(false, "Path not being copied");
+ }
+
+ void
Index: pkgsrc/www/firefox/patches/patch-js_src_jit_ExecutableAllocator.h
diff -u /dev/null pkgsrc/www/firefox/patches/patch-js_src_jit_ExecutableAllocator.h:1.5
--- /dev/null Tue Aug 15 01:24:47 2017
+++ pkgsrc/www/firefox/patches/patch-js_src_jit_ExecutableAllocator.h Tue Aug 15 01:24:47 2017
@@ -0,0 +1,15 @@
+$NetBSD: patch-js_src_jit_ExecutableAllocator.h,v 1.5 2017/08/15 01:24:47 ryoon Exp $
+
+* Support bigendian architectures
+
+--- js/src/jit/ExecutableAllocator.h.orig 2017-06-15 20:52:05.000000000 +0000
++++ js/src/jit/ExecutableAllocator.h
+@@ -219,7 +219,7 @@ class ExecutableAllocator
+
+ static void poisonCode(JSRuntime* rt, JitPoisonRangeVector& ranges);
+
+-#if defined(JS_CODEGEN_X86) || defined(JS_CODEGEN_X64) || defined(JS_SIMULATOR_ARM64)
++#if defined(JS_CODEGEN_X86) || defined(JS_CODEGEN_X64) || defined(JS_SIMULATOR_ARM64) || defined(JS_CODEGEN_NONE)
+ static void cacheFlush(void*, size_t)
+ {
+ }
Index: pkgsrc/www/firefox/patches/patch-js_src_jit_none_MacroAssembler-none.h
diff -u /dev/null pkgsrc/www/firefox/patches/patch-js_src_jit_none_MacroAssembler-none.h:1.3
--- /dev/null Tue Aug 15 01:24:47 2017
+++ pkgsrc/www/firefox/patches/patch-js_src_jit_none_MacroAssembler-none.h Tue Aug 15 01:24:47 2017
@@ -0,0 +1,35 @@
+$NetBSD: patch-js_src_jit_none_MacroAssembler-none.h,v 1.3 2017/08/15 01:24:47 ryoon Exp $
+
+* Support bigendian architectures
+
+--- js/src/jit/none/MacroAssembler-none.h.orig 2017-07-31 16:20:48.000000000 +0000
++++ js/src/jit/none/MacroAssembler-none.h
+@@ -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 = true) { MOZ_CRASH(); }
+ void copyJumpRelocationTable(uint8_t*) { MOZ_CRASH(); }
+ void copyDataRelocationTable(uint8_t*) { MOZ_CRASH(); }
+ void copyPreBarrierTable(uint8_t*) { MOZ_CRASH(); }
Home |
Main Index |
Thread Index |
Old Index