Hello community, here is the log from the commit of package chromium for openSUSE:Factory checked in at 2019-09-13 15:00:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/chromium (Old) and /work/SRC/openSUSE:Factory/.chromium.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "chromium" Fri Sep 13 15:00:29 2019 rev:229 rq:730345 version:77.0.3865.75 Changes: -------- --- /work/SRC/openSUSE:Factory/chromium/chromium.changes 2019-09-04 09:35:07.258696162 +0200 +++ /work/SRC/openSUSE:Factory/.chromium.new.7948/chromium.changes 2019-09-13 15:02:51.569288099 +0200 @@ -1,0 +2,70 @@ +Thu Sep 12 08:34:01 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Update to chromium 77.0.3865.75 bsc#1150425: + * CVE-2019-5870: Use-after-free in media + * CVE-2019-5871: Heap overflow in Skia + * CVE-2019-5872: Use-after-free in Mojo + * CVE-2019-5874: External URIs may trigger other browsers + * CVE-2019-5875: URL bar spoof via download redirect + * CVE-2019-5876: Use-after-free in media + * CVE-2019-5877: Out-of-bounds access in V8 + * CVE-2019-5878: Use-after-free in V8 + * CVE-2019-5879: Extension can bypass same origin policy + * CVE-2019-5880: SameSite cookie bypass + * CVE-2019-5881: Arbitrary read in SwiftShader + * CVE-2019-13659: URL spoof + * CVE-2019-13660: Full screen notification overlap + * CVE-2019-13661: Full screen notification spoof + * CVE-2019-13662: CSP bypass + * CVE-2019-13663: IDN spoof + * CVE-2019-13664: CSRF bypass + * CVE-2019-13665: Multiple file download protection bypass + * CVE-2019-13666: Side channel using storage size estimate + * CVE-2019-13667: URI bar spoof when using external app URIs + * CVE-2019-13668: Global window leak via console + * CVE-2019-13669: HTTP authentication spoof + * CVE-2019-13670: V8 memory corruption in regex + * CVE-2019-13671: Dialog box fails to show origin + * CVE-2019-13673: Cross-origin information leak using devtools + * CVE-2019-13674: IDN spoofing + * CVE-2019-13675: Extensions can be disabled by trailing slash + * CVE-2019-13676: Google URI shown for certificate warning + * CVE-2019-13677: Chrome web store origin needs to be isolated + * CVE-2019-13678: Download dialog spoofing + * CVE-2019-13679: User gesture needed for printing + * CVE-2019-13680: IP address spoofing to servers + * CVE-2019-13681: Bypass on download restrictions + * CVE-2019-13682: Site isolation bypass + * CVE-2019-13683: Exceptions leaked by devtools +- Added patches: + * chromium-77-blink-include.patch + * chromium-77-fix-gn-gen.patch + * chromium-77-gcc-abstract.patch + * chromium-77-gcc-include.patch + * chromium-77-system-hb.patch + * chromium-unbundle-zlib.patch +- Removed merged patches: + * chromium-76-gcc-ambiguous-nodestructor.patch + * chromium-76-gcc-blink-constexpr.patch + * chromium-76-gcc-blink-namespace1.patch + * chromium-76-gcc-blink-namespace2.patch + * chromium-76-gcc-gl-init.patch + * chromium-76-gcc-include.patch + * chromium-76-gcc-noexcept.patch + * chromium-76-gcc-private.patch + * chromium-76-gcc-pure-virtual.patch + * chromium-76-gcc-uint32.patch + * chromium-76-gcc-vulkan.patch + * chromium-76-quiche.patch + * chromium-angle-inline.patch + * chromium-fix-char_traits.patch + * chromium-skia-aarch64-buildfix.patch + * chromium-vaapi-fix.patch + * gcc-lto-rsp-clobber.patch + - Refreshed patches: + * chromium-prop-codecs.patch + * chromium-system-icu.patch + * chromium-vaapi.patch + * old-libva.patch + +------------------------------------------------------------------- Old: ---- chromium-76-gcc-ambiguous-nodestructor.patch chromium-76-gcc-blink-constexpr.patch chromium-76-gcc-blink-namespace1.patch chromium-76-gcc-blink-namespace2.patch chromium-76-gcc-gl-init.patch chromium-76-gcc-include.patch chromium-76-gcc-noexcept.patch chromium-76-gcc-private.patch chromium-76-gcc-pure-virtual.patch chromium-76-gcc-uint32.patch chromium-76-gcc-vulkan.patch chromium-76-quiche.patch chromium-76.0.3809.132.tar.xz chromium-angle-inline.patch chromium-fix-char_traits.patch chromium-skia-aarch64-buildfix.patch chromium-vaapi-fix.patch gcc-lto-rsp-clobber.patch New: ---- chromium-77-blink-include.patch chromium-77-fix-gn-gen.patch chromium-77-gcc-abstract.patch chromium-77-gcc-include.patch chromium-77-system-hb.patch chromium-77.0.3865.75.tar.xz chromium-unbundle-zlib.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ chromium.spec ++++++ --- /var/tmp/diff_new_pack.6h04P0/_old 2019-09-13 15:03:05.761285082 +0200 +++ /var/tmp/diff_new_pack.6h04P0/_new 2019-09-13 15:03:05.761285082 +0200 @@ -57,7 +57,7 @@ %bcond_with clang %bcond_with wayland Name: chromium -Version: 76.0.3809.132 +Version: 77.0.3865.75 Release: 0 Summary: Google's open source browser project License: BSD-3-Clause AND LGPL-2.1-or-later @@ -85,24 +85,13 @@ Patch7: chromium-sandbox-pie.patch Patch8: chromium-system-icu.patch Patch9: chromium-system-libusb.patch -Patch11: chromium-skia-aarch64-buildfix.patch -Patch12: gcc-lto-rsp-clobber.patch Patch13: gcc-enable-lto.patch -Patch14: chromium-angle-inline.patch -Patch16: chromium-fix-char_traits.patch -# gcc patches -Patch20: chromium-76-gcc-ambiguous-nodestructor.patch -Patch21: chromium-76-gcc-blink-constexpr.patch -Patch22: chromium-76-gcc-blink-namespace1.patch -Patch23: chromium-76-gcc-blink-namespace2.patch -Patch24: chromium-76-gcc-gl-init.patch -Patch25: chromium-76-gcc-include.patch -Patch26: chromium-76-gcc-noexcept.patch -Patch27: chromium-76-gcc-private.patch -Patch28: chromium-76-gcc-pure-virtual.patch -Patch29: chromium-76-gcc-uint32.patch -Patch30: chromium-76-gcc-vulkan.patch -Patch31: chromium-76-quiche.patch +Patch14: chromium-77-fix-gn-gen.patch +Patch15: chromium-unbundle-zlib.patch +Patch16: chromium-77-gcc-include.patch +Patch17: chromium-77-gcc-abstract.patch +Patch18: chromium-77-system-hb.patch +Patch19: chromium-77-blink-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 @@ -110,7 +99,6 @@ # (default on) compared to the PR Patch100: chromium-vaapi.patch Patch101: old-libva.patch -Patch102: chromium-vaapi-fix.patch # PATCH-FIX-SUSE: allow prop codecs to be set with chromium branding Patch200: chromium-prop-codecs.patch BuildRequires: SDL-devel @@ -346,11 +334,15 @@ third_party/brotli third_party/cacheinvalidation third_party/catapult - third_party/catapult/third_party/polymer third_party/catapult/common/py_vulcanize/third_party/rcssmin third_party/catapult/common/py_vulcanize/third_party/rjsmin + third_party/catapult/third_party/beautifulsoup4 + third_party/catapult/third_party/html5lib-python + third_party/catapult/third_party/polymer + third_party/catapult/third_party/six third_party/catapult/tracing/third_party/d3 third_party/catapult/tracing/third_party/gl-matrix + third_party/catapult/tracing/third_party/jpeg-js third_party/catapult/tracing/third_party/jszip third_party/catapult/tracing/third_party/mannwhitneyu third_party/catapult/tracing/third_party/oboe @@ -408,10 +400,11 @@ third_party/nasm third_party/node third_party/node/node_modules/polymer-bundler/lib/third_party/UglifyJS2 + third_party/one_euro_filter third_party/openh264 third_party/openscreen + third_party/openscreen/src/third_party/tinycbor/src/src third_party/ots - third_party/perfetto third_party/pdfium third_party/pdfium/third_party/agg23 third_party/pdfium/third_party/base @@ -426,7 +419,6 @@ third_party/perfetto third_party/pffft third_party/ply - third_party/pffft third_party/polymer third_party/protobuf third_party/protobuf/third_party/six @@ -449,6 +441,7 @@ third_party/swiftshader/third_party/llvm-7.0 third_party/swiftshader/third_party/llvm-subzero third_party/swiftshader/third_party/subzero + third_party/swiftshader/third_party/SPIRV-Headers/include/spirv/unified1 third_party/tcmalloc third_party/unrar third_party/usrsctp @@ -531,7 +524,7 @@ %else # REDUCE DEBUG as it gets TOO large ARCH_FLAGS="`echo %{optflags} | sed -e 's/^-g / /g' -e 's/ -g / /g' -e 's/ -g$//g'`" -export CXXFLAGS="${ARCH_FLAGS}" +export CXXFLAGS="${ARCH_FLAGS} -fpermissive -Wno-return-type" # extra flags to reduce warnings that aren't very useful export CXXFLAGS="${CXXFLAGS} -Wno-pedantic -Wno-unused-result -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-deprecated-declarations" # ignore warnings for minor mistakes that are too common @@ -573,6 +566,7 @@ opus re2 snappy + zlib ) %if %{with system_harfbuzz} gn_system_libraries+=( @@ -584,7 +578,6 @@ gn_system_libraries+=( libwebp yasm - zlib ) %endif %if %{with system_icu} @@ -662,7 +655,6 @@ %else myconf_gn+=" use_vaapi=true" %endif -myconf_gn+=" enable_mus=true" %if %{with clang} myconf_gn+=" is_clang=true clang_base_path=\"/usr\" clang_use_chrome_plugins=false" %else ++++++ chromium-77-blink-include.patch ++++++ >From 5baf7df7f4c5971dab552897eeef94b194650ce5 Mon Sep 17 00:00:00 2001 From: Dave Tapuska <[email protected]> Date: Mon, 12 Aug 2019 22:30:13 +0000 Subject: [PATCH] Fix build failure due to missing include for std::numeric_limits usage. Some configurations fail to build, limits should have been included. BUG=992832 Change-Id: I894ba0543bfcef101c93259e39a31d12ae6d035c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1747981 Commit-Queue: Dave Tapuska <[email protected]> Reviewed-by: Mostyn Bramley-Moore <[email protected]> Cr-Commit-Position: refs/heads/master@{#686214} --- diff --git a/third_party/blink/renderer/platform/exported/web_time_range.cc b/third_party/blink/renderer/platform/exported/web_time_range.cc index 384566a..68d83e1 100644 --- a/third_party/blink/renderer/platform/exported/web_time_range.cc +++ b/third_party/blink/renderer/platform/exported/web_time_range.cc @@ -31,6 +31,7 @@ #include "third_party/blink/public/platform/web_time_range.h" #include <cmath> +#include <limits> namespace blink { ++++++ chromium-77-fix-gn-gen.patch ++++++ --- a/third_party/blink/tools/BUILD.gn +++ b/third_party/blink/tools/BUILD.gn @@ -11,7 +11,7 @@ action("build_wpt_metadata") { rebase_path("$root_out_dir/wpt_expectations_metadata"), ] outputs = [ - "$root_out_dir/wpt_expectations_metadata/", + "$root_out_dir/wpt_expectations_metadata", ] data = [ # Include the blinkpy tools to access expectations data ++++++ chromium-77-gcc-abstract.patch ++++++ >From f08cb0022527081c078e8b96062e6c9b4fbda151 Mon Sep 17 00:00:00 2001 From: Jose Dapena Paz <[email protected]> Date: Fri, 26 Jul 2019 16:48:06 +0000 Subject: [PATCH] BinaryUploadService: change parameter passing that cannot afford abstract class The method UploadForDeepScanning gets a Request as parameter. But Request is an abstract class, so GCC will not allow that declaration (polimorphycs should be passed by reference). Use std::unique_ptr so BinaryUploadService can assume ownership. Bug: 819294 Change-Id: I9e8c75cc92b01abd704d9049b0421555377da5ba Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1713550 Reviewed-by: Daniel Rubery <[email protected]> Commit-Queue: José Dapena Paz <[email protected]> Cr-Commit-Position: refs/heads/master@{#681333} --- diff --git a/chrome/browser/safe_browsing/download_protection/binary_upload_service.cc b/chrome/browser/safe_browsing/download_protection/binary_upload_service.cc index 6430c89..4e90487 100644 --- a/chrome/browser/safe_browsing/download_protection/binary_upload_service.cc +++ b/chrome/browser/safe_browsing/download_protection/binary_upload_service.cc @@ -10,7 +10,7 @@ namespace safe_browsing { void BinaryUploadService::UploadForDeepScanning( - BinaryUploadService::Request request) { + std::unique_ptr<BinaryUploadService::Request> request) { DCHECK_CURRENTLY_ON(content::BrowserThread::UI); NOTREACHED(); } diff --git a/chrome/browser/safe_browsing/download_protection/binary_upload_service.h b/chrome/browser/safe_browsing/download_protection/binary_upload_service.h index d2dfd83..9b6f395 100644 --- a/chrome/browser/safe_browsing/download_protection/binary_upload_service.h +++ b/chrome/browser/safe_browsing/download_protection/binary_upload_service.h @@ -5,6 +5,8 @@ #ifndef CHROME_BROWSER_SAFE_BROWSING_DOWNLOAD_PROTECTION_BINARY_UPLOAD_SERVICE_H_ #define CHROME_BROWSER_SAFE_BROWSING_DOWNLOAD_PROTECTION_BINARY_UPLOAD_SERVICE_H_ +#include <memory> + #include "base/callback.h" #include "components/safe_browsing/proto/webprotect.pb.h" @@ -40,6 +42,7 @@ public: // |callback| will run on the UI thread. explicit Request(Callback callback); + virtual ~Request() = default; Request(const Request&) = delete; Request& operator=(const Request&) = delete; @@ -67,7 +70,7 @@ // Upload the given file contents for deep scanning. The results will be // returned asynchronously by calling |request|'s |callback|. This must be // called on the UI thread. - void UploadForDeepScanning(Request request); + void UploadForDeepScanning(std::unique_ptr<Request> request); }; } // namespace safe_browsing ++++++ chromium-76-gcc-include.patch -> chromium-77-gcc-include.patch ++++++ --- /work/SRC/openSUSE:Factory/chromium/chromium-76-gcc-include.patch 2019-08-05 10:40:06.927307723 +0200 +++ /work/SRC/openSUSE:Factory/.chromium.new.7948/chromium-77-gcc-include.patch 2019-09-13 15:00:57.257283937 +0200 @@ -1,10 +1,26 @@ ---- a/chrome/browser/themes/theme_service.h 2019-06-13 18:56:30.000000000 -0000 -+++ b/chrome/browser/themes/theme_service.h 2019-06-17 08:50:57.714289399 -0000 -@@ -26,6 +26,7 @@ - #include "extensions/common/extension_id.h" - #include "ui/base/theme_provider.h" - #include "ui/native_theme/native_theme_observer.h" -+#include "ui/native_theme/native_theme.h" +From 8c747a9c14ed4905f60f6680e2e09e33ea34163e Mon Sep 17 00:00:00 2001 +From: Jose Dapena Paz <[email protected]> +Date: Fri, 26 Jul 2019 16:18:17 +0000 +Subject: [PATCH] IWYU: include <memory> in one_euro_filter.h as it uses std::unique_ptr + +Bug: 819294 +Change-Id: Ie1530f7046b0c8eb76e26adca530fa57c67ed876 +Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1720637 +Reviewed-by: Ella Ge <[email protected]> +Commit-Queue: José Dapena Paz <[email protected]> +Cr-Commit-Position: refs/heads/master@{#681321} +--- + +diff --git a/third_party/one_euro_filter/src/one_euro_filter.h b/third_party/one_euro_filter/src/one_euro_filter.h +index 7f8d15b..a8cd0ab 100644 +--- a/third_party/one_euro_filter/src/one_euro_filter.h ++++ b/third_party/one_euro_filter/src/one_euro_filter.h +@@ -1,6 +1,8 @@ + #ifndef ONE_EURO_ONE_EURO_FILTER_H_ + #define ONE_EURO_ONE_EURO_FILTER_H_ - class BrowserThemePack; - class CustomThemeSupplier; ++#include <memory> ++ + #include "low_pass_filter.h" + + namespace one_euro_filter { ++++++ chromium-77-system-hb.patch ++++++ diff --git a/third_party/harfbuzz-ng/BUILD.gn b/third_party/harfbuzz-ng/BUILD.gn index 37d8e33..6610cc6 100644 --- a/third_party/harfbuzz-ng/BUILD.gn +++ b/third_party/harfbuzz-ng/BUILD.gn @@ -16,7 +16,7 @@ if (use_system_harfbuzz) { "//third_party:freetype_harfbuzz", "//third_party/freetype:freetype_source", ] - packages = [ "harfbuzz" ] + packages = [ "harfbuzz", "harfbuzz-subset" ] } } else { config("harfbuzz_config") { ++++++ chromium-76.0.3809.132.tar.xz -> chromium-77.0.3865.75.tar.xz ++++++ /work/SRC/openSUSE:Factory/chromium/chromium-76.0.3809.132.tar.xz /work/SRC/openSUSE:Factory/.chromium.new.7948/chromium-77.0.3865.75.tar.xz differ: char 26, line 1 ++++++ chromium-prop-codecs.patch ++++++ --- /var/tmp/diff_new_pack.6h04P0/_old 2019-09-13 15:03:05.889285055 +0200 +++ /var/tmp/diff_new_pack.6h04P0/_new 2019-09-13 15:03:05.889285055 +0200 @@ -1,7 +1,7 @@ diff -urN chromium-62.0.3192.0.orig/media/BUILD.gn chromium-62.0.3192.0/media/BUILD.gn --- chromium-62.0.3192.0.orig/media/BUILD.gn 2017-08-25 11:22:39.294487172 +0200 +++ chromium-62.0.3192.0/media/BUILD.gn 2017-08-25 11:25:41.674488175 +0200 -@@ -33,12 +33,6 @@ +@@ -42,12 +42,6 @@ ] } ++++++ chromium-system-icu.patch ++++++ --- /var/tmp/diff_new_pack.6h04P0/_old 2019-09-13 15:03:05.897285053 +0200 +++ /var/tmp/diff_new_pack.6h04P0/_new 2019-09-13 15:03:05.901285052 +0200 @@ -11,3 +11,24 @@ // Freezed trie tree, see character_property_data_generator.cc. extern const int32_t kSerializedCharacterDataSize; + +diff --git a/build/linux/unbundle/icu.gn b/build/linux/unbundle/icu.gn +index 4450e40..9ca36dd 100644 +--- a/build/linux/unbundle/icu.gn ++++ b/build/linux/unbundle/icu.gn +@@ -96,6 +96,7 @@ shim_headers("icui18n_shim") { + "unicode/fpositer.h", + "unicode/gender.h", + "unicode/gregocal.h", ++ "unicode/listformatter.h", + "unicode/measfmt.h", + "unicode/measunit.h", + "unicode/measure.h", +@@ -178,7 +179,6 @@ shim_headers("icuuc_shim") { + "unicode/icudataver.h", + "unicode/icuplug.h", + "unicode/idna.h", +- "unicode/listformatter.h", + "unicode/localpointer.h", + "unicode/locdspnm.h", + "unicode/locid.h", ++++++ chromium-unbundle-zlib.patch ++++++ >From e1bbdec720a333937bd1b990ae0f7ee97db0d3b0 Mon Sep 17 00:00:00 2001 From: Your Name <[email protected]> Date: Fri, 28 Jun 2019 15:56:23 +0000 Subject: [PATCH] update zlib --- third_party/perfetto/gn/BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/perfetto/gn/BUILD.gn b/third_party/perfetto/gn/BUILD.gn index c951f5f..297eee3 100644 --- a/third_party/perfetto/gn/BUILD.gn +++ b/third_party/perfetto/gn/BUILD.gn @@ -200,7 +200,7 @@ group("zlib") { "//buildtools:zlib", ] } else if (build_with_chromium) { - public_configs = [ "//third_party/zlib:zlib_config" ] + public_configs = [ "//third_party/zlib:system_zlib" ] public_deps = [ "//third_party/zlib", ] -- 2.21.0 ++++++ chromium-vaapi.patch ++++++ --- /var/tmp/diff_new_pack.6h04P0/_old 2019-09-13 15:03:05.921285048 +0200 +++ /var/tmp/diff_new_pack.6h04P0/_new 2019-09-13 15:03:05.925285048 +0200 @@ -16,7 +16,7 @@ =================================================================== --- chromium-76.0.3806.1.orig/chrome/browser/about_flags.cc +++ chromium-76.0.3806.1/chrome/browser/about_flags.cc -@@ -1394,7 +1394,7 @@ const FeatureEntry kFeatureEntries[] = { +@@ -1634,14 +1634,14 @@ const FeatureEntry kFeatureEntries[] = { "disable-accelerated-video-decode", flag_descriptions::kAcceleratedVideoDecodeName, flag_descriptions::kAcceleratedVideoDecodeDescription, @@ -24,10 +24,18 @@ + kOsMac | kOsWin | kOsCrOS | kOsAndroid | kOsLinux, SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedVideoDecode), }, + { + "disable-accelerated-video-encode", + flag_descriptions::kAcceleratedVideoEncodeName, + flag_descriptions::kAcceleratedVideoEncodeDescription, +- kOsMac | kOsWin | kOsCrOS | kOsAndroid, ++ kOsMac | kOsWin | kOsCrOS | kOsAndroid | kOsLinux, + SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedVideoEncode), + }, {"enable-history-favicons-google-server-query", -@@ -1833,10 +1833,10 @@ const FeatureEntry kFeatureEntries[] = { +@@ -2115,10 +2115,10 @@ const FeatureEntry kFeatureEntries[] = { FEATURE_VALUE_TYPE(service_manager::features::kXRSandbox)}, - #endif // ENABLE_ISOLATED_XR_SERVICE + #endif // !defined(OS_ANDROID) #endif // ENABLE_VR -#if defined(OS_CHROMEOS) +#if defined(OS_CHROMEOS) || defined(OS_LINUX) @@ -42,7 +50,7 @@ =================================================================== --- chromium-76.0.3806.1.orig/chrome/browser/flag_descriptions.cc +++ chromium-76.0.3806.1/chrome/browser/flag_descriptions.cc -@@ -2734,15 +2734,20 @@ const char kMacSystemMediaPermissionsInf +@@ -2969,15 +2969,20 @@ const char kMacSystemMediaPermissionsInf #endif @@ -69,7 +77,7 @@ =================================================================== --- chromium-76.0.3806.1.orig/chrome/browser/flag_descriptions.h +++ chromium-76.0.3806.1/chrome/browser/flag_descriptions.h -@@ -1631,11 +1631,15 @@ extern const char kPermissionPromptPersi +@@ -1766,11 +1766,15 @@ extern const char kPermissionPromptPersi // Chrome OS ------------------------------------------------------------------ @@ -90,7 +98,7 @@ =================================================================== --- chromium-76.0.3806.1.orig/gpu/config/software_rendering_list.json +++ chromium-76.0.3806.1/gpu/config/software_rendering_list.json -@@ -371,11 +371,12 @@ +@@ -334,11 +334,12 @@ }, { "id": 48, ++++++ old-libva.patch ++++++ --- /var/tmp/diff_new_pack.6h04P0/_old 2019-09-13 15:03:05.957285040 +0200 +++ /var/tmp/diff_new_pack.6h04P0/_new 2019-09-13 15:03:05.957285040 +0200 @@ -2,7 +2,7 @@ =================================================================== --- chromium-76.0.3809.12.orig/media/gpu/vaapi/vaapi_wrapper.cc +++ chromium-76.0.3809.12/media/gpu/vaapi/vaapi_wrapper.cc -@@ -55,6 +55,10 @@ +@@ -63,6 +63,10 @@ #include "ui/ozone/public/surface_factory_ozone.h" #endif @@ -13,12 +13,13 @@ using media_gpu_vaapi::kModuleVa; using media_gpu_vaapi::kModuleVa_drm; #if defined(USE_X11) -@@ -277,9 +281,6 @@ bool VADisplayState::Initialize() { +@@ -351,10 +355,6 @@ bool VADisplayState::Initialize() { } bool VADisplayState::InitializeOnce() { -- static_assert(VA_MAJOR_VERSION >= 1 && VA_MINOR_VERSION >= 1, -- "Requires VA-API >= 1.1.0"); +- static_assert( +- VA_MAJOR_VERSION >= 2 || (VA_MAJOR_VERSION == 1 && VA_MINOR_VERSION >= 1), +- "Requires VA-API >= 1.1.0"); - switch (gl::GetGLImplementation()) { case gl::kGLImplementationEGLGLES2: @@ -27,9 +28,9 @@ =================================================================== --- chromium-76.0.3809.12.orig/media/gpu/vaapi/vaapi_jpeg_decoder.cc +++ chromium-76.0.3809.12/media/gpu/vaapi/vaapi_jpeg_decoder.cc -@@ -23,6 +23,10 @@ - #include "media/gpu/vaapi/vaapi_wrapper.h" +@@ -20,6 +20,10 @@ #include "media/parsers/jpeg_parser.h" + #include "ui/gfx/geometry/size.h" +#ifndef VA_FOURCC_I420 +#define VA_FOURCC_I420 0x30323449
