firefox: fix dbus & rust simd

This commit is contained in:
git-bruh 2023-10-09 19:49:40 +05:30
parent fd106bbcfd
commit 73f59121b8
No known key found for this signature in database
4 changed files with 99 additions and 1 deletions

View File

@ -2,5 +2,6 @@
49e95cf848c09df618587bb8286bed3ed9531e24554b9ef275f070201078dba7f5
ee279241e461011e2265086328d9d0a913ab938bb81aa97fa22b8b9b7edf5e33bc
8c0f419eb138061e67dbe2ac73e9c8332649fb90aacb57ac4f00d5de94c0cf23a8
3bfec8b5e7cb94481d94e1039a602e14564c8a6da5a28f089ce4a69d23f9e42bbb
80b730f4e9c58d33b26915b4a4c11e02443a07914cd7cea44ce17e93d0e0ba4cee
2914dbf6d620c3403fbe99fcd04618eaab4257b706470dec3bacc5952f79a0fa31
dd76eb81136108626ec35bb3a7fd187e091e77df759ff26f5b1827e9a6c314ad5f

View File

@ -54,3 +54,16 @@ diff -r fc5ee47dac3e toolkit/components/remote/nsRemoteService.cpp
# endif
#elif defined(XP_WIN)
mRemoteServer = MakeUnique<nsWinRemoteServer>();
--- a/widget/gtk/nsAppShell.cpp
+++ b/widget/gtk/nsAppShell.cpp
@@ -296,8 +296,10 @@
do_GetService(POWERMANAGERSERVICE_CONTRACTID);
if (powerManagerService) {
+#ifdef MOZ_ENABLE_DBUS
powerManagerService->AddWakeLockListener(
WakeLockListener::GetSingleton());
+#endif
} else {
NS_WARNING(
"Failed to retrieve PowerManagerService, wakelocks will be broken!");

File diff suppressed because one or more lines are too long

View File

@ -4,3 +4,4 @@ patches/musl-sandbox.patch
patches/no-atk.patch
patches/no-dbus.patch
patches/no-fribidi.patch
patches/rust-simd.patch