Hello community, here is the log from the commit of package chromium for openSUSE:Factory checked in at 2020-11-23 16:35:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/chromium (Old) and /work/SRC/openSUSE:Factory/.chromium.new.5913 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "chromium" Mon Nov 23 16:35:20 2020 rev:275 rq:849507 version:87.0.4280.66 Changes: -------- --- /work/SRC/openSUSE:Factory/chromium/chromium.changes 2020-11-12 22:35:57.701934972 +0100 +++ /work/SRC/openSUSE:Factory/.chromium.new.5913/chromium.changes 2020-11-23 18:39:42.172697466 +0100 @@ -1,0 +2,45 @@ +Thu Nov 19 21:17:10 UTC 2020 - Callum Farmer <[email protected]> + +- Added patches: + - chromium-gcc11.patch + - chromium-86-fix-vaapi-on-intel.patch + - chromium-87-compiler.patch + - chromium-87-CursorFactory-include.patch + - chromium-87-openscreen-include.patch + - chromium-87-ozone-deps.patch + - chromium-87-ServiceWorkerContainerHost-crash.patch + - chromium-87-webcodecs-deps.patch + - chromium-88-vaapi-attribute.patch + - chromium-lp152-missing-includes.patch +- Removed patches: + - chromium-86-ServiceWorkerRunningInfo-noexcept.patch + - chromium-86-compiler.patch + - fix-invalid-end-iterator-usage-in-CookieMonster.patch + - old-libva.patch +- Update to 87.0.4280.66 bsc#1178923 + - Wayland support by default + - CVE-2020-16018: Use after free in payments. + - CVE-2020-16019: Inappropriate implementation in filesystem. + - CVE-2020-16020: Inappropriate implementation in cryptohome. + - CVE-2020-16021: Race in ImageBurner. + - CVE-2020-16022: Insufficient policy enforcement in networking. + - CVE-2020-16015: Insufficient data validation in WASM. R + - CVE-2020-16014: Use after free in PPAPI. + - CVE-2020-16023: Use after free in WebCodecs. + - CVE-2020-16024: Heap buffer overflow in UI. + - CVE-2020-16025: Heap buffer overflow in clipboard. + - CVE-2020-16026: Use after free in WebRTC. + - CVE-2020-16027: Insufficient policy enforcement in developer tools. R + - CVE-2020-16028: Heap buffer overflow in WebRTC. + - CVE-2020-16029: Inappropriate implementation in PDFium. + - CVE-2020-16030: Insufficient data validation in Blink. + - CVE-2019-8075: Insufficient data validation in Flash. + - CVE-2020-16031: Incorrect security UI in tab preview. + - CVE-2020-16032: Incorrect security UI in sharing. + - CVE-2020-16033: Incorrect security UI in WebUSB. + - CVE-2020-16034: Inappropriate implementation in WebRTC. + - CVE-2020-16035: Insufficient data validation in cros-disks. + - CVE-2020-16012: Side-channel information leakage in graphics. + - CVE-2020-16036: Inappropriate implementation in cookies. + +------------------------------------------------------------------- Old: ---- chromium-86-ServiceWorkerRunningInfo-noexcept.patch chromium-86-compiler.patch chromium-86.0.4240.198.tar.xz fix-invalid-end-iterator-usage-in-CookieMonster.patch old-libva.patch New: ---- chromium-86-fix-vaapi-on-intel.patch chromium-87-CursorFactory-include.patch chromium-87-ServiceWorkerContainerHost-crash.patch chromium-87-compiler.patch chromium-87-openscreen-include.patch chromium-87-ozone-deps.patch chromium-87-webcodecs-deps.patch chromium-87.0.4280.66.tar.xz chromium-88-vaapi-attribute.patch chromium-gcc11.patch chromium-lp152-missing-includes.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ chromium.spec ++++++ --- /var/tmp/diff_new_pack.wxy8i0/_old 2020-11-23 18:39:48.064703551 +0100 +++ /var/tmp/diff_new_pack.wxy8i0/_new 2020-11-23 18:39:48.068703555 +0100 @@ -22,11 +22,9 @@ %if 0%{?suse_version} > 1500 %bcond_without system_icu %bcond_with system_vpx -%bcond_with wayland %else %bcond_with system_icu %bcond_with system_vpx -%bcond_with wayland %endif %if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150200 %bcond_without system_harfbuzz @@ -51,7 +49,7 @@ %endif %bcond_with clang Name: chromium -Version: 86.0.4240.198 +Version: 87.0.4280.66 Release: 0 Summary: Google's open source browser project License: BSD-3-Clause AND LGPL-2.1-or-later @@ -84,26 +82,32 @@ Patch12: system-libdrm.patch Patch13: chromium-disable-parallel-gold.patch Patch14: chromium-lp151-old-drm.patch -Patch15: fix-invalid-end-iterator-usage-in-CookieMonster.patch -# gentoo patchset +# gentoo/fedora/arch patchset Patch50: chromium-78-protobuf-RepeatedPtrField-export.patch Patch51: chromium-79-gcc-protobuf-alignas.patch Patch52: chromium-80-QuicStreamSendBuffer-deleted-move-constructor.patch Patch53: chromium-84-blink-disable-clang-format.patch -Patch54: chromium-86-compiler.patch +Patch54: chromium-87-compiler.patch Patch55: chromium-86-ConsumeDurationNumber-constexpr.patch Patch56: chromium-86-ImageMemoryBarrierData-init.patch Patch57: chromium-86-nearby-explicit.patch Patch58: chromium-86-nearby-include.patch -Patch59: chromium-86-ServiceWorkerRunningInfo-noexcept.patch Patch60: chromium-86-f_seal.patch +Patch61: chromium-gcc11.patch +Patch62: chromium-87-CursorFactory-include.patch +Patch63: chromium-87-openscreen-include.patch +Patch64: chromium-87-ServiceWorkerContainerHost-crash.patch +Patch65: chromium-88-vaapi-attribute.patch +Patch66: chromium-87-ozone-deps.patch +Patch67: chromium-87-webcodecs-deps.patch +Patch68: chromium-lp152-missing-includes.patch # Google seem not too keen on merging this but GPU accel is quite important # https://chromium-review.googlesource.com/c/chromium/src/+/532294 # https://github.com/saiarcot895/chromium-ubuntu-build/tree/master/debian/patches # Recreated from scratch to be smaller and use system the orginal switches # (default on) compared to the PR Patch100: chromium-vaapi.patch -Patch101: old-libva.patch +Patch102: chromium-86-fix-vaapi-on-intel.patch # PATCH-FIX-SUSE: allow prop codecs to be set with chromium branding Patch200: chromium-prop-codecs.patch BuildRequires: SDL-devel @@ -228,17 +232,18 @@ Obsoletes: chromium-ffmpegsumo # no 32bit supported and it takes ages to build ExcludeArch: %{ix86} %{arm} ppc ppc64 ppc64le s390 s390x +%if 0%{?suse_version} <= 1500 +BuildRequires: pkgconfig(glproto) +%endif %if %{with pipewire} BuildRequires: pkgconfig(libpipewire-0.3) BuildRequires: pkgconfig(libspa-0.2) %endif -%if %{with wayland} BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-cursor) BuildRequires: pkgconfig(wayland-scanner) BuildRequires: pkgconfig(wayland-server) BuildRequires: pkgconfig(xkbcommon) -%endif %ifnarch aarch64 # Current tcmalloc does not support AArch64 BuildRequires: pkgconfig(libtcmalloc) @@ -357,6 +362,7 @@ third_party/devscripts third_party/devtools-frontend third_party/devtools-frontend/src/front_end/third_party/acorn + third_party/devtools-frontend/src/front_end/third_party/axe-core third_party/devtools-frontend/src/front_end/third_party/chromium third_party/devtools-frontend/src/front_end/third_party/codemirror third_party/devtools-frontend/src/front_end/third_party/fabricjs @@ -366,6 +372,7 @@ third_party/devtools-frontend/src/front_end/third_party/lit-html third_party/devtools-frontend/src/front_end/third_party/lodash-isequal third_party/devtools-frontend/src/front_end/third_party/marked + third_party/devtools-frontend/src/front_end/third_party/puppeteer third_party/devtools-frontend/src/front_end/third_party/wasmparser third_party/devtools-frontend/src/third_party third_party/dom_distiller_js @@ -416,6 +423,7 @@ third_party/node/node_modules/polymer-bundler/lib/third_party/UglifyJS2 third_party/one_euro_filter third_party/opencv + third_party/openh264 third_party/openscreen third_party/openscreen/src/third_party/mozilla third_party/openscreen/src/third_party/tinycbor/src/src @@ -424,7 +432,6 @@ third_party/pdfium/third_party/agg23 third_party/pdfium/third_party/base third_party/pdfium/third_party/bigint - third_party/pdfium/third_party/eu-strip third_party/pdfium/third_party/freetype third_party/pdfium/third_party/lcms third_party/pdfium/third_party/libopenjpeg20 @@ -436,6 +443,7 @@ third_party/ply third_party/polymer third_party/private-join-and-compute + third_party/private_membership third_party/protobuf third_party/protobuf/third_party/six third_party/pyjson5 @@ -444,6 +452,8 @@ third_party/s2cellid third_party/schema_org third_party/securemessage + third_party/shaka-player + third_party/shell-encryption third_party/simplejson third_party/skia third_party/skia/third_party/skcms @@ -465,6 +475,7 @@ third_party/ukey2 third_party/usrsctp third_party/vulkan + third_party/wayland third_party/web-animations-js third_party/webdriver third_party/webrtc @@ -489,13 +500,6 @@ v8/third_party/inspector_protocol v8/third_party/v8/builtins ) -%if %{with wayland} -keeplibs+=( - third_party/v4l-utils - third_party/wayland - third_party/wayland-protocols -) -%endif %if !%{with system_harfbuzz} keeplibs+=( third_party/freetype @@ -540,10 +544,8 @@ export CXXFLAGS="${CXXFLAGS} -Wno-ignored-attributes" # ingore new gcc 8 warnings that aren't yet handled upstream export CXXFLAGS="${CXXFLAGS} -Wno-address -Wno-dangling-else -Wno-class-memaccess -Wno-invalid-offsetof -Wno-packed-not-aligned" -%if %{with wayland} # for wayland -export CXXFLAGS="${CXXFLAGS} -I/usr/include/libxkbcommon" -%endif +export CXXFLAGS="${CXXFLAGS} -I/usr/include/wayland -I/usr/include/libxkbcommon" export CFLAGS="${CXXFLAGS}" export CC=gcc export CXX=g++ @@ -650,16 +652,6 @@ myconf_gn+=" rtc_use_pipewire=true rtc_link_pipewire=true" myconf_gn+=" rtc_use_pipewire_version=\"0.3\"" %endif -# ozone stuff -%if %{with wayland} -myconf_gn+=" use_system_libdrm=true" -myconf_gn+=" use_system_minigbm=true use_xkbcommon=true" -myconf_gn+=" use_ozone=true ozone_auto_platforms=false" -myconf_gn+=" ozone_platform=\"x11\" ozone_platform_x11=true ozone_platform_gbm=true" -myconf_gn+=" ozone_platform_wayland=true ozone_platform_headless=true" -# use_v4l2_codec - uses patches in kernel-headers present on chromeos only -myconf_gn+=" use_v4lplugin=true use_v4l2_codec=false" -%endif %if %{with clang} myconf_gn+=" is_clang=true clang_base_path=\"/usr\" clang_use_chrome_plugins=false" %else ++++++ chromium-86-fix-vaapi-on-intel.patch ++++++ diff -up chromium-86.0.4240.75/media/gpu/vaapi/vaapi_video_decode_accelerator.cc.vaapi-intel-fix chromium-86.0.4240.75/media/gpu/vaapi/vaapi_video_decode_accelerator.cc --- chromium-86.0.4240.75/media/gpu/vaapi/vaapi_video_decode_accelerator.cc.vaapi-intel-fix 2020-10-07 12:38:47.000000000 -0400 +++ chromium-86.0.4240.75/media/gpu/vaapi/vaapi_video_decode_accelerator.cc 2020-10-14 16:20:46.938556042 -0400 @@ -58,6 +58,7 @@ unsigned int GetVaFormatForVideoCodecPro return VA_RT_FORMAT_YUV420; } +#if defined(OS_ANDROID) || defined(OS_CHROMEOS) // Returns true if the CPU is an Intel Gemini Lake or later (including Kaby // Lake) Cpu platform id's are referenced from the following file in kernel // source arch/x86/include/asm/intel-family.h @@ -70,6 +71,7 @@ bool IsGeminiLakeOrLater() { cpuid.model() >= kGeminiLakeModelId; return is_geminilake_or_later; } +#endif } // namespace @@ -1214,6 +1216,8 @@ VaapiVideoDecodeAccelerator::DecideBuffe if (output_mode_ == VideoDecodeAccelerator::Config::OutputMode::IMPORT) return BufferAllocationMode::kNormal; +#if defined(OS_ANDROID) || defined(OS_CHROMEOS) + // Move this to chromeOs only as it is causing problem in some intel linux drivers // On Gemini Lake, Kaby Lake and later we can pass to libva the client's // PictureBuffers to decode onto, which skips the use of the Vpp unit and its // associated format reconciliation copy, avoiding all internal buffer @@ -1229,6 +1233,7 @@ VaapiVideoDecodeAccelerator::DecideBuffe num_extra_pics_ = 3; return BufferAllocationMode::kNone; } +#endif // For H.264 on older devices, another +1 is experimentally needed for // high-to-high resolution changes. ++++++ chromium-87-CursorFactory-include.patch ++++++ From c4f6e8cd34a245c3640b86a91c9694d69594d80b Mon Sep 17 00:00:00 2001 From: Stephan Hartmann <[email protected]> Date: Wed, 16 Sep 2020 15:05:02 +0000 Subject: [PATCH] IWYU: ui::CursorFactory is now required independent from Ozone --- .../ui/views/chrome_browser_main_extra_parts_views_linux.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc b/chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc index 5a97d61..ccedd2a 100644 --- a/chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc +++ b/chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc @@ -7,6 +7,7 @@ #include "chrome/browser/themes/theme_service_aura_linux.h" #include "chrome/browser/ui/browser_list.h" #include "chrome/browser/ui/views/theme_profile_key.h" +#include "ui/base/cursor/cursor_factory.h" #include "ui/display/screen.h" #include "ui/views/linux_ui/linux_ui.h" @@ -15,10 +16,6 @@ #include "ui/gtk/gtk_ui_delegate.h" #endif -#if defined(USE_OZONE) -#include "ui/base/cursor/cursor_factory.h" -#endif - #if defined(USE_X11) #include "ui/gfx/x/connection.h" // nogncheck #if BUILDFLAG(USE_GTK) -- 2.26.2 ++++++ chromium-87-ServiceWorkerContainerHost-crash.patch ++++++ Bug: https://bugs.gentoo.org/750038 Upstream bug: https://crbug.com/1135070 --- a/content/browser/service_worker/service_worker_container_host.cc +++ b/content/browser/service_worker/service_worker_container_host.cc @@ -626,6 +626,16 @@ int64_t registration_id) { DCHECK_CURRENTLY_ON(ServiceWorkerContext::GetCoreThreadId()); DCHECK(base::Contains(registration_object_hosts_, registration_id)); + + // ServiceWorkerRegistrationObjectHost to be deleted may have the last reference to + // ServiceWorkerRegistration that indirectly owns this ServiceWorkerContainerHost. + // If we erase the object host directly from the map, |this| could be deleted + // during the map operation and may crash. To avoid the case, we take the + // ownership of the object host from the map first, and then erase the entry + // from the map. See https://crbug.com/1135070 for details. + std::unique_ptr<ServiceWorkerRegistrationObjectHost> to_be_deleted = + std::move(registration_object_hosts_[registration_id]); + DCHECK(to_be_deleted); registration_object_hosts_.erase(registration_id); } ++++++ chromium-86-compiler.patch -> chromium-87-compiler.patch ++++++ --- /work/SRC/openSUSE:Factory/chromium/chromium-86-compiler.patch 2020-10-18 16:28:36.836682904 +0200 +++ /work/SRC/openSUSE:Factory/.chromium.new.5913/chromium-87-compiler.patch 2020-11-23 18:38:55.700649473 +0100 @@ -1,14 +1,14 @@ From f4d0b0eb899005b4b8b6388e1d8bb82cc0018fc8 Mon Sep 17 00:00:00 2001 From: Mike Gilbert <[email protected]> -Date: Thu, 20 Aug 2020 19:12:21 +0000 +Date: Thu, 1 Oct 2020 18:14:51 +0000 Subject: [PATCH] Disable various compiler configs --- - build/config/compiler/BUILD.gn | 52 +++++++++++----------------------- - 1 file changed, 17 insertions(+), 35 deletions(-) + build/config/compiler/BUILD.gn | 71 ++++++++-------------------------- + 1 file changed, 17 insertions(+), 54 deletions(-) diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn -index 06c166f..fe5d340 100644 +index 4f6461b..b5d2c77 100644 --- a/build/config/compiler/BUILD.gn +++ b/build/config/compiler/BUILD.gn @@ -254,8 +254,6 @@ config("compiler") { @@ -20,7 +20,7 @@ ":compiler_codegen", ":compiler_deterministic", ] -@@ -488,17 +486,6 @@ config("compiler") { +@@ -480,36 +478,6 @@ config("compiler") { ldflags += [ "-Wl,-z,keep-text-section-prefix" ] } @@ -33,12 +33,31 @@ - "-mllvm", - "-instcombine-lower-dbg-declare=0", - ] +- +- # Pinned clang has enable-dse-memoryssa enabled by default but it's broken, +- # so we have to force it off. +- # Trunk clang has it disabled by default but it might work, so we force it +- # on so the ToT bots can check if it works now. +- if (!llvm_force_head_revision) { +- cflags += [ +- # TODO(https://crbug.com/1127713): Investigate, remove. +- "-mllvm", +- "-enable-dse-memoryssa=false", +- ] +- } +- if (llvm_force_head_revision) { +- cflags += [ +- # TODO(https://crbug.com/1127713): Investigate, remove. +- "-mllvm", +- "-enable-dse-memoryssa=true", +- ] +- } - } - # C11/C++11 compiler flags setup. # --------------------------- if (is_linux || is_chromeos || is_android || (is_nacl && is_clang) || -@@ -1575,7 +1562,7 @@ config("chromium_code") { +@@ -1571,7 +1539,7 @@ config("chromium_code") { defines = [ "_HAS_NODISCARD" ] } } else { @@ -47,7 +66,7 @@ if (treat_warnings_as_errors) { cflags += [ "-Werror" ] -@@ -1584,10 +1571,6 @@ config("chromium_code") { +@@ -1580,10 +1548,6 @@ config("chromium_code") { # well. ldflags = [ "-Werror" ] } @@ -58,7 +77,7 @@ # In Chromium code, we define __STDC_foo_MACROS in order to get the # C99 macros on Mac and Linux. -@@ -1596,15 +1579,6 @@ config("chromium_code") { +@@ -1592,15 +1556,6 @@ config("chromium_code") { "__STDC_FORMAT_MACROS", ] @@ -74,7 +93,7 @@ if (is_mac) { cflags_objc = [ "-Wobjc-missing-property-synthesis" ] cflags_objcc = [ "-Wobjc-missing-property-synthesis" ] -@@ -2002,7 +1976,8 @@ config("default_stack_frames") { +@@ -1998,7 +1953,8 @@ config("default_stack_frames") { } # Default "optimization on" config. @@ -84,7 +103,7 @@ if (is_win) { if (chrome_pgo_phase != 2) { # Favor size over speed, /O1 must be before the common flags. -@@ -2037,7 +2012,8 @@ config("optimize") { +@@ -2033,7 +1989,8 @@ config("optimize") { } # Turn off optimizations. @@ -94,7 +113,7 @@ if (is_win) { cflags = [ "/Od", # Disable optimization. -@@ -2077,7 +2053,8 @@ config("no_optimize") { +@@ -2073,7 +2030,8 @@ config("no_optimize") { # Turns up the optimization level. On Windows, this implies whole program # optimization and link-time code generation which is very expensive and should # be used sparingly. @@ -104,7 +123,7 @@ if (is_nacl && is_nacl_irt) { # The NaCl IRT is a special case and always wants its own config. # Various components do: -@@ -2109,7 +2086,8 @@ config("optimize_max") { +@@ -2105,7 +2063,8 @@ config("optimize_max") { # # TODO(crbug.com/621335) - rework how all of these configs are related # so that we don't need this disclaimer. @@ -114,7 +133,7 @@ if (is_nacl && is_nacl_irt) { # The NaCl IRT is a special case and always wants its own config. # Various components do: -@@ -2134,7 +2112,8 @@ config("optimize_speed") { +@@ -2130,7 +2089,8 @@ config("optimize_speed") { } } @@ -124,7 +143,7 @@ cflags = [ "-O1" ] + common_optimize_on_cflags ldflags = common_optimize_on_ldflags visibility = [ ":default_optimization" ] -@@ -2251,7 +2230,8 @@ config("win_pdbaltpath") { +@@ -2247,7 +2207,8 @@ config("win_pdbaltpath") { } # Full symbols. @@ -134,7 +153,7 @@ if (is_win) { if (is_clang) { cflags = [ "/Z7" ] # Debug information in the .obj files. -@@ -2346,7 +2326,8 @@ config("symbols") { +@@ -2355,7 +2316,8 @@ config("symbols") { # Minimal symbols. # This config guarantees to hold symbol for stack trace which are shown to user # when crash happens in unittests running on buildbot. @@ -144,7 +163,7 @@ if (is_win) { # Functions, files, and line tables only. cflags = [] -@@ -2399,7 +2380,8 @@ config("minimal_symbols") { +@@ -2408,7 +2370,8 @@ config("minimal_symbols") { # This configuration contains function names only. That is, the compiler is # told to not generate debug information and the linker then just puts function # names in the final debug information. ++++++ chromium-87-openscreen-include.patch ++++++ From 0c0af4cabb7490db473cd2c28f069956974a4d98 Mon Sep 17 00:00:00 2001 From: Stephan Hartmann <[email protected]> Date: Fri, 2 Oct 2020 12:11:58 +0000 Subject: [PATCH] IWYU: uint8_t is defined in stdint.h --- third_party/openscreen/src/util/crypto/random_bytes.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/third_party/openscreen/src/util/crypto/random_bytes.h b/third_party/openscreen/src/util/crypto/random_bytes.h index 3cb2fa8..025b52c 100644 --- a/third_party/openscreen/src/util/crypto/random_bytes.h +++ b/third_party/openscreen/src/util/crypto/random_bytes.h @@ -7,6 +7,8 @@ #include <array> +#include <stdint.h> + namespace openscreen { std::array<uint8_t, 16> GenerateRandomBytes16(); -- 2.26.2 ++++++ chromium-87-ozone-deps.patch ++++++ diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn index 3f89c70..0df6490 100644 --- a/chrome/browser/BUILD.gn +++ b/chrome/browser/BUILD.gn @@ -5056,7 +5056,9 @@ static_library("browser") { "chrome_browser_main_extra_parts_ozone.cc", "chrome_browser_main_extra_parts_ozone.h", ] - deps += [ "//ui/ozone" ] + if (use_ozone) { + deps += [ "//ui/ozone" ] + } } if (enable_background_mode) { ++++++ chromium-87-webcodecs-deps.patch ++++++ From 47f6a3bcf7e72c467ca6a2cd633a5c3585a218d5 Mon Sep 17 00:00:00 2001 From: Stephan Hartmann <[email protected]> Date: Fri, 2 Oct 2020 06:44:53 +0000 Subject: [PATCH] add dependency on openh264:encoder webcodecs uses openh264 encoder, but dependency is missing. With unbundled openh264 library build fails, because include path is incomplete. --- third_party/blink/renderer/modules/webcodecs/BUILD.gn | 1 + 1 file changed, 1 insertion(+) diff --git a/third_party/blink/renderer/modules/webcodecs/BUILD.gn b/third_party/blink/renderer/modules/webcodecs/BUILD.gn index 99d0e47..7c4d188 100644 --- a/third_party/blink/renderer/modules/webcodecs/BUILD.gn +++ b/third_party/blink/renderer/modules/webcodecs/BUILD.gn @@ -54,6 +54,7 @@ blink_modules_sources("webcodecs") { "//media/mojo/clients", "//media/mojo/mojom", "//third_party/libyuv:libyuv", + "//third_party/openh264:encoder", ] public_deps = [ "//third_party/blink/renderer/modules/mediastream:mediastream", -- 2.26.2 ++++++ chromium-86.0.4240.198.tar.xz -> chromium-87.0.4280.66.tar.xz ++++++ /work/SRC/openSUSE:Factory/chromium/chromium-86.0.4240.198.tar.xz /work/SRC/openSUSE:Factory/.chromium.new.5913/chromium-87.0.4280.66.tar.xz differ: char 27, line 1 ++++++ chromium-88-vaapi-attribute.patch ++++++ From 4f4604877f3b666ac7a373ae443e3c3795424569 Mon Sep 17 00:00:00 2001 From: Stephan Hartmann <[email protected]> Date: Fri, 6 Nov 2020 11:18:42 +0000 Subject: [PATCH] GCC: fix attribute on function definition GCC does not accept attributes at the end for function definitions. Solution is to move it before function name. Otherwise GCC fails like this: ../../base/compiler_specific.h:97:28: error: attributes are not allowed on a function-definition 97 | #define WARN_UNUSED_RESULT __attribute__((warn_unused_result)) | ^~~~~~~~~~~~~ ../../media/gpu/vaapi/vaapi_wrapper.h:322:36: note: in expansion of macro 'WARN_UNUSED_RESULT' 322 | const T* data) WARN_UNUSED_RESULT { | ^~~~~~~~~~~~~~~~~~ --- media/gpu/vaapi/vaapi_wrapper.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media/gpu/vaapi/vaapi_wrapper.h b/media/gpu/vaapi/vaapi_wrapper.h index fd1fd82..deeda1f 100644 --- a/media/gpu/vaapi/vaapi_wrapper.h +++ b/media/gpu/vaapi/vaapi_wrapper.h @@ -318,8 +318,8 @@ class MEDIA_GPU_EXPORT VaapiWrapper // Convenient templatized version of SubmitBuffer() where |size| is deduced to // be the size of the type of |*data|. template <typename T> - bool SubmitBuffer(VABufferType va_buffer_type, - const T* data) WARN_UNUSED_RESULT { + bool WARN_UNUSED_RESULT SubmitBuffer(VABufferType va_buffer_type, + const T* data) { return SubmitBuffer(va_buffer_type, sizeof(T), data); } // Batch-version of SubmitBuffer(), where the lock for accessing libva is -- 2.26.2 ++++++ chromium-gcc11.patch ++++++ diff --git a/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc b/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc index 19f9aab5b..8073637e9 100644 --- a/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc +++ b/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc @@ -35,6 +35,7 @@ #include "absl/synchronization/internal/graphcycles.h" +#include <limits> #include <algorithm> #include <array> #include "absl/base/internal/hide_ptr.h" diff --git a/third_party/angle/src/libANGLE/HandleAllocator.cpp b/third_party/angle/src/libANGLE/HandleAllocator.cpp index 013f1dfb2..3ce63c192 100644 --- a/third_party/angle/src/libANGLE/HandleAllocator.cpp +++ b/third_party/angle/src/libANGLE/HandleAllocator.cpp @@ -9,6 +9,7 @@ #include "libANGLE/HandleAllocator.h" +#include <limits> #include <algorithm> #include <functional> diff --git a/third_party/perfetto/src/trace_processor/containers/string_pool.cc b/third_party/perfetto/src/trace_processor/containers/string_pool.cc index fd651958f..1e8d0606c 100644 --- a/third_party/perfetto/src/trace_processor/containers/string_pool.cc +++ b/third_party/perfetto/src/trace_processor/containers/string_pool.cc @@ -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" diff --git a/third_party/perfetto/src/trace_processor/db/column.cc b/third_party/perfetto/src/trace_processor/db/column.cc index 00496b335..0dccfeb8a 100644 --- a/third_party/perfetto/src/trace_processor/db/column.cc +++ b/third_party/perfetto/src/trace_processor/db/column.cc @@ -14,6 +14,7 @@ * limitations under the License. */ +#include <limits> #include "src/trace_processor/db/column.h" #include "src/trace_processor/db/compare.h" diff --git a/third_party/perfetto/src/trace_processor/types/variadic.cc b/third_party/perfetto/src/trace_processor/types/variadic.cc index 837bfeba9..cdd56817d 100644 --- a/third_party/perfetto/src/trace_processor/types/variadic.cc +++ b/third_party/perfetto/src/trace_processor/types/variadic.cc @@ -14,6 +14,7 @@ * limitations under the License. */ +#include <limits> #include "src/trace_processor/types/variadic.h" namespace perfetto { 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"), diff --git a/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc b/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc index c0b5a805b..e6f921926 100644 --- a/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc +++ b/chrome/browser/ui/bookmarks/bookmark_tab_helper.cc @@ -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" diff --git a/components/bookmarks/browser/bookmark_expanded_state_tracker.cc b/components/bookmarks/browser/bookmark_expanded_state_tracker.cc index 4ad2afa1f..5c4596e12 100644 --- a/components/bookmarks/browser/bookmark_expanded_state_tracker.cc +++ b/components/bookmarks/browser/bookmark_expanded_state_tracker.cc @@ -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> diff --git a/components/bookmarks/browser/base_bookmark_model_observer.cc b/components/bookmarks/browser/base_bookmark_model_observer.cc index 657a3c96b..ad641a082 100644 --- a/components/bookmarks/browser/base_bookmark_model_observer.cc +++ b/components/bookmarks/browser/base_bookmark_model_observer.cc @@ -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 { ++++++ chromium-lp152-missing-includes.patch ++++++ --- a/components/autofill/core/browser/pattern_provider/pattern_provider.h +++ b/components/autofill/core/browser/pattern_provider/pattern_provider.h @@ -5,6 +5,7 @@ #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_PATTERN_PROVIDER_PATTERN_PROVIDER_H_ #define COMPONENTS_AUTOFILL_CORE_BROWSER_PATTERN_PROVIDER_PATTERN_PROVIDER_H_ +#include <vector> #include <string> #include "base/macros.h" _______________________________________________ openSUSE Commits mailing list -- [email protected] To unsubscribe, email [email protected] List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/[email protected]
