www-client/chromium: fix build failure with gcc5

Closes: https://bugs.gentoo.org/637186
Package-Manager: Portage-2.3.13_p7, Repoman-2.3.3_p87
This commit is contained in:
Mike Gilbert
2017-11-12 12:48:17 -05:00
parent bbe43efed6
commit 86b59bfc2a
3 changed files with 13 additions and 0 deletions
@@ -147,6 +147,7 @@ PATCHES=(
"${FILESDIR}/${PN}-gcc5-r4.patch"
"${FILESDIR}/${PN}-clang-r1.patch"
"${FILESDIR}/${PN}-webrtc-r0.patch"
"${FILESDIR}/${PN}-gcc5-r5.patch"
)
pre_build_checks() {
@@ -147,6 +147,7 @@ PATCHES=(
"${FILESDIR}/chromium-webrtc-r0.patch"
"${FILESDIR}/chromium-math-includes-r0.patch"
"${FILESDIR}/chromium-${PV}-gpu_lists_version.h.patch"
"${FILESDIR}/chromium-gcc5-r5.patch"
)
pre_build_checks() {
@@ -0,0 +1,11 @@
--- a/third_party/WebKit/public/web/WebFrameClient.h
+++ b/third_party/WebKit/public/web/WebFrameClient.h
@@ -507,7 +507,7 @@
// Returns string to be used as a frame id in the devtools protocol.
// It is derived from the content's devtools_frame_token, is
// defined by the browser and passed into Blink upon frame creation.
- virtual WebString GetInstrumentationToken() { return ""; }
+ virtual WebString GetInstrumentationToken() { return WebString(); }
// PlzNavigate
// Called to abort a navigation that is being handled by the browser process.