commit: afbaafaa912dc09a19fee7ee28ef94c44a134a06 Author: Sandino Araico Sanchez <sandino <AT> sandino <DOT> net> AuthorDate: Sun Jun 23 00:20:32 2019 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Mon Jun 24 21:08:58 2019 +0000 URL: https://gitweb.gentoo.org/proj/x11.git/commit/?id=afbaafaa
app-benchmarks/glmark2: add patch to fix compile Compile fix copied from https://bbs.archlinux.org/viewtopic.php?id=212719 Closes: https://bugs.gentoo.org/688518 Closes: https://github.com/gentoo/x11/pull/2 Signed-off-by: Sandino Araico Sanchez <sandino <AT> sandino.net> Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> app-benchmarks/glmark2/glmark2-2014.03.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app-benchmarks/glmark2/glmark2-2014.03.ebuild b/app-benchmarks/glmark2/glmark2-2014.03.ebuild index db6f924c..4d47a987 100644 --- a/app-benchmarks/glmark2/glmark2-2014.03.ebuild +++ b/app-benchmarks/glmark2/glmark2-2014.03.ebuild @@ -31,6 +31,8 @@ REQUIRED_USE="|| ( opengl gles2 ) src_prepare() { rm -rf "${S}/src/libpng" sed -i "s/libpng15/libpng/g" "${S}/wscript" # allow build with >= libpng:1.6 + sed -i "/req_funcs/ s/,..sqrt.*\]/\]/" "${S}/wscript" # sqrt patch + sed -i "s/-Werror//" "${S}/wscript" } src_configure() {
