forked from pool/nodejs-electron
- Update to version 17.1.2 * https://github.com/electron/electron/releases/tag/v17.1.2 * https://github.com/electron/electron/releases/tag/v17.1.1 * https://github.com/electron/electron/releases/tag/v17.1.0 * Added electron-17-breakpad-align-int-types.patch * Added chromium-98-compiler.patch * Added chromium-98-MiraclePtr-gcc-ice.patch * Added chromium-98-WaylandFrameManager-check.patch * Added chromium-98-EnumTable-crash.patch * Added chromium-ffmpeg-first-dts.patch * Added system-libdrm.patch * Removed chromium-94-ffmpeg-roll.patch * Removed chromium-95-compiler.patch * Removed chromium-96-CommandLine-include.patch * Removed chromium-96-DrmRenderNodePathFinder-include.patch * Removed chromium-96-RestrictedCookieManager-tuple.patch * Removed electron-16-node-fix-python3.10-import.patch - Fix building with gcc-12 * Added electron-16-fix-swiftshader-template.patch * Added electron-16-v8-missing-utility-include.patch - Fix building on Fedora 36 and newer - Updated ffmpeg patches OBS-URL: https://build.opensuse.org/request/show/962506 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nodejs-electron?expand=0&rev=20
128 lines
6.0 KiB
Diff
128 lines
6.0 KiB
Diff
Index: electron-17.1.0/third_party/angle/src/libANGLE/HandleAllocator.cpp
|
|
===================================================================
|
|
--- electron-17.1.0.orig/third_party/angle/src/libANGLE/HandleAllocator.cpp 2022-03-07 17:22:29.553295179 +0100
|
|
+++ electron-17.1.0/third_party/angle/src/libANGLE/HandleAllocator.cpp 2022-03-09 08:25:10.346569313 +0100
|
|
@@ -9,6 +9,7 @@
|
|
|
|
#include "libANGLE/HandleAllocator.h"
|
|
|
|
+#include <limits>
|
|
#include <algorithm>
|
|
#include <functional>
|
|
|
|
Index: electron-17.1.0/third_party/perfetto/src/trace_processor/containers/string_pool.cc
|
|
===================================================================
|
|
--- electron-17.1.0.orig/third_party/perfetto/src/trace_processor/containers/string_pool.cc 2022-03-07 17:28:24.814737660 +0100
|
|
+++ electron-17.1.0/third_party/perfetto/src/trace_processor/containers/string_pool.cc 2022-03-09 08:25:10.346569313 +0100
|
|
@@ -14,9 +14,9 @@
|
|
* limitations under the License.
|
|
*/
|
|
|
|
+#include <limits>
|
|
#include "src/trace_processor/containers/string_pool.h"
|
|
|
|
-#include <limits>
|
|
|
|
#include "perfetto/base/logging.h"
|
|
#include "perfetto/ext/base/utils.h"
|
|
Index: electron-17.1.0/third_party/perfetto/src/trace_processor/db/column.cc
|
|
===================================================================
|
|
--- electron-17.1.0.orig/third_party/perfetto/src/trace_processor/db/column.cc 2022-03-07 17:28:24.814737660 +0100
|
|
+++ electron-17.1.0/third_party/perfetto/src/trace_processor/db/column.cc 2022-03-09 08:25:10.346569313 +0100
|
|
@@ -14,6 +14,7 @@
|
|
* limitations under the License.
|
|
*/
|
|
|
|
+#include <limits>
|
|
#include "src/trace_processor/db/column.h"
|
|
|
|
#include "src/trace_processor/db/compare.h"
|
|
Index: electron-17.1.0/third_party/perfetto/src/trace_processor/types/variadic.cc
|
|
===================================================================
|
|
--- electron-17.1.0.orig/third_party/perfetto/src/trace_processor/types/variadic.cc 2022-03-07 17:28:24.838737758 +0100
|
|
+++ electron-17.1.0/third_party/perfetto/src/trace_processor/types/variadic.cc 2022-03-09 08:25:10.346569313 +0100
|
|
@@ -14,6 +14,7 @@
|
|
* limitations under the License.
|
|
*/
|
|
|
|
+#include <limits>
|
|
#include "src/trace_processor/types/variadic.h"
|
|
|
|
namespace perfetto {
|
|
Index: electron-17.1.0/ui/accessibility/platform/ax_platform_atk_hyperlink.cc
|
|
===================================================================
|
|
--- electron-17.1.0.orig/ui/accessibility/platform/ax_platform_atk_hyperlink.cc 2022-03-07 17:20:48.460884710 +0100
|
|
+++ electron-17.1.0/ui/accessibility/platform/ax_platform_atk_hyperlink.cc 2022-03-09 08:25:10.346569313 +0100
|
|
@@ -245,7 +245,7 @@ static void AXPlatformAtkHyperlinkInit(A
|
|
}
|
|
|
|
GType ax_platform_atk_hyperlink_get_type() {
|
|
- static volatile gsize type_volatile = 0;
|
|
+ static gsize type_volatile = 0;
|
|
|
|
AXPlatformNodeAuraLinux::EnsureGTypeInit();
|
|
|
|
Index: electron-17.1.0/ui/accessibility/platform/ax_platform_node_auralinux.cc
|
|
===================================================================
|
|
--- electron-17.1.0.orig/ui/accessibility/platform/ax_platform_node_auralinux.cc 2022-03-07 17:20:48.460884710 +0100
|
|
+++ electron-17.1.0/ui/accessibility/platform/ax_platform_node_auralinux.cc 2022-03-09 08:25:10.346569313 +0100
|
|
@@ -2275,7 +2275,7 @@ void ClassInit(gpointer class_pointer, g
|
|
GType GetType() {
|
|
AXPlatformNodeAuraLinux::EnsureGTypeInit();
|
|
|
|
- static volatile gsize type_volatile = 0;
|
|
+ static gsize type_volatile = 0;
|
|
if (g_once_init_enter(&type_volatile)) {
|
|
static const GTypeInfo type_info = {
|
|
sizeof(AXPlatformNodeAuraLinuxClass), // class_size
|
|
Index: electron-17.1.0/ui/gtk/gtk_key_bindings_handler.cc
|
|
===================================================================
|
|
--- electron-17.1.0.orig/ui/gtk/gtk_key_bindings_handler.cc 2022-03-07 17:20:48.816886156 +0100
|
|
+++ electron-17.1.0/ui/gtk/gtk_key_bindings_handler.cc 2022-03-09 08:25:10.346569313 +0100
|
|
@@ -120,7 +120,7 @@ void GtkKeyBindingsHandler::HandlerClass
|
|
}
|
|
|
|
GType GtkKeyBindingsHandler::HandlerGetType() {
|
|
- static volatile gsize type_id_volatile = 0;
|
|
+ static gsize type_id_volatile = 0;
|
|
if (g_once_init_enter(&type_id_volatile)) {
|
|
GType type_id = g_type_register_static_simple(
|
|
GTK_TYPE_TEXT_VIEW, g_intern_static_string("GtkKeyBindingsHandler"),
|
|
Index: electron-17.1.0/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc
|
|
===================================================================
|
|
--- electron-17.1.0.orig/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc 2022-03-07 17:20:31.788817015 +0100
|
|
+++ electron-17.1.0/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc 2022-03-09 08:25:10.346569313 +0100
|
|
@@ -2,6 +2,7 @@
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
+#include <cstddef>
|
|
#include "chrome/browser/ui/bookmarks/bookmark_tab_helper.h"
|
|
|
|
#include "base/observer_list.h"
|
|
Index: electron-17.1.0/components/bookmarks/browser/bookmark_expanded_state_tracker.cc
|
|
===================================================================
|
|
--- electron-17.1.0.orig/components/bookmarks/browser/bookmark_expanded_state_tracker.cc 2022-03-07 17:20:33.308823187 +0100
|
|
+++ electron-17.1.0/components/bookmarks/browser/bookmark_expanded_state_tracker.cc 2022-03-09 08:25:10.346569313 +0100
|
|
@@ -2,6 +2,7 @@
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
+#include <cstddef>
|
|
#include "components/bookmarks/browser/bookmark_expanded_state_tracker.h"
|
|
|
|
#include <stdint.h>
|
|
Index: electron-17.1.0/components/bookmarks/browser/base_bookmark_model_observer.cc
|
|
===================================================================
|
|
--- electron-17.1.0.orig/components/bookmarks/browser/base_bookmark_model_observer.cc 2022-03-07 17:20:33.308823187 +0100
|
|
+++ electron-17.1.0/components/bookmarks/browser/base_bookmark_model_observer.cc 2022-03-09 08:25:10.346569313 +0100
|
|
@@ -2,6 +2,8 @@
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
+#include <cstddef>
|
|
+
|
|
#include "components/bookmarks/browser/base_bookmark_model_observer.h"
|
|
|
|
namespace bookmarks {
|