mirror of
https://abf.rosa.ru/djam/chromium-browser-stable-slava86.git
synced 2025-02-23 15:32:54 +00:00

- first build of v89 - replaced custom BUILD.gn with a patch of source code; we may just miss that custom BUILD.gn has stopped working, but we will explicitly detect the moment when applying patch fails (custom BUILD.gn may be restored later if it makes sense to reduce maintenance burden) - dropped build-with-pipewire-0.3.patch, upstream now supports both pipewire 0.2 and 0.3 - took updated chromium-40-sorenson-spark.patch and chromium-55-extra-media.patch from Mageia (I want to remove these patches actually) - dropped some patches with not needed compiler-related changes - spec clean up: + removed not used for a long time support of building with GCC (Chromium upstream has tight integration with clang, I don't think that we will ever need buildability with GCC, for now it may be broken and just makes the spec more complex) + removed switches of libpng and vaapi without changing their values to redcue complexity of the spec - removed not used VA-API patch, replaced with VA-API enhacements from ppa:saiarcot895/chromium-beta, including support of VA-API VDPAU backend on Nvidia proprietary drivers
53 lines
2.8 KiB
Diff
53 lines
2.8 KiB
Diff
Fix building with glib2.0 2.67 (unstable version)
|
|
|
|
DEBUG: FAILED: obj/ui/accessibility/platform/platform/ax_platform_atk_hyperlink.o
|
|
DEBUG: ../../ui/accessibility/platform/ax_platform_atk_hyperlink.cc:252:7: error: cannot initialize a parameter of type 'unsigned long *' with an rvalue of type 'typename std::remove_reference<decltype(*(&type_volatile))>::type *' (aka 'volatile unsigned long *')
|
|
DEBUG: if (g_once_init_enter(&type_volatile)) {
|
|
DEBUG: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
DEBUG: /usr/include/glib-2.0/glib/gthread.h:260:7: note: expanded from macro 'g_once_init_enter'
|
|
DEBUG: (!g_atomic_pointer_get (location) && \
|
|
DEBUG: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
DEBUG: /usr/include/glib-2.0/glib/gatomic.h:112:38: note: expanded from macro 'g_atomic_pointer_get'
|
|
DEBUG: __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
|
|
DEBUG: ^~~~~~~~~~~~~~~~~
|
|
DEBUG: 1 error generated.
|
|
|
|
diff --git a/ui/accessibility/platform/ax_platform_atk_hyperlink.cc b/ui/accessibility/platform/ax_platform_atk_hyperlink.cc
|
|
index be91def6b..73f202356 100644
|
|
--- a/ui/accessibility/platform/ax_platform_atk_hyperlink.cc
|
|
+++ b/ui/accessibility/platform/ax_platform_atk_hyperlink.cc
|
|
@@ -245,7 +245,7 @@ static void AXPlatformAtkHyperlinkInit(AXPlatformAtkHyperlink* self, gpointer) {
|
|
}
|
|
|
|
GType ax_platform_atk_hyperlink_get_type() {
|
|
- static volatile gsize type_volatile = 0;
|
|
+ static gsize type_volatile = 0;
|
|
|
|
AXPlatformNodeAuraLinux::EnsureGTypeInit();
|
|
|
|
diff --git a/ui/accessibility/platform/ax_platform_node_auralinux.cc b/ui/accessibility/platform/ax_platform_node_auralinux.cc
|
|
index 04125c6fd..6c64e5d8e 100644
|
|
--- a/ui/accessibility/platform/ax_platform_node_auralinux.cc
|
|
+++ b/ui/accessibility/platform/ax_platform_node_auralinux.cc
|
|
@@ -2274,7 +2274,7 @@ void ClassInit(gpointer class_pointer, gpointer /* class_data */) {
|
|
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
|
|
diff --git a/ui/gtk/gtk_key_bindings_handler.cc b/ui/gtk/gtk_key_bindings_handler.cc
|
|
index c663a2074..38a342484 100644
|
|
--- a/ui/gtk/gtk_key_bindings_handler.cc
|
|
+++ b/ui/gtk/gtk_key_bindings_handler.cc
|
|
@@ -141,7 +141,7 @@ void GtkKeyBindingsHandler::HandlerClassInit(HandlerClass* klass) {
|
|
}
|
|
|
|
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"),
|