www-client/chromium: fix build with -O3
authorStephan Hartmann <stha09@googlemail.com>
Sun, 23 Jun 2019 16:07:39 +0000 (18:07 +0200)
committerMike Gilbert <floppym@gentoo.org>
Tue, 25 Jun 2019 14:57:18 +0000 (10:57 -0400)
commit327a53f1e9de14fe01ebc94b96f5fa6178dc3fbd
tree89e191fdd48979ded4321cc7a67e4cdf77507e5f
parentccdb7822be09fd7a6bc13ed76cbd755bac6fcbba
www-client/chromium: fix build with -O3

In third_party/angle/src/libANGLE/validationES.cpp three specializations
are declared for ValidateSamplerParameterBase(). Two implicit
specializations are created in ValidateSamplerParameterfvRobustANGLE()
and ValidateSamplerParameterIivRobustANGLE(). However, with
-finline-functions (default enabled with -O3) those two implicit
symbols are optimized out. In the end linking fails with
unresolved references, because functions in
third_party/angle/src/libANGLE/validationES3.cpp use both
specializations.

Closes: https://bugs.gentoo.org/681870
Closes: https://github.com/gentoo/gentoo/pull/12312
Package-Manager: Portage-2.3.66, Repoman-2.3.11
Signed-off-by: Stephan Hartmann <stha09@googlemail.com>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
www-client/chromium/chromium-75.0.3770.100.ebuild
www-client/chromium/chromium-76.0.3809.36.ebuild
www-client/chromium/files/chromium-angle-inline.patch [new file with mode: 0644]