commit 1646709894bee11759b780dcf9794446c374b5ee
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Tue Jun 25 10:58:05 2019 -0400
fix v8 compile with gcc
chromium-75.0.3770.100-fix-v8-gcc.patch | 14 ++++++++++++++
chromium.spec | 14 ++++++++------
2 files changed, 22 insertions(+), 6 deletions(-)
---
diff --git a/chromium-75.0.3770.100-fix-v8-gcc.patch
b/chromium-75.0.3770.100-fix-v8-gcc.patch
new file mode 100644
index 0000000..4a1a4b0
--- /dev/null
+++ b/chromium-75.0.3770.100-fix-v8-gcc.patch
@@ -0,0 +1,14 @@
+diff -up chromium-75.0.3770.100/v8/src/objects/js-objects.cc.fix-v8-gcc
chromium-75.0.3770.100/v8/src/objects/js-objects.cc
+--- chromium-75.0.3770.100/v8/src/objects/js-objects.cc.fix-v8-gcc 2019-06-25
10:55:08.132254304 -0400
++++ chromium-75.0.3770.100/v8/src/objects/js-objects.cc 2019-06-25 10:55:23.147933648
-0400
+@@ -3792,6 +3792,10 @@ void JSObject::ApplyAttributesToDictiona
+ }
+ }
+
++template void JSObject::ApplyAttributesToDictionary(
++ Isolate* isolate, ReadOnlyRoots roots, Handle<NumberDictionary> dictionary,
++ const PropertyAttributes attributes);
++
+ template <PropertyAttributes attrs>
+ Maybe<bool> JSObject::PreventExtensionsWithTransition(
+ Handle<JSObject> object, ShouldThrow should_throw) {
diff --git a/chromium.spec b/chromium.spec
index 1ecd6b1..e6d9c63 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -6,12 +6,8 @@
%ifarch aarch64
%global use_jumbo 0
%else
-%if 0%{?rhel}
-%global use_jumbo 0
-%else
%global use_jumbo 1
%endif
-%endif
# We usually want this.
%global build_headless 1
@@ -169,7 +165,7 @@ Name: chromium%{chromium_channel}%{?freeworld:-freeworld}
Name: chromium%{chromium_channel}
%endif
Version: %{majorversion}.0.3770.100
-Release: 1%{?dist}
+Release: 2%{?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)
@@ -341,7 +337,9 @@ Patch143: chromium-75.0.3770.80-revert-daff6b.patch
Patch144: chromium-75.0.3770.80-pure-virtual-crash-fix.patch
# rename function to avoid conflict with rawhide glibc "gettid()"
Patch145: chromium-75.0.3770.80-grpc-gettid-fix.patch
-
+# fix v8 compile with gcc
+#
https://chromium.googlesource.com/v8/v8/+/3b8c624bda58d05aea80dd9626cd550...
+Patch146: chromium-75.0.3770.100-fix-v8-gcc.patch
# Use chromium-latest.py to generate clean tarball from released build tarballs, found
here:
#
http://build.chromium.org/buildbot/official/
@@ -925,6 +923,7 @@ udev.
%patch143 -p1 -b .revert-daff6b
%patch144 -p1 -b .pure-virtual-fix
%patch145 -p1 -b .gettid-fix
+%patch146 -p1 -b .fix-v8-gcc
# Change shebang in all relevant files in this directory and all subdirectories
# See `man find` for how the `-exec command {} +` syntax works
@@ -1923,6 +1922,9 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r
chrome-remote-deskt
%changelog
+* Tue Jun 25 2019 Tom Callaway <spot(a)fedoraproject.org> - 75.0.3770.100-2
+- fix v8 compile with gcc
+
* Thu Jun 20 2019 Tom Callaway <spot(a)fedoraproject.org> - 75.0.3770.100-1
- update to 75.0.3770.100