commit 6944f231efaf722f2d99cae67145721be2eb8826
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Wed Oct 23 10:20:43 2019 -0400
initial v78 commit, note, NOT READY FOR BUILD YET
chromium-71.0.3578.98-gcc9-drop-rsp-clobber.patch | 12 -
...m-76.0.3809.100-gcc-no-alignas-and-export.patch | 14 -
...ium-76.0.3809.100-vtable-symbol-undefined.patch | 11 -
...7.0.3865.120-silence-outdated-build-noise.patch | 7 +-
...ium-77.0.3865.75-certificate-transparency.patch | 539 ---------------------
chromium-77.0.3865.75-gcc-abstract-class.patch | 61 ---
chromium-77.0.3865.75-harfbuzz-subset.patch | 49 --
chromium-77.0.3865.75-missing-limits.patch | 28 --
chromium-77.0.3865.75-unbundle-zlib.patch | 25 -
chromium-77.0.3865.90-linked-hash-set.patch | 130 -----
chromium-78.0.3904.70-gcc-fix-invalid-pragma.patch | 16 +
....3904.70-gcc-mark-CheckOpResult-constexpr.patch | 12 +
chromium-78.0.3904.70-gcc9-drop-rsp-clobber.patch | 24 +
chromium-78.0.3904.70-unbundle-zlib.patch | 12 +
...mium-78.0.3904.70-vtable-symbol-undefined.patch | 11 +
chromium.spec | 65 ++-
sources | 1 +
17 files changed, 107 insertions(+), 910 deletions(-)
---
diff --git a/chromium-77.0.3865.120-silence-outdated-build-noise.patch
b/chromium-77.0.3865.120-silence-outdated-build-noise.patch
index 22e1e78..f2d4735 100644
--- a/chromium-77.0.3865.120-silence-outdated-build-noise.patch
+++ b/chromium-77.0.3865.120-silence-outdated-build-noise.patch
@@ -32,7 +32,7 @@ index 432e3789eced0..07850fdf80cd7 100644
#include "chrome/browser/browser_process.h"
#include "chrome/browser/google/google_brand.h"
#include "chrome/common/chrome_switches.h"
-@@ -74,6 +75,14 @@ constexpr base::TimeDelta kNotifyCycleTimeForTesting =
+@@ -73,6 +74,14 @@ constexpr base::TimeDelta kNotifyCycleTimeForTesting =
// The number of days after which we identify a build/install as outdated.
constexpr base::TimeDelta kOutdatedBuildAge = base::TimeDelta::FromDays(12 * 7);
@@ -47,13 +47,14 @@ index 432e3789eced0..07850fdf80cd7 100644
// Return the string that was passed as a value for the
// kCheckForUpdateIntervalSec switch.
std::string CmdLineInterval() {
-@@ -403,6 +412,9 @@ bool UpgradeDetectorImpl::DetectOutdated
- if (base::IsMachineExternallyManaged())
+@@ -406,6 +415,10 @@ bool UpgradeDetectorImpl::DetectOutdated
return false;
+ }
#endif
+
+ if (!ShouldDetectOutdatedBuilds())
+ return false;
++
}
base::Time network_time;
diff --git a/chromium-78.0.3904.70-gcc-fix-invalid-pragma.patch
b/chromium-78.0.3904.70-gcc-fix-invalid-pragma.patch
new file mode 100644
index 0000000..eb0efbd
--- /dev/null
+++ b/chromium-78.0.3904.70-gcc-fix-invalid-pragma.patch
@@ -0,0 +1,16 @@
+diff -up chromium-78.0.3904.70/base/allocator/debugallocation_shim.cc.invalid-pragma
chromium-78.0.3904.70/base/allocator/debugallocation_shim.cc
+---
chromium-78.0.3904.70/base/allocator/debugallocation_shim.cc.invalid-pragma 2019-10-23
10:00:41.361932768 -0400
++++ chromium-78.0.3904.70/base/allocator/debugallocation_shim.cc 2019-10-23
10:02:09.778100948 -0400
+@@ -7,9 +7,10 @@
+ // AFDO can mess with them. Better not to use AFDO there. This is a
+ // temporary hack. We will add a mechanism in the build system to
+ // avoid using -fauto-profile for tcmalloc files.
+-#if !defined(__clang__) && (defined(OS_CHROMEOS) || __GNUC__ > 5)
++#if !defined(__clang__) && \
++ (defined(OS_CHROMEOS) || (__GNUC__ > 5 && __GNUC__ < 7))
+ // Note that this option only seems to be available in the chromeos GCC 4.9
+-// toolchain, and stock GCC 5 and up.
++// toolchain, and stock GCC 5 upto 7.
+ #pragma GCC optimize ("no-auto-profile")
+ #endif
+
diff --git a/chromium-78.0.3904.70-gcc-mark-CheckOpResult-constexpr.patch
b/chromium-78.0.3904.70-gcc-mark-CheckOpResult-constexpr.patch
new file mode 100644
index 0000000..e5502cf
--- /dev/null
+++ b/chromium-78.0.3904.70-gcc-mark-CheckOpResult-constexpr.patch
@@ -0,0 +1,12 @@
+diff -up chromium-78.0.3904.70/base/logging.h.constexpr
chromium-78.0.3904.70/base/logging.h
+--- chromium-78.0.3904.70/base/logging.h.constexpr 2019-10-23 10:06:53.434313793 -0400
++++ chromium-78.0.3904.70/base/logging.h 2019-10-23 10:07:17.490853038 -0400
+@@ -530,7 +530,7 @@ BASE_EXPORT extern std::ostream* g_swall
+ class CheckOpResult {
+ public:
+ // |message| must be non-null if and only if the check failed.
+- CheckOpResult(std::string* message) : message_(message) {}
++ constexpr CheckOpResult(std::string* message) : message_(message) {}
+ // Returns true if the check succeeded.
+ operator bool() const { return !message_; }
+ // Returns the message.
diff --git a/chromium-78.0.3904.70-gcc9-drop-rsp-clobber.patch
b/chromium-78.0.3904.70-gcc9-drop-rsp-clobber.patch
new file mode 100644
index 0000000..6785b09
--- /dev/null
+++ b/chromium-78.0.3904.70-gcc9-drop-rsp-clobber.patch
@@ -0,0 +1,24 @@
+diff -up
chromium-78.0.3904.70/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h.gcc9
chromium-78.0.3904.70/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h
+---
chromium-78.0.3904.70/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h.gcc9 2019-10-23
08:58:16.153251961 -0400
++++
chromium-78.0.3904.70/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h 2019-10-23
08:58:36.896862347 -0400
+@@ -1486,7 +1486,7 @@ struct kernel_stat {
+ "d"(LSS_SYSCALL_ARG(parent_tidptr)),
+ "r"(LSS_SYSCALL_ARG(newtls)),
+ "r"(LSS_SYSCALL_ARG(child_tidptr))
+- : "rsp", "memory", "r8",
"r10", "r11", "rcx");
++ : "memory", "r8", "r10",
"r11", "rcx");
+ }
+ LSS_RETURN(int, __res);
+ }
+diff -up
chromium-78.0.3904.70/third_party/tcmalloc/vendor/src/base/linux_syscall_support.h.gcc9
chromium-78.0.3904.70/third_party/tcmalloc/vendor/src/base/linux_syscall_support.h
+---
chromium-78.0.3904.70/third_party/tcmalloc/vendor/src/base/linux_syscall_support.h.gcc9 2019-10-23
08:58:59.623435488 -0400
++++
chromium-78.0.3904.70/third_party/tcmalloc/vendor/src/base/linux_syscall_support.h 2019-10-23
08:59:16.113125772 -0400
+@@ -1485,7 +1485,7 @@ struct kernel_stat {
+ "d"(LSS_SYSCALL_ARG(parent_tidptr)),
+ "r"(LSS_SYSCALL_ARG(newtls)),
+ "r"(LSS_SYSCALL_ARG(child_tidptr))
+- : "rsp", "memory", "r8",
"r10", "r11", "rcx");
++ : "memory", "r8", "r10",
"r11", "rcx");
+ }
+ LSS_RETURN(int, __res);
+ }
diff --git a/chromium-78.0.3904.70-unbundle-zlib.patch
b/chromium-78.0.3904.70-unbundle-zlib.patch
new file mode 100644
index 0000000..155990e
--- /dev/null
+++ b/chromium-78.0.3904.70-unbundle-zlib.patch
@@ -0,0 +1,12 @@
+diff -up chromium-78.0.3904.70/third_party/perfetto/gn/BUILD.gn.unbundle-zlib
chromium-78.0.3904.70/third_party/perfetto/gn/BUILD.gn
+--- chromium-78.0.3904.70/third_party/perfetto/gn/BUILD.gn.unbundle-zlib 2019-10-23
09:25:44.419884187 -0400
++++ chromium-78.0.3904.70/third_party/perfetto/gn/BUILD.gn 2019-10-23 09:29:53.553442745
-0400
+@@ -276,7 +276,7 @@ if (enable_perfetto_trace_processor || e
+ "//buildtools:zlib",
+ ]
+ } else {
+- public_configs = [ "//third_party/zlib:zlib_config" ]
++ public_configs = [ "//third_party/zlib:system_zlib" ]
+ public_deps = [
+ "//third_party/zlib",
+ ]
diff --git a/chromium-78.0.3904.70-vtable-symbol-undefined.patch
b/chromium-78.0.3904.70-vtable-symbol-undefined.patch
new file mode 100644
index 0000000..13751a2
--- /dev/null
+++ b/chromium-78.0.3904.70-vtable-symbol-undefined.patch
@@ -0,0 +1,11 @@
+diff -up
chromium-78.0.3904.70/net/quic/platform/impl/quic_default_proof_providers_impl.cc.vtable-symbol-undefined
chromium-78.0.3904.70/net/quic/platform/impl/quic_default_proof_providers_impl.cc
+---
chromium-78.0.3904.70/net/quic/platform/impl/quic_default_proof_providers_impl.cc.vtable-symbol-undefined 2019-10-23
09:12:08.754351798 -0400
++++
chromium-78.0.3904.70/net/quic/platform/impl/quic_default_proof_providers_impl.cc 2019-10-23
09:19:28.278431430 -0400
+@@ -18,6 +18,7 @@
+ #include "net/quic/crypto/proof_verifier_chromium.h"
+ #include "net/third_party/quiche/src/quic/platform/api/quic_flags.h"
+ #include "net/third_party/quiche/src/quic/platform/api/quic_ptr_util.h"
++#include "net/quic/platform/impl/quic_flags_impl.cc"
+
+ DEFINE_QUIC_COMMAND_LINE_FLAG(
+ bool,
diff --git a/chromium.spec b/chromium.spec
index 8994527..675a54b 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -154,15 +154,15 @@ BuildRequires: libicu-devel >= 5.4
%global chromoting_client_id %nil
%endif
-%global majorversion 77
+%global majorversion 78
%if %{freeworld}
Name: chromium%{chromium_channel}%{?freeworld:-freeworld}
%else
Name: chromium%{chromium_channel}
%endif
-Version: %{majorversion}.0.3865.120
-Release: 4%{?dist}
+Version: %{majorversion}.0.3904.70
+Release: 1%{?dist}
Summary: A WebKit (Blink) powered web browser
Url:
http://www.chromium.org/Home
License: BSD and LGPLv2+ and ASL 2.0 and IJG and MIT and GPLv2+ and ISC and OpenSSL and
(MPLv1.1 or GPLv2 or LGPLv2)
@@ -191,7 +191,7 @@ Patch8: chromium-71.0.3578.98-widevine-r3.patch
# Disable fontconfig cache magic that breaks remoting
Patch9: chromium-70.0.3538.67-disable-fontconfig-cache-magic.patch
# drop rsp clobber, which breaks gcc9 (thanks to Jeff Law)
-Patch10: chromium-71.0.3578.98-gcc9-drop-rsp-clobber.patch
+Patch10: chromium-78.0.3904.70-gcc9-drop-rsp-clobber.patch
# Try to load widevine from other places
Patch11: chromium-widevine-other-locations.patch
# Try to fix version.py for Rawhide
@@ -200,34 +200,24 @@ Patch12: chromium-71.0.3578.98-py2-bootstrap.patch
Patch13: chromium-77.0.3865.75-fedora-user-agent.patch
# rename function to avoid conflict with rawhide glibc "gettid()"
Patch50: chromium-75.0.3770.80-grpc-gettid-fix.patch
-# In GCC one can't use alignas() for exported classes
-#
https://chromium.googlesource.com/chromium/src.git/+/8148fd96ae04a1150a9c...
-Patch51: chromium-76.0.3809.100-gcc-no-alignas-and-export.patch
# Needs to be submitted..
-Patch52: chromium-76.0.3809.100-gcc-remoting-constexpr.patch
+Patch51: chromium-76.0.3809.100-gcc-remoting-constexpr.patch
# Needs to be submitted.. (ugly hack, needs to be added properly to GN files)
-Patch53: chromium-76.0.3809.100-vtable-symbol-undefined.patch
-#
https://chromium.googlesource.com/chromium/src.git/+/3c9720245e440c4b7222...
-Patch54: chromium-77.0.3865.75-certificate-transparency.patch
+Patch52: chromium-78.0.3904.70-vtable-symbol-undefined.patch
#
https://gitweb.gentoo.org/repo/gentoo.git/tree/www-client/chromium/files/...
-Patch55: chromium-77.0.3865.75-unbundle-zlib.patch
+Patch53: chromium-78.0.3904.70-unbundle-zlib.patch
# Needs to be submitted..
-Patch56: chromium-77.0.3865.75-gcc-include-memory.patch
+Patch54: chromium-77.0.3865.75-gcc-include-memory.patch
#
https://chromium.googlesource.com/chromium/src/+/6b633c4b14850df376d5cec5...
-Patch57: chromium-77.0.3865.75-base-gcc-no-alignas.patch
-#
https://chromium.googlesource.com/chromium/src/+/27e25336b8316ff3ec4e4640...
-Patch58: chromium-77.0.3865.75-harfbuzz-subset.patch
-#
https://chromium.googlesource.com/chromium/src.git/+/f08cb0022527081c078e...
-Patch59: chromium-77.0.3865.75-gcc-abstract-class.patch
-#
https://chromium.googlesource.com/chromium/src/+/5baf7df7f4c5971dab552897...
-Patch60: chromium-77.0.3865.75-missing-limits.patch
-#
https://chromium.googlesource.com/chromium/src/+/74138b9febd37eac0fc26b8e...
-Patch61: chromium-77.0.3865.90-linked-hash-set.patch
+Patch55: chromium-77.0.3865.75-base-gcc-no-alignas.patch
#
https://chromium.googlesource.com/chromium/src/+/e79d9d0e06b825d2e62b38db...
-Patch62: chromium-77.0.3865.120-silence-outdated-build-noise.patch
+Patch56: chromium-77.0.3865.120-silence-outdated-build-noise.patch
#
https://chromium.googlesource.com/chromium/src/+/9c3aed099b010a75594a0efd...
-Patch63: chromium-77.0.3865.120-gcc-fix-zlib-symbol-visibility.patch
-
+Patch57: chromium-77.0.3865.120-gcc-fix-zlib-symbol-visibility.patch
+#
https://chromium.googlesource.com/chromium/src/+/7358ea985cb496fa7fd1a526...
+Patch58: chromium-78.0.3904.70-gcc-fix-invalid-pragma.patch
+#
https://chromium.googlesource.com/chromium/src/+/2db67d40ef766c63a7389686...
+Patch59: chromium-78.0.3904.70-gcc-mark-CheckOpResult-constexpr.patch
# Use lstdc++ on EPEL7 only
Patch101: chromium-75.0.3770.100-epel7-stdc++.patch
@@ -742,19 +732,15 @@ udev.
# Short term fixes (usually gcc and backports)
%patch50 -p1 -b .gettid-fix
-%patch51 -p1 -b .gcc-no-alignas-and-export
-%patch52 -p1 -b .gcc-remoting-constexpr
-%patch53 -p1 -b .vtable-symbol-undefined
-%patch54 -p1 -b .certificate-transparency
-%patch55 -p1 -b .unbundle-zlib
-%patch56 -p1 -b .gcc-include-memory
-%patch57 -p1 -b .base-gcc-no-alignas
-%patch58 -p1 -b .harfbuzz-subset
-%patch59 -p1 -b .gcc-abstract-class
-%patch60 -p1 -b .missing-limits
-%patch61 -p1 -b .linked-hash-set
-%patch62 -p1 -b .silence-outdated-build-noise
-%patch63 -p1 -b .gcc-fix-zlib-symbol-visibility
+%patch51 -p1 -b .gcc-remoting-constexpr
+%patch52 -p1 -b .vtable-symbol-undefined
+%patch53 -p1 -b .unbundle-zlib
+%patch54 -p1 -b .gcc-include-memory
+%patch55 -p1 -b .base-gcc-no-alignas
+%patch56 -p1 -b .silence-outdated-build-noise
+%patch57 -p1 -b .gcc-fix-zlib-symbol-visibility
+%patch58 -p1 -b .gcc-invalid-pragma
+%patch59 -p1 -b .gcc-mark-CheckOpResult-constexpr
# Fedora branded user agent
%if 0%{?fedora}
@@ -1669,6 +1655,9 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r
chrome-remote-deskt
%changelog
+* Wed Oct 23 2019 Tom Callaway <spot(a)fedoraproject.org> - 78.0.3904.80-1
+- update to 78.0.3904.80
+
* Wed Oct 16 2019 Tom Callaway <spot(a)fedoraproject.org> - 77.0.3865.120-4
- upstream fix for zlib symbol exports with gcc
diff --git a/sources b/sources
index 978a610..c18b1d0 100644
--- a/sources
+++ b/sources
@@ -18,3 +18,4 @@ SHA512 (Tinos-Regular.ttf) =
58085c5dac6d067d60ba2ab3220c4a0cc1efcf279cadfcfb874
SHA512 (Ahem.ttf) =
aeb64b10ab9c87860714cb60b4900254b13dc52c51319256a1a3722c882026ab7c616bf628fbc2fe14e38a6003f3a481af60b52a7ed62071d28ddaf428e4e3fd
SHA512 (node-v8.9.1-linux-x64.tar.gz) =
a707fd4567041c56e7f9d415e505e3fa650627f31def7fefdd7ec50f9e7066bb33332b67f479e1159d85e1105a7e6d034aad7429f4f3d034c9161170d7e0b844
SHA512 (chromium-77.0.3865.120-clean.tar.xz) =
018702b53bafeb5fe8a297b8efb4805419555acb80a22b9f5f5fe2a3484f838f6ffa06655229466aca5a9de7f8b0497b9d387da4a1ba2dbc7c62ec3d1d0ffbb9
+SHA512 (chromium-78.0.3904.70-clean.tar.xz) =
f702bc3c084a69adc81f47300d00f0b8cf46ee721dbb4986bfc5ba7fc95129172d021da0514350fe77591a209ec050307eead8e9bf309b70e46eb26d29d88509