freebsd-ports/lang/pocl/files/patch-CMakeLists.txt
Brooks Davis 7e1bf9831b Update to POCL 1.3.
PR:		224584
Submitted by:	ohartmann@walstatt.org (maintainer)
2019-06-06 21:07:41 +00:00

12 lines
311 B
Text

--- CMakeLists.txt.orig 2019-04-04 12:06:59 UTC
+++ CMakeLists.txt
@@ -546,6 +546,9 @@ else()
set(HAVE_UTIME 0)
endif()
+include(CheckIncludeFiles)
+check_include_files("sys/types.h;sys/sysctl.h" HAVE_SYSCTL_H)
+
######################################################################################