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 00000000..4a1a4b04 --- /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 dictionary, ++ const PropertyAttributes attributes); ++ + template + Maybe JSObject::PreventExtensionsWithTransition( + Handle object, ShouldThrow should_throw) { diff --git a/chromium.spec b/chromium.spec index 1ecd6b19..e6d9c63a 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/+/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: # 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 - 75.0.3770.100-2 +- fix v8 compile with gcc + * Thu Jun 20 2019 Tom Callaway - 75.0.3770.100-1 - update to 75.0.3770.100