summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-benchmarks/glmark2/glmark2-2014.03.ebuild')
-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() {