aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/glcompbench/glcompbench/Fix-configure-for-sqrt-check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-graphics/glcompbench/glcompbench/Fix-configure-for-sqrt-check.patch')
-rwxr-xr-xmeta-oe/recipes-graphics/glcompbench/glcompbench/Fix-configure-for-sqrt-check.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/glcompbench/glcompbench/Fix-configure-for-sqrt-check.patch b/meta-oe/recipes-graphics/glcompbench/glcompbench/Fix-configure-for-sqrt-check.patch
new file mode 100755
index 0000000000..4831c401f6
--- /dev/null
+++ b/meta-oe/recipes-graphics/glcompbench/glcompbench/Fix-configure-for-sqrt-check.patch
@@ -0,0 +1,14 @@
+Index: git/wscript
+===================================================================
+--- git.orig/wscript 2016-07-29 13:15:44.954249796 -0500
++++ git/wscript 2016-07-29 15:52:06.196768865 -0500
+@@ -56,7 +56,7 @@
+ ctx.check_cxx(lib = lib, uselib_store = uselib)
+
+ # Check required functions
+- req_funcs = [('gettimeofday', 'sys/time.h', []) ,('sqrt', 'math.h', ['m']),
++ req_funcs = [('gettimeofday', 'sys/time.h', []),
+ ('strtol', 'stdlib.h', []), ('strtoul', 'stdlib.h', [])]
+ for func, header, uselib in req_funcs:
+ ctx.check_cxx(function_name = func, header_name = header, uselib = uselib, mandatory = True)
+