freebsd-ports/graphics/piglit/files/patch-CMakeLists.txt
2017-09-22 15:29:50 +00:00

20 lines
562 B
Text

--- CMakeLists.txt.orig 2017-09-22 14:56:21 UTC
+++ CMakeLists.txt
@@ -222,8 +222,6 @@ IF(PIGLIT_BUILD_GLX_TESTS)
pkg_check_modules(GLPROTO REQUIRED glproto)
ENDIF()
-set(Python_ADDITIONAL_VERSIONS
- 3.6 3.5 3.4 3.3 2.7)
find_package(PythonInterp REQUIRED)
find_package(PythonSix 1.5.2 REQUIRED)
find_package(PythonNumpy 1.7.0 REQUIRED)
@@ -382,7 +380,7 @@ endif()
check_c_source_compiles(
"
- #define _POSIX_C_SOURCE 199309L
+ #define _POSIX_C_SOURCE 200112L
#include <time.h>
int main() { return clock_gettime(CLOCK_MONOTONIC, NULL); }
"