summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandino Araico Sanchez <sandino@sandino.net>2019-06-22 19:20:32 -0500
committerMatt Turner <mattst88@gentoo.org>2019-06-24 17:08:58 -0400
commitafbaafaa912dc09a19fee7ee28ef94c44a134a06 (patch)
tree06e7d404a2dc262e9374d80e5360e4c66e30998c
parentx11-libs/xpyb: Delete (diff)
downloadx11-afbaafaa912dc09a19fee7ee28ef94c44a134a06.tar.gz
x11-afbaafaa912dc09a19fee7ee28ef94c44a134a06.tar.bz2
x11-afbaafaa912dc09a19fee7ee28ef94c44a134a06.zip
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@sandino.net> Signed-off-by: Matt Turner <mattst88@gentoo.org>
-rw-r--r--app-benchmarks/glmark2/glmark2-2014.03.ebuild2
1 files changed, 2 insertions, 0 deletions
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() {