Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package chromium for openSUSE:Factory checked in at 2021-05-10 15:36:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/chromium (Old) and /work/SRC/openSUSE:Factory/.chromium.new.2988 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "chromium" Mon May 10 15:36:50 2021 rev:290 rq:891089 version:90.0.4430.93 Changes: -------- --- /work/SRC/openSUSE:Factory/chromium/chromium.changes 2021-04-29 22:45:09.860095113 +0200 +++ /work/SRC/openSUSE:Factory/.chromium.new.2988/chromium.changes 2021-05-10 15:39:19.213578929 +0200 @@ -1,0 +2,15 @@ +Thu May 6 15:45:57 UTC 2021 - Callum Farmer <gm...@opensuse.org> + + * Patch change * +- Fix build with GCC 11 again (bsc#1185716) +- Remove chromium-88-compiler.patch +- Remove chromium-90-cstdint.patch +- Remove chromium-90-gslang-linkage-fixup.patch +- Added chromium-90-compiler.patch +- Added chromium-90-angle-constexpr.patch +- Added chromium-90-TokenizedOutput-include.patch +- Added chromium-90-ruy-include.patch +- Added chromium-90-CrossThreadCopier-qualification.patch +- Added chromium-90-quantization_utils-include.patch + +------------------------------------------------------------------- Old: ---- chromium-88-compiler.patch chromium-90-cstdint.patch chromium-90-gslang-linkage-fixup.patch New: ---- chromium-90-CrossThreadCopier-qualification.patch chromium-90-TokenizedOutput-include.patch chromium-90-angle-constexpr.patch chromium-90-compiler.patch chromium-90-quantization_utils-include.patch chromium-90-ruy-include.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ chromium.spec ++++++ --- /var/tmp/diff_new_pack.VIaPys/_old 2021-05-10 15:39:22.533565343 +0200 +++ /var/tmp/diff_new_pack.VIaPys/_new 2021-05-10 15:39:22.537565327 +0200 @@ -81,7 +81,7 @@ # gentoo/fedora/arch patchset Patch12: chromium-78-protobuf-RepeatedPtrField-export.patch Patch13: chromium-80-QuicStreamSendBuffer-deleted-move-constructor.patch -Patch15: chromium-88-compiler.patch +Patch15: chromium-90-compiler.patch Patch16: chromium-86-ConsumeDurationNumber-constexpr.patch Patch17: chromium-86-ImageMemoryBarrierData-init.patch Patch18: chromium-86-nearby-explicit.patch @@ -90,23 +90,25 @@ Patch21: chromium-gcc11.patch Patch22: chromium-lp152-missing-includes.patch Patch23: chromium-glibc-2.33.patch -Patch24: chromium-90-cstdint.patch Patch25: chromium-90-fseal.patch -# PATCH-FIX-SUSE: chromium 90. avoid global reference to this array, seems confuse compiler -Patch28: chromium-90-gslang-linkage-fixup.patch Patch29: chromium-89-EnumTable-crash.patch Patch30: chromium-shim_headers.patch Patch31: chromium-89-missing-cstring-header.patch Patch33: chromium-88-gcc-fix-swiftshader-libEGL-visibility.patch +Patch34: chromium-90-angle-constexpr.patch +Patch35: chromium-90-TokenizedOutput-include.patch +Patch36: chromium-90-ruy-include.patch +Patch37: chromium-90-CrossThreadCopier-qualification.patch +Patch38: chromium-90-quantization_utils-include.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 -Patch34: chromium-vaapi.patch -Patch35: chromium-86-fix-vaapi-on-intel.patch +Patch100: chromium-vaapi.patch +Patch101: chromium-86-fix-vaapi-on-intel.patch # PATCH-FIX-SUSE: allow prop codecs to be set with chromium branding -Patch36: chromium-prop-codecs.patch +Patch102: chromium-prop-codecs.patch BuildRequires: SDL-devel BuildRequires: binutils-gold BuildRequires: bison ++++++ chromium-90-CrossThreadCopier-qualification.patch ++++++ >From 644e45c7fa836d628de39badc3a168f3d7e9e9dc Mon Sep 17 00:00:00 2001 From: Stephan Hartmann <sth...@googlemail.com> Date: Thu, 25 Feb 2021 14:28:40 +0000 Subject: [PATCH] GCC: remove extra qualification from CrossThreadCopier Extra qualification is invalid C++ and also not required here, because it is already inside namespace WTF. --- .../blink/renderer/platform/graphics/resource_id_traits.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/third_party/blink/renderer/platform/graphics/resource_id_traits.h b/third_party/blink/renderer/platform/graphics/resource_id_traits.h index b370d7c..565dfee 100644 --- a/third_party/blink/renderer/platform/graphics/resource_id_traits.h +++ b/third_party/blink/renderer/platform/graphics/resource_id_traits.h @@ -15,8 +15,8 @@ namespace WTF { template <> -struct WTF::CrossThreadCopier<viz::ResourceId> - : public WTF::CrossThreadCopierPassThrough<viz::ResourceId> {}; +struct CrossThreadCopier<viz::ResourceId> + : public CrossThreadCopierPassThrough<viz::ResourceId> {}; template <> struct HashTraits<viz::ResourceId> : GenericHashTraits<viz::ResourceId> { -- 2.26.2 ++++++ chromium-90-TokenizedOutput-include.patch ++++++ >From 30dcae908492a3ec811b5f5b9f518d792a01da38 Mon Sep 17 00:00:00 2001 From: Stephan Hartmann <sth...@googlemail.com> Date: Sun, 28 Feb 2021 12:36:04 +0000 Subject: [PATCH] IWYU: include missing cstring for strlen --- .../translate/core/language_detection/ngram_hash_ops_utils.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/components/translate/core/language_detection/ngram_hash_ops_utils.cc b/components/translate/core/language_detection/ngram_hash_ops_utils.cc index cf91033..dd03a3d 100644 --- a/components/translate/core/language_detection/ngram_hash_ops_utils.cc +++ b/components/translate/core/language_detection/ngram_hash_ops_utils.cc @@ -4,6 +4,7 @@ #include "components/translate/core/language_detection/ngram_hash_ops_utils.h" +#include <cstring> #include <vector> #include "third_party/utf/src/include/utf.h" -- 2.26.2 ++++++ chromium-90-angle-constexpr.patch ++++++ >From b1669139f475ebe39ded6f7905f4c901f17eef83 Mon Sep 17 00:00:00 2001 From: Stephan Hartmann <sth...@googlemail.com> Date: Wed, 24 Feb 2021 07:38:37 +0000 Subject: [PATCH] add missing static constexpr member definition C++14 requires to definition of static constexpr members to emit a linker symbol. --- .../angle/src/libANGLE/renderer/glslang_wrapper_utils.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/third_party/angle/src/libANGLE/renderer/glslang_wrapper_utils.cpp b/third_party/angle/src/libANGLE/renderer/glslang_wrapper_utils.cpp index 56b46e6..8f8158c 100644 --- a/third_party/angle/src/libANGLE/renderer/glslang_wrapper_utils.cpp +++ b/third_party/angle/src/libANGLE/renderer/glslang_wrapper_utils.cpp @@ -2069,6 +2069,9 @@ class SpirvTransformFeedbackCodeGenerator final : angle::NonCopyable spirv::IdRef mTransformFeedbackExtensionPositionId; }; +constexpr size_t SpirvTransformFeedbackCodeGenerator::kXfbDecorationCount; +constexpr spv::Decoration SpirvTransformFeedbackCodeGenerator::kXfbDecorations[kXfbDecorationCount]; + void SpirvTransformFeedbackCodeGenerator::visitVariable(const ShaderInterfaceVariableInfo &info, gl::ShaderType shaderType, const spirv::LiteralString &name, -- 2.26.2 ++++++ chromium-88-compiler.patch -> chromium-90-compiler.patch ++++++ --- /work/SRC/openSUSE:Factory/chromium/chromium-88-compiler.patch 2021-04-29 22:45:01.188133732 +0200 +++ /work/SRC/openSUSE:Factory/.chromium.new.2988/chromium-90-compiler.patch 2021-05-10 15:39:19.161579142 +0200 @@ -1,16 +1,16 @@ From f4d0b0eb899005b4b8b6388e1d8bb82cc0018fc8 Mon Sep 17 00:00:00 2001 From: Mike Gilbert <flop...@gentoo.org> -Date: Sun, 15 Nov 2020 08:37:23 +0000 +Date: Tue, 13 Apr 2021 07:59:41 +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 | 59 ++++++++++------------------------ + 1 file changed, 17 insertions(+), 42 deletions(-) -Index: chromium-90.0.4430.72/build/config/compiler/BUILD.gn -=================================================================== ---- chromium-90.0.4430.72.orig/build/config/compiler/BUILD.gn -+++ chromium-90.0.4430.72/build/config/compiler/BUILD.gn +diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn +index 2166af0..90ad0c1 100644 +--- a/build/config/compiler/BUILD.gn ++++ b/build/config/compiler/BUILD.gn @@ -267,8 +267,6 @@ config("compiler") { configs += [ @@ -20,7 +20,7 @@ ":compiler_codegen", ":compiler_deterministic", ] -@@ -507,24 +505,6 @@ config("compiler") { +@@ -509,24 +507,6 @@ config("compiler") { ldflags += [ "-Wl,-z,keep-text-section-prefix" ] } @@ -45,7 +45,7 @@ # C11/C++11 compiler flags setup. # --------------------------- if (is_linux || is_chromeos || is_android || (is_nacl && is_clang) || -@@ -1638,7 +1618,7 @@ config("chromium_code") { +@@ -1640,7 +1620,7 @@ config("chromium_code") { defines = [ "_HAS_NODISCARD" ] } } else { @@ -54,7 +54,7 @@ if (treat_warnings_as_errors) { cflags += [ "-Werror" ] -@@ -1647,10 +1627,6 @@ config("chromium_code") { +@@ -1649,10 +1629,6 @@ config("chromium_code") { # well. ldflags = [ "-Werror" ] } @@ -65,7 +65,7 @@ # In Chromium code, we define __STDC_foo_MACROS in order to get the # C99 macros on Mac and Linux. -@@ -1659,15 +1635,6 @@ config("chromium_code") { +@@ -1661,15 +1637,6 @@ config("chromium_code") { "__STDC_FORMAT_MACROS", ] @@ -81,7 +81,7 @@ if (is_mac) { cflags_objc = [ "-Wobjc-missing-property-synthesis" ] cflags_objcc = [ "-Wobjc-missing-property-synthesis" ] -@@ -2071,7 +2038,8 @@ config("default_stack_frames") { +@@ -2069,7 +2036,8 @@ config("default_stack_frames") { } # Default "optimization on" config. @@ -91,7 +91,7 @@ if (is_win) { if (chrome_pgo_phase != 2) { # Favor size over speed, /O1 must be before the common flags. -@@ -2106,7 +2074,8 @@ config("optimize") { +@@ -2104,7 +2072,8 @@ config("optimize") { } # Turn off optimizations. @@ -101,7 +101,7 @@ if (is_win) { cflags = [ "/Od", # Disable optimization. -@@ -2146,7 +2115,8 @@ config("no_optimize") { +@@ -2144,7 +2113,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. @@ -111,7 +111,7 @@ if (is_nacl && is_nacl_irt) { # The NaCl IRT is a special case and always wants its own config. # Various components do: -@@ -2178,7 +2148,8 @@ config("optimize_max") { +@@ -2176,7 +2146,8 @@ config("optimize_max") { # # TODO(crbug.com/621335) - rework how all of these configs are related # so that we don't need this disclaimer. @@ -121,7 +121,7 @@ if (is_nacl && is_nacl_irt) { # The NaCl IRT is a special case and always wants its own config. # Various components do: -@@ -2203,7 +2174,8 @@ config("optimize_speed") { +@@ -2201,7 +2172,8 @@ config("optimize_speed") { } } @@ -131,7 +131,7 @@ cflags = [ "-O1" ] + common_optimize_on_cflags ldflags = common_optimize_on_ldflags visibility = [ ":default_optimization" ] -@@ -2322,7 +2294,8 @@ config("win_pdbaltpath") { +@@ -2320,7 +2292,8 @@ config("win_pdbaltpath") { } # Full symbols. @@ -141,7 +141,7 @@ if (is_win) { if (is_clang) { cflags = [ "/Z7" ] # Debug information in the .obj files. -@@ -2425,7 +2398,8 @@ config("symbols") { +@@ -2423,7 +2396,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. @@ -151,7 +151,7 @@ if (is_win) { # Functions, files, and line tables only. cflags = [] -@@ -2484,7 +2458,8 @@ config("minimal_symbols") { +@@ -2482,7 +2456,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. @@ -161,3 +161,5 @@ if (is_win) { ldflags = [ "/DEBUG" ] +-- +2.26.3 ++++++ chromium-90-quantization_utils-include.patch ++++++ >From 980ae0fbe6d985efce517c8f6c9aa139b076322b Mon Sep 17 00:00:00 2001 From: Stephan Hartmann <sth...@googlemail.com> Date: Sun, 28 Feb 2021 12:55:19 +0000 Subject: [PATCH] IWYU: add missing cstdint for uint32_t --- .../translate/core/language_detection/quantization_utils.h | 1 + 1 file changed, 1 insertion(+) diff --git a/components/translate/core/language_detection/quantization_utils.h b/components/translate/core/language_detection/quantization_utils.h index eb8f6d1..699a488 100644 --- a/components/translate/core/language_detection/quantization_utils.h +++ b/components/translate/core/language_detection/quantization_utils.h @@ -7,6 +7,7 @@ #include <algorithm> #include <cmath> +#include <cstdint> namespace translate { -- 2.26.2 ++++++ chromium-90-ruy-include.patch ++++++ >From 714092f336bb14d2fcc27396ec323b3d843bb962 Mon Sep 17 00:00:00 2001 From: Stephan Hartmann <sth...@googlemail.com> Date: Thu, 4 Mar 2021 15:05:46 +0000 Subject: [PATCH] IWYU: include limits for std::numeric_limits --- third_party/ruy/src/ruy/block_map.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/third_party/ruy/src/ruy/block_map.cc b/third_party/ruy/src/ruy/block_map.cc index 44e5039..a7a7559 100644 --- a/third_party/ruy/src/ruy/block_map.cc +++ b/third_party/ruy/src/ruy/block_map.cc @@ -17,6 +17,7 @@ limitations under the License. #include <algorithm> #include <cstdint> +#include <limits> #ifdef RUY_MAKEBLOCKMAP_DEBUG #include <cstdio> -- 2.26.2