Hello community, here is the log from the commit of package chromium for openSUSE:Factory checked in at 2018-10-23 20:39:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/chromium (Old) and /work/SRC/openSUSE:Factory/.chromium.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "chromium" Tue Oct 23 20:39:58 2018 rev:198 rq:643766 version:70.0.3538.67 Changes: -------- --- /work/SRC/openSUSE:Factory/chromium/chromium.changes 2018-09-19 14:31:12.271391407 +0200 +++ /work/SRC/openSUSE:Factory/.chromium.new/chromium.changes 2018-10-23 20:41:26.920468446 +0200 @@ -1,0 +2,62 @@ +Mon Oct 22 11:43:26 UTC 2018 - Tomáš Chvátal <tchva...@suse.com> + +- Add patch trying to get the pkg to build with libva 1.x releases: + * chromium-libva1.patch +- Update chromium-old-glibc.patch to contain more tweaked locations + +------------------------------------------------------------------- +Fri Oct 19 12:43:06 UTC 2018 - Tomáš Chvátal <tchva...@suse.com> + +- Add back chromium-old-glibc.patch to make sure we build on 42.3 +- Reduce the merge number on jumbo files to reduce memory usage bit + +------------------------------------------------------------------- +Fri Oct 19 09:58:46 UTC 2018 - astie...@suse.com + +- remove trigger word from spec that trips up legal-auto + +------------------------------------------------------------------- +Wed Oct 17 08:07:37 UTC 2018 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 70.0.3538.67 bsc#1112111: + * CVE-2018-17462: Sandbox escape in AppCache + * CVE-2018-17463: Remote code execution in V8 + * CVE to be assigned: Heap buffer overflow in Little CMS in PDFium + * CVE-2018-17464: URL spoof in Omnibox + * CVE-2018-17465: Use after free in V8 + * CVE-2018-17466: Memory corruption in Angle + * CVE-2018-17467: URL spoof in Omnibox + * CVE-2018-17468: Cross-origin URL disclosure in Blink + * CVE-2018-17469: Heap buffer overflow in PDFium + * CVE-2018-17470: Memory corruption in GPU Internals + * CVE-2018-17471: Security UI occlusion in full screen mode + * CVE-2018-17472: iframe sandbox escape on iOS + * CVE-2018-17473: URL spoof in Omnibox + * CVE-2018-17474: Use after free in Blink + * CVE-2018-17475: URL spoof in Omnibox + * CVE-2018-17476: Security UI occlusion in full screen mode + * CVE-2018-5179: Lack of limits on update() in ServiceWorker + * CVE-2018-17477: UI spoof in Extensions +- Added patches: + * chromium-gcc8-constexpr.patch + * chromium-libusb_interrupt_event_handler.patch + * chromium-pdfium-include.patch + * chromium-system-libusb.patch +- Removed patches: + * chromium-old-glibc.patch + * chromium-vpx-aarch64.patch +- Updated patches: + * chromium-gcc8-alignof.patch + * chromium-non-void-return.patch + * chromium-prop-codecs.patch + * chromium-sandbox-pie.patch + * chromium-skia-system-fontconfig.patch + * chromium-vaapi.patch +- Redo the vaapi patch to be default on as there are no reports of + issues with it +- Use system libusb-1.0 +- Use jumbo build to speed things up +- Use bundled harfbuzz because we need newer than latest release +- Disable gnome-keyring as it crashes the chromium quite often + +------------------------------------------------------------------- Old: ---- chromium-69.0.3497.100.tar.xz chromium-vpx-aarch64.patch New: ---- chromium-70.0.3538.67.tar.xz chromium-gcc8-constexpr.patch chromium-libusb_interrupt_event_handler.patch chromium-libva1.patch chromium-pdfium-include.patch chromium-system-libusb.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ chromium.spec ++++++ --- /var/tmp/diff_new_pack.1RqThm/_old 2018-10-23 20:41:37.716455548 +0200 +++ /var/tmp/diff_new_pack.1RqThm/_new 2018-10-23 20:41:37.720455544 +0200 @@ -12,11 +12,13 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define rname chromium +# bsc#1108175 +%define __provides_exclude ^lib.*\\.so.*$ # This is just overall condition to contain everything we can't provide on SLE12 %if 0%{?suse_version} >= 1320 || 0%{?is_opensuse} %bcond_with sle_bundles @@ -26,7 +28,7 @@ %if 0%{?suse_version} >= 1500 %bcond_without system_libxml %bcond_without system_icu -%bcond_without system_harfbuzz +%bcond_with system_harfbuzz %else %bcond_with system_icu %bcond_with system_libxml @@ -39,17 +41,14 @@ %endif %bcond_with system_vpx %bcond_with clang -%bcond_with jumbo_build -# bsc#1108175 -%define __provides_exclude ^lib.*\\.so.*$ Name: chromium -Version: 69.0.3497.100 +Version: 70.0.3538.67 Release: 0 Summary: Google's open source browser project License: BSD-3-Clause AND LGPL-2.1-or-later Group: Productivity/Networking/Web/Browsers -URL: http://code.google.com/p/chromium/ -Source0: http://commondatastorage.googleapis.com/chromium-browser-official/%{rname}-%{version}.tar.xz +URL: https://www.chromium.org/ +Source0: https://commondatastorage.googleapis.com/chromium-browser-official/%{rname}-%{version}.tar.xz # Toolchain definitions Source1: BUILD.gn Source30: master_preferences @@ -60,6 +59,7 @@ Source104: chromium-icons.tar.bz2 # PATCH-FEATURE-UPSTREAM https://bugs.chromium.org/p/chromium/issues/detail?id=654190 Source105: chromium-browser.appdata.xml +Patch0: chromium-libusb_interrupt_event_handler.patch # PATCH-FIX-OPENSUSE Make the 1-click-install ymp file always download [bnc#836059] Patch1: exclude_ymp.patch # PATCH-FIX-OPENSUSE enables reading of the master preference @@ -73,11 +73,13 @@ Patch8: chromium-sandbox-pie.patch Patch9: chromium-warnings.patch Patch10: chromium-skia-aarch64-buildfix.patch -# PATCH-FIX-UPSTREAM chromium-vpx-aarch64.patch - Fix vpx build on aarch64 (patch edited to match path for -p1) -Patch11: chromium-vpx-aarch64.patch +Patch11: chromium-gcc8-alignof.patch Patch12: chromium-system-icu.patch -Patch13: chromium-old-glibc.patch -Patch14: chromium-gcc8-alignof.patch +Patch13: chromium-pdfium-include.patch +Patch14: chromium-gcc8-constexpr.patch +Patch15: chromium-system-libusb.patch +Patch16: chromium-old-glibc.patch +Patch17: chromium-libva1.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 @@ -86,7 +88,7 @@ # Google does not care much about system libs here # https://bugs.chromium.org/p/skia/issues/detail?id=6663 Patch101: chromium-skia-system-fontconfig.patch -# PATCH-FIX-SUSE: allow proprietary codecs to be set with chromium branding +# PATCH-FIX-SUSE: allow prop codecs to be set with chromium branding Patch202: chromium-prop-codecs.patch BuildRequires: SDL-devel BuildRequires: binutils-gold @@ -110,6 +112,7 @@ BuildRequires: memory-constraints BuildRequires: ncurses-devel BuildRequires: ninja >= 1.7.2 +BuildRequires: nodejs >= 8.0 BuildRequires: pam-devel BuildRequires: pkgconfig BuildRequires: python @@ -130,7 +133,6 @@ BuildRequires: pkgconfig(flac++) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(glib-2.0) -BuildRequires: pkgconfig(gnome-keyring-1) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(hunspell) @@ -154,6 +156,7 @@ BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(libssl) BuildRequires: pkgconfig(libudev) +BuildRequires: pkgconfig(libusb-1.0) BuildRequires: pkgconfig(libxslt) BuildRequires: pkgconfig(minizip) BuildRequires: pkgconfig(nspr) >= 4.9.5 @@ -200,18 +203,13 @@ Obsoletes: chromium-ffmpeg Obsoletes: chromium-ffmpegsumo # no 32bit supported and it takes ages to build -ExcludeArch: %{arm} ppc ppc64 ppc64le s390 s390x +ExcludeArch: %{ix86} %{arm} ppc ppc64 ppc64le s390 s390x %ifnarch aarch64 # Current tcmalloc does not support AArch64 BuildRequires: pkgconfig(libtcmalloc) %endif %if %{with system_harfbuzz} -BuildRequires: pkgconfig(harfbuzz) >= 1.7.0 -%endif -%if 0%{?suse_version} >= 1330 -BuildRequires: nodejs8 -%else -BuildRequires: nodejs6 +BuildRequires: pkgconfig(harfbuzz) > 1.9.0 %endif %if %{with system_libxml} BuildRequires: pkgconfig(libxml-2.0) >= 2.9.5 @@ -259,11 +257,6 @@ %setup -q -n %{rname}-%{version} %autopatch -p1 -# remove linker optimalizations on low resource 32bit machines -%ifarch %{ix86} -sed -i -e '/"-Wl,-O2",/d' build/config/compiler/BUILD.gn -%endif - # Copy the toolchain settings mkdir toolchain cp %{SOURCE1} toolchain/BUILD.gn @@ -293,6 +286,7 @@ net/third_party/nss net/third_party/quic net/third_party/spdy + net/third_party/uri_template third_party/WebKit third_party/abseil-cpp third_party/analytics @@ -354,6 +348,8 @@ third_party/libXNVCtrl third_party/libaddressinput third_party/libaom + third_party/libaom/source/libaom/third_party/vector + third_party/libaom/source/libaom/third_party/x86inc third_party/libjingle third_party/libphonenumber third_party/libsecret @@ -369,6 +365,7 @@ third_party/markupsafe third_party/mesa third_party/metrics_proto + third_party/minigbm third_party/modp_b64 third_party/node third_party/node/node_modules/polymer-bundler/lib/third_party/UglifyJS2 @@ -420,14 +417,21 @@ third_party/web-animations-js third_party/webdriver third_party/webrtc + third_party/webrtc/common_audio/third_party/fft4g + third_party/webrtc/common_audio/third_party/spl_sqrt_floor + third_party/webrtc/modules/third_party/fft + third_party/webrtc/modules/third_party/g711 + third_party/webrtc/modules/third_party/g722 + third_party/webrtc/rtc_base/third_party/base64 + third_party/webrtc/rtc_base/third_party/sigslot third_party/widevine third_party/woff2 third_party/zlib/google url/third_party/mozilla v8/src/third_party/valgrind v8/src/third_party/utf8-decoder - v8/third_party/antlr4 v8/third_party/inspector_protocol + v8/third_party/v8/builtins ) %if %{with sle_bundles} keeplibs+=( @@ -469,6 +473,10 @@ ) build/linux/unbundle/remove_bundled_libraries.py "${keeplibs[@]}" --do-remove +# hack for libusb stuff +rm -rf third_party/libusb/src/libusb/libusb.h +cp -a %{_includedir}/libusb-1.0/libusb.h third_party/libusb/src/libusb/libusb.h + %build %if %{with clang} export CC=clang @@ -502,6 +510,7 @@ libjpeg libpng libxslt + libusb opus re2 snappy @@ -544,13 +553,13 @@ myconf_gn+=" is_component_ffmpeg=true" myconf_gn+=" use_cups=true" myconf_gn+=" use_aura=true" -%if %{with jumbo_build} -myconf_gn+=" use_jumbo_build=true" -%endif +myconf_gn+=" use_jumbo_build=true jumbo_file_merge_limit=8 concurrent_links=1 optimize_for_size=true" myconf_gn+=" symbol_level=1" myconf_gn+=" remove_webcore_debug_symbols=true" myconf_gn+=" use_kerberos=true" myconf_gn+=" enable_vr=false" +myconf_gn+=" optimize_webui=false" +myconf_gn+=" enable_reading_list=false" myconf_gn+=" use_pulseaudio=true link_pulseaudio=true" myconf_gn+=" is_component_build=false" myconf_gn+=" use_sysroot=false" @@ -561,6 +570,8 @@ %endif myconf_gn+=" fieldtrial_testing_like_official_build=true" myconf_gn+=" use_gold=true" +myconf_gn+=" use_gnome_keyring=false" +myconf_gn+=" use_unofficial_version_number=false" myconf_gn+=" use_lld=false" myconf_gn+=" use_vaapi=true" myconf_gn+=" use_sysroot=false" @@ -573,8 +584,10 @@ %endif myconf_gn+=" enable_hangout_services_extension=true" myconf_gn+=" enable_vulkan=true" +myconf_gn+=" enable_hevc_demuxing=true" # ozone stuff -#myconf_gn+=" use_ozone=true use_xkbcommon=true enable_mus=true" +myconf_gn+=" use_ozone=false use_xkbcommon=false" +myconf_gn+=" enable_mus=true" %if %{with clang} myconf_gn+=" is_clang=true clang_base_path=\"/usr\" clang_use_chrome_plugins=false" %else ++++++ chromium-69.0.3497.100.tar.xz -> chromium-70.0.3538.67.tar.xz ++++++ /work/SRC/openSUSE:Factory/chromium/chromium-69.0.3497.100.tar.xz /work/SRC/openSUSE:Factory/.chromium.new/chromium-70.0.3538.67.tar.xz differ: char 26, line 1 ++++++ chromium-gcc8-alignof.patch ++++++ --- /var/tmp/diff_new_pack.1RqThm/_old 2018-10-23 20:41:37.824455419 +0200 +++ /var/tmp/diff_new_pack.1RqThm/_new 2018-10-23 20:41:37.828455414 +0200 @@ -1,13 +1,5 @@ -From: Fedora -Subject: Fix build for 32-bit platforms - -Apparently not upstream, can't find this anywhere. So I assume Fedora is the actual source? -https://src.fedoraproject.org/cgit/rpms/chromium.git/tree/chromium-66.0.3359.170-gcc8-alignof.patch - -Index: chromium-69.0.3497.81/mojo/public/c/system/macros.h -=================================================================== ---- chromium-69.0.3497.81.orig/mojo/public/c/system/macros.h -+++ chromium-69.0.3497.81/mojo/public/c/system/macros.h +--- chromium-70.0.3510.0.old/mojo/public/c/system/macros.h 2018-08-06 09:15:30.346258487 +0200 ++++ chromium-70.0.3510.0/mojo/public/c/system/macros.h 2018-08-06 14:49:23.239735548 +0200 @@ -27,7 +27,13 @@ (sizeof(void*) == 4 ? 32 : 0) ++++++ chromium-gcc8-constexpr.patch ++++++ >From 87902b3202f81d689dd314c17006ffc907fe12a1 Mon Sep 17 00:00:00 2001 From: Wang Qing <wangqing...@loongson.cn> Date: Mon, 3 Sep 2018 02:41:08 +0000 Subject: [PATCH] Fix build error for blink. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This CLs fixed the error of constexpr function call to non-constexpr function. Bug: 878202 Change-Id: I6ad217a687e62a9a384980d852743a56479de3a9 Reviewed-on: https://chromium-review.googlesource.com/1192467 Commit-Queue: 汪 清 <wangqing...@loongson.cn> Reviewed-by: Eric Willigers <ericwillig...@chromium.org> Cr-Commit-Position: refs/heads/master@{#588316} --- .../core/animation/animation_time_delta.cc | 22 ++++++++++++++ .../core/animation/animation_time_delta.h | 30 +++++++------------ 2 files changed, 32 insertions(+), 20 deletions(-) diff --git a/third_party/blink/renderer/core/animation/animation_time_delta.cc b/third_party/blink/renderer/core/animation/animation_time_delta.cc index 1b25469c7f2f5..2e30a18890dab 100644 --- a/third_party/blink/renderer/core/animation/animation_time_delta.cc +++ b/third_party/blink/renderer/core/animation/animation_time_delta.cc @@ -7,6 +7,28 @@ namespace blink { #if !defined(BLINK_ANIMATION_USE_TIME_DELTA) +// Comparison operators on AnimationTimeDelta. +bool CORE_EXPORT operator==(const AnimationTimeDelta& lhs, + const AnimationTimeDelta& rhs) { + return lhs.InSecondsF() == rhs.InSecondsF(); +} +bool CORE_EXPORT operator!=(const AnimationTimeDelta& lhs, + const AnimationTimeDelta& rhs) { + return lhs.InSecondsF() != rhs.InSecondsF(); +} +bool CORE_EXPORT operator>(const AnimationTimeDelta& lhs, + const AnimationTimeDelta& rhs) { + return lhs.InSecondsF() > rhs.InSecondsF(); +} +bool CORE_EXPORT operator>=(const AnimationTimeDelta& lhs, + const AnimationTimeDelta& rhs) { + return lhs.InSecondsF() >= rhs.InSecondsF(); +} +bool CORE_EXPORT operator<=(const AnimationTimeDelta& lhs, + const AnimationTimeDelta& rhs) { + return lhs.InSecondsF() <= rhs.InSecondsF(); +} + std::ostream& operator<<(std::ostream& os, AnimationTimeDelta time) { return os << time.InSecondsF() << " s"; } diff --git a/third_party/blink/renderer/core/animation/animation_time_delta.h b/third_party/blink/renderer/core/animation/animation_time_delta.h index 1903c1150d3ec..95d218466d90a 100644 --- a/third_party/blink/renderer/core/animation/animation_time_delta.h +++ b/third_party/blink/renderer/core/animation/animation_time_delta.h @@ -90,26 +90,16 @@ AnimationTimeDelta operator*(T a, AnimationTimeDelta td) { } // Comparison operators on AnimationTimeDelta. -constexpr bool CORE_EXPORT operator==(const AnimationTimeDelta& lhs, - const AnimationTimeDelta& rhs) { - return lhs.InSecondsF() == rhs.InSecondsF(); -} -constexpr bool CORE_EXPORT operator!=(const AnimationTimeDelta& lhs, - const AnimationTimeDelta& rhs) { - return lhs.InSecondsF() != rhs.InSecondsF(); -} -constexpr bool CORE_EXPORT operator>(const AnimationTimeDelta& lhs, - const AnimationTimeDelta& rhs) { - return lhs.InSecondsF() > rhs.InSecondsF(); -} -constexpr bool CORE_EXPORT operator>=(const AnimationTimeDelta& lhs, - const AnimationTimeDelta& rhs) { - return lhs.InSecondsF() >= rhs.InSecondsF(); -} -constexpr bool CORE_EXPORT operator<=(const AnimationTimeDelta& lhs, - const AnimationTimeDelta& rhs) { - return lhs.InSecondsF() <= rhs.InSecondsF(); -} +bool CORE_EXPORT operator==(const AnimationTimeDelta& lhs, + const AnimationTimeDelta& rhs); +bool CORE_EXPORT operator!=(const AnimationTimeDelta& lhs, + const AnimationTimeDelta& rhs); +bool CORE_EXPORT operator>(const AnimationTimeDelta& lhs, + const AnimationTimeDelta& rhs); +bool CORE_EXPORT operator>=(const AnimationTimeDelta& lhs, + const AnimationTimeDelta& rhs); +bool CORE_EXPORT operator<=(const AnimationTimeDelta& lhs, + const AnimationTimeDelta& rhs); // Defined to allow DCHECK_EQ/etc to work with the class. CORE_EXPORT std::ostream& operator<<(std::ostream& os, AnimationTimeDelta time); commit cbdb8bd6567c8143dc8c1e5e86a21a8ea064eea4 Author: Maksim Sisov <msi...@igalia.com> Date: Fri Sep 7 18:57:42 2018 +0000 OmniboxTextView: fix gcc error for structure initialization It looks like there is bug in GCC 6, which cannot go through structure initialization normally. Thus, instead of a default initialization of one of the members, explicitly initialize it to a default value. Change-Id: Ia55cc6658e6b6b2f8a80c2582dd28f001c9e648c Reviewed-on: https://chromium-review.googlesource.com/1213181 Reviewed-by: Scott Violet <s...@chromium.org> Commit-Queue: Maksim Sisov <msi...@igalia.com> Cr-Commit-Position: refs/heads/master@{#589614} diff --git a/chrome/browser/ui/views/omnibox/omnibox_text_view.cc b/chrome/browser/ui/views/omnibox/omnibox_text_view.cc index f0a8083dc930..9021284f166d 100644 --- a/chrome/browser/ui/views/omnibox/omnibox_text_view.cc +++ b/chrome/browser/ui/views/omnibox/omnibox_text_view.cc @@ -175,7 +175,8 @@ void ApplyTextStyleForType(SuggestionAnswer::TextStyle text_style, style = {part_color, .baseline = gfx::SUPERIOR}; break; case SuggestionAnswer::TextStyle::BOLD: - style = {part_color, .weight = gfx::Font::Weight::BOLD}; + style = {part_color, .baseline = gfx::NORMAL_BASELINE, + .weight = gfx::Font::Weight::BOLD}; break; case SuggestionAnswer::TextStyle::NORMAL: case SuggestionAnswer::TextStyle::NORMAL_DIM: ++++++ chromium-libusb_interrupt_event_handler.patch ++++++ diff -up chromium-48.0.2564.116/device/usb/usb_context.cc.modern-libusbx chromium-48.0.2564.116/device/usb/usb_context.cc --- chromium-48.0.2564.116/device/usb/usb_context.cc.modern-libusbx 2016-02-24 10:21:10.534996028 -0500 +++ chromium-48.0.2564.116/device/usb/usb_context.cc 2016-02-24 10:22:28.270499864 -0500 @@ -57,7 +57,11 @@ void UsbContext::UsbEventHandler::Run() void UsbContext::UsbEventHandler::Stop() { base::subtle::Release_Store(&running_, 0); +#ifdef LIBUSB_API_VERSION >= 0x01000105 + libusb_interrupt_event_handler(context_); +#else libusb_interrupt_handle_event(context_); +#endif } UsbContext::UsbContext(PlatformUsbContext context) : context_(context) { ++++++ chromium-libva1.patch ++++++ # Fix compatibility with VA-API library (libva) version 1 # Chromium seems to use version 2 or newer Index: chromium-70.0.3538.67/media/gpu/vaapi/vaapi_jpeg_decode_accelerator.cc =================================================================== --- chromium-70.0.3538.67.orig/media/gpu/vaapi/vaapi_jpeg_decode_accelerator.cc +++ chromium-70.0.3538.67/media/gpu/vaapi/vaapi_jpeg_decode_accelerator.cc @@ -295,7 +295,8 @@ bool VaapiJpegDecodeAccelerator::Initial // TODO(crbug.com/828119): Try a list of possible supported formats rather // than hardcoding the format to I420 here. va_image_format_ = base::WrapUnique(new VAImageFormat{}); - va_image_format_->fourcc = VA_FOURCC_I420; + const uint32_t kI420Fourcc = VA_FOURCC('I', '4', '2', '0'); + va_image_format_->fourcc = kI420Fourcc; va_image_format_->byte_order = VA_LSB_FIRST; va_image_format_->bits_per_pixel = 12; ++++++ chromium-non-void-return.patch ++++++ ++++ 1016 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/chromium/chromium-non-void-return.patch ++++ and /work/SRC/openSUSE:Factory/.chromium.new/chromium-non-void-return.patch ++++++ chromium-old-glibc.patch ++++++ --- /var/tmp/diff_new_pack.1RqThm/_old 2018-10-23 20:41:37.908455319 +0200 +++ /var/tmp/diff_new_pack.1RqThm/_new 2018-10-23 20:41:37.912455314 +0200 @@ -1,8 +1,8 @@ -Index: chromium-69.0.3497.72/gpu/config/gpu_info.cc +Index: chromium-70.0.3538.67/gpu/config/gpu_info.cc =================================================================== ---- chromium-69.0.3497.72.orig/gpu/config/gpu_info.cc -+++ chromium-69.0.3497.72/gpu/config/gpu_info.cc -@@ -99,15 +99,15 @@ GPUInfo::GPUDevice::GPUDevice() +--- chromium-70.0.3538.67.orig/gpu/config/gpu_info.cc ++++ chromium-70.0.3538.67/gpu/config/gpu_info.cc +@@ -98,15 +98,15 @@ GPUInfo::GPUDevice::GPUDevice() GPUInfo::GPUDevice::GPUDevice(const GPUInfo::GPUDevice& other) = default; @@ -21,11 +21,11 @@ GPUInfo::GPUInfo() : optimus(false), -Index: chromium-69.0.3497.72/components/policy/core/common/policy_map.cc +Index: chromium-70.0.3538.67/components/policy/core/common/policy_map.cc =================================================================== ---- chromium-69.0.3497.72.orig/components/policy/core/common/policy_map.cc -+++ chromium-69.0.3497.72/components/policy/core/common/policy_map.cc -@@ -15,8 +15,8 @@ PolicyMap::Entry::Entry() = default; +--- chromium-70.0.3538.67.orig/components/policy/core/common/policy_map.cc ++++ chromium-70.0.3538.67/components/policy/core/common/policy_map.cc +@@ -17,8 +17,8 @@ PolicyMap::Entry::Entry() = default; PolicyMap::Entry::~Entry() = default; @@ -36,10 +36,10 @@ PolicyMap::Entry PolicyMap::Entry::DeepCopy() const { Entry copy; -Index: chromium-69.0.3497.72/components/search_provider_logos/logo_common.cc +Index: chromium-70.0.3538.67/components/search_provider_logos/logo_common.cc =================================================================== ---- chromium-69.0.3497.72.orig/components/search_provider_logos/logo_common.cc -+++ chromium-69.0.3497.72/components/search_provider_logos/logo_common.cc +--- chromium-70.0.3538.67.orig/components/search_provider_logos/logo_common.cc ++++ chromium-70.0.3538.67/components/search_provider_logos/logo_common.cc @@ -12,24 +12,24 @@ const int64_t kMaxTimeToLiveMS = INT64_C LogoMetadata::LogoMetadata() = default; @@ -71,3 +71,40 @@ LogoCallbacks::~LogoCallbacks() = default; } // namespace search_provider_logos +Index: chromium-70.0.3538.67/components/signin/core/browser/account_info.cc +=================================================================== +--- chromium-70.0.3538.67.orig/components/signin/core/browser/account_info.cc ++++ chromium-70.0.3538.67/components/signin/core/browser/account_info.cc +@@ -28,11 +28,11 @@ AccountInfo::~AccountInfo() = default; + + AccountInfo::AccountInfo(const AccountInfo& other) = default; + +-AccountInfo::AccountInfo(AccountInfo&& other) noexcept = default; ++AccountInfo::AccountInfo(AccountInfo&& other) = default; + + AccountInfo& AccountInfo::operator=(const AccountInfo& other) = default; + +-AccountInfo& AccountInfo::operator=(AccountInfo&& other) noexcept = default; ++AccountInfo& AccountInfo::operator=(AccountInfo&& other) = default; + + bool AccountInfo::IsEmpty() const { + return account_id.empty() && email.empty() && gaia.empty() && +Index: chromium-70.0.3538.67/chrome/common/media_router/media_sink.cc +=================================================================== +--- chromium-70.0.3538.67.orig/chrome/common/media_router/media_sink.cc ++++ chromium-70.0.3538.67/chrome/common/media_router/media_sink.cc +@@ -19,12 +19,12 @@ MediaSink::MediaSink(const MediaSink::Id + provider_id_(provider_id) {} + + MediaSink::MediaSink(const MediaSink& other) = default; +-MediaSink::MediaSink(MediaSink&& other) noexcept = default; ++MediaSink::MediaSink(MediaSink&& other) = default; + MediaSink::MediaSink() = default; + MediaSink::~MediaSink() = default; + + MediaSink& MediaSink::operator=(const MediaSink& other) = default; +-MediaSink& MediaSink::operator=(MediaSink&& other) noexcept = default; ++MediaSink& MediaSink::operator=(MediaSink&& other) = default; + + bool MediaSink::Equals(const MediaSink& other) const { + return sink_id_ == other.sink_id_; ++++++ chromium-pdfium-include.patch ++++++ Index: dev/pdf/pdfium/pdfium_mem_buffer_file_write.h =================================================================== --- dev.orig/pdf/pdfium/pdfium_mem_buffer_file_write.h +++ dev/pdf/pdfium/pdfium_mem_buffer_file_write.h @@ -6,6 +6,7 @@ #define PDF_PDFIUM_PDFIUM_MEM_BUFFER_FILE_WRITE_H_ #include <stddef.h> +#include <stdint.h> #include <vector> ++++++ chromium-prop-codecs.patch ++++++ --- /var/tmp/diff_new_pack.1RqThm/_old 2018-10-23 20:41:37.932455290 +0200 +++ /var/tmp/diff_new_pack.1RqThm/_new 2018-10-23 20:41:37.932455290 +0200 @@ -1,7 +1,8 @@ -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 @@ +Index: chromium-70.0.3538.45/media/BUILD.gn +=================================================================== +--- chromium-70.0.3538.45.orig/media/BUILD.gn ++++ chromium-70.0.3538.45/media/BUILD.gn +@@ -38,12 +38,6 @@ buildflag_header("media_buildflags") { ] } ++++++ chromium-sandbox-pie.patch ++++++ --- /var/tmp/diff_new_pack.1RqThm/_old 2018-10-23 20:41:37.944455276 +0200 +++ /var/tmp/diff_new_pack.1RqThm/_new 2018-10-23 20:41:37.948455271 +0200 @@ -1,8 +1,6 @@ -Index: chromium-69.0.3472.3/sandbox/linux/BUILD.gn -=================================================================== ---- chromium-69.0.3472.3.orig/sandbox/linux/BUILD.gn -+++ chromium-69.0.3472.3/sandbox/linux/BUILD.gn -@@ -314,12 +314,15 @@ if (is_linux) { +--- chromium-70.0.3510.0.old/sandbox/linux/BUILD.gn 2018-08-06 09:15:34.578380469 +0200 ++++ chromium-70.0.3510.0/sandbox/linux/BUILD.gn 2018-08-06 09:20:38.371120536 +0200 +@@ -314,11 +314,14 @@ cflags = [ # For ULLONG_MAX "-std=gnu99", @@ -12,18 +10,8 @@ # TODO fix this and re-enable this warning. "-Wno-sign-compare", ] - -+ ldflags = [ "-pie" ] + - import("//build/config/compiler/compiler.gni") - import("//build/config/sanitizers/sanitizers.gni") - if (is_component_build || using_sanitizer) { -@@ -329,7 +332,7 @@ if (is_linux) { - # other flags that executable_config might have. - configs -= [ "//build/config:executable_config" ] - if (!use_gold) { -- ldflags = [ "-Wl,--disable-new-dtags" ] -+ ldflags += [ "-Wl,--disable-new-dtags" ] - } - } ++ ldflags = [ "-pie" ] + } + } ++++++ chromium-skia-system-fontconfig.patch ++++++ --- /var/tmp/diff_new_pack.1RqThm/_old 2018-10-23 20:41:37.968455247 +0200 +++ /var/tmp/diff_new_pack.1RqThm/_new 2018-10-23 20:41:37.968455247 +0200 @@ -1,6 +1,6 @@ ---- chromium-69.0.3493.3.old/third_party/skia/src/ports/SkFontHost_FreeType.cpp 2018-07-25 16:42:39.217368047 +0200 -+++ chromium-69.0.3493.3/third_party/skia/src/ports/SkFontHost_FreeType.cpp 2018-07-25 16:44:03.387793112 +0200 -@@ -112,8 +112,6 @@ +--- chromium-70.0.3521.2.old/third_party/skia/src/ports/SkFontHost_FreeType.cpp 2018-08-15 12:41:22.092005379 +0200 ++++ chromium-70.0.3521.2/third_party/skia/src/ports/SkFontHost_FreeType.cpp 2018-08-15 12:42:17.444986032 +0200 +@@ -115,8 +115,6 @@ : fGetVarDesignCoordinates(nullptr) , fGetVarAxisFlags(nullptr) , fLibrary(nullptr) @@ -9,7 +9,7 @@ { if (FT_New_Library(&gFTMemory, &fLibrary)) { return; -@@ -173,12 +171,7 @@ +@@ -176,12 +174,7 @@ } #endif @@ -23,7 +23,7 @@ } ~FreeTypeLibrary() { if (fLibrary) { -@@ -187,8 +180,6 @@ +@@ -190,8 +183,6 @@ } FT_Library library() { return fLibrary; } @@ -32,7 +32,7 @@ // FT_Get_{MM,Var}_{Blend,Design}_Coordinates were added in FreeType 2.7.1. // Prior to this there was no way to get the coordinates out of the FT_Face. -@@ -205,8 +196,6 @@ +@@ -208,8 +199,6 @@ private: FT_Library fLibrary; @@ -41,7 +41,7 @@ // FT_Library_SetLcdFilterWeights was introduced in FreeType 2.4.0. // The following platforms provide FreeType of at least 2.4.0. -@@ -704,17 +693,6 @@ +@@ -707,17 +696,6 @@ rec->fTextSize = SkIntToScalar(1 << 14); } @@ -59,9 +59,9 @@ SkPaint::Hinting h = rec->getHinting(); if (SkPaint::kFull_Hinting == h && !isLCD(*rec)) { // collapse full->normal hinting if we're not doing LCD -@@ -1109,11 +1087,11 @@ +@@ -1117,11 +1095,11 @@ void SkScalerContext_FreeType::updateGlyphIfLCD(SkGlyph* glyph) { - if (isLCD(fRec)) { + if (glyph->fMaskFormat == SkMask::kLCD16_Format) { if (fLCDIsVert) { - glyph->fHeight += gFTLibrary->lcdExtra(); - glyph->fTop -= gFTLibrary->lcdExtra() >> 1; ++++++ chromium-system-libusb.patch ++++++ Index: chromium-70.0.3538.54/build/linux/unbundle/libusb.gn =================================================================== --- /dev/null +++ chromium-70.0.3538.54/build/linux/unbundle/libusb.gn @@ -0,0 +1,24 @@ +# Copyright 2016 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +import("//build/config/linux/pkg_config.gni") +import("//build/shim_headers.gni") + +pkg_config("system_libusb") { + packages = [ "libusb-1.0" ] +} + +shim_headers("libusb_shim") { + root_path = "src/libusb" + headers = [ + "libusb.h", + ] +} + +source_set("libusb") { + deps = [ + ":libusb_shim", + ] + public_configs = [ ":system_libusb" ] +} Index: chromium-70.0.3538.54/build/linux/unbundle/replace_gn_files.py =================================================================== --- chromium-70.0.3538.54.orig/build/linux/unbundle/replace_gn_files.py +++ chromium-70.0.3538.54/build/linux/unbundle/replace_gn_files.py @@ -27,6 +27,7 @@ REPLACEMENTS = { 'libevent': 'base/third_party/libevent/BUILD.gn', 'libjpeg': 'third_party/libjpeg.gni', 'libpng': 'third_party/libpng/BUILD.gn', + 'libusb': 'third_party/libusb/BUILD.gn', 'libvpx': 'third_party/libvpx/BUILD.gn', 'libwebp': 'third_party/libwebp/BUILD.gn', 'libxml': 'third_party/libxml/BUILD.gn', ++++++ chromium-vaapi.patch ++++++ ++++ 671 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/chromium/chromium-vaapi.patch ++++ and /work/SRC/openSUSE:Factory/.chromium.new/chromium-vaapi.patch