ports/editors/neovim/files/patch-CMakeLists.txt
Mathieu Arnold ca09c2e951 Update to 0.1.3.
PR:		208867
Submitted by:	tkato432 yahoo com
Sponsored by:	Absolight
2016-04-18 14:07:11 +00:00

11 lines
384 B
Text

--- CMakeLists.txt.orig 2016-04-08 02:04:21 UTC
+++ CMakeLists.txt
@@ -213,7 +213,7 @@ else()
# On FreeBSD 64 math.h uses unguarded C11 extension, which taints clang
# 3.4.1 used there.
- if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
+ if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" AND CMAKE_C_COMPILER_ID MATCHES "Clang")
add_definitions(-Wno-c11-extensions)
endif()
endif()