fix v8 compile with gcc

epel8
Tom Callaway 5 years ago
parent 583677e39c
commit 1646709894

@ -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) {

@ -6,12 +6,8 @@
%ifarch aarch64 %ifarch aarch64
%global use_jumbo 0 %global use_jumbo 0
%else %else
%if 0%{?rhel}
%global use_jumbo 0
%else
%global use_jumbo 1 %global use_jumbo 1
%endif %endif
%endif
# We usually want this. # We usually want this.
%global build_headless 1 %global build_headless 1
@ -169,7 +165,7 @@ Name: chromium%{chromium_channel}%{?freeworld:-freeworld}
Name: chromium%{chromium_channel} Name: chromium%{chromium_channel}
%endif %endif
Version: %{majorversion}.0.3770.100 Version: %{majorversion}.0.3770.100
Release: 1%{?dist} Release: 2%{?dist}
Summary: A WebKit (Blink) powered web browser Summary: A WebKit (Blink) powered web browser
Url: http://www.chromium.org/Home 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) 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 Patch144: chromium-75.0.3770.80-pure-virtual-crash-fix.patch
# rename function to avoid conflict with rawhide glibc "gettid()" # rename function to avoid conflict with rawhide glibc "gettid()"
Patch145: chromium-75.0.3770.80-grpc-gettid-fix.patch Patch145: chromium-75.0.3770.80-grpc-gettid-fix.patch
# fix v8 compile with gcc
# https://chromium.googlesource.com/v8/v8/+/3b8c624bda58d05aea80dd9626cd550537d6ac3f%5E%21/#F1
Patch146: chromium-75.0.3770.100-fix-v8-gcc.patch
# Use chromium-latest.py to generate clean tarball from released build tarballs, found here: # Use chromium-latest.py to generate clean tarball from released build tarballs, found here:
# http://build.chromium.org/buildbot/official/ # http://build.chromium.org/buildbot/official/
@ -925,6 +923,7 @@ udev.
%patch143 -p1 -b .revert-daff6b %patch143 -p1 -b .revert-daff6b
%patch144 -p1 -b .pure-virtual-fix %patch144 -p1 -b .pure-virtual-fix
%patch145 -p1 -b .gettid-fix %patch145 -p1 -b .gettid-fix
%patch146 -p1 -b .fix-v8-gcc
# Change shebang in all relevant files in this directory and all subdirectories # Change shebang in all relevant files in this directory and all subdirectories
# See `man find` for how the `-exec command {} +` syntax works # 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 %changelog
* Tue Jun 25 2019 Tom Callaway <spot@fedoraproject.org> - 75.0.3770.100-2
- fix v8 compile with gcc
* Thu Jun 20 2019 Tom Callaway <spot@fedoraproject.org> - 75.0.3770.100-1 * Thu Jun 20 2019 Tom Callaway <spot@fedoraproject.org> - 75.0.3770.100-1
- update to 75.0.3770.100 - update to 75.0.3770.100

Loading…
Cancel
Save