Index: head/devel/hyperscan/files/patch-CMakeLists.txt =================================================================== --- head/devel/hyperscan/files/patch-CMakeLists.txt (revision 409351) +++ head/devel/hyperscan/files/patch-CMakeLists.txt (revision 409352) @@ -1,13 +1,23 @@ ---- CMakeLists.txt.orig 2016-02-04 09:53:47 UTC -+++ CMakeLists.txt -@@ -171,8 +171,8 @@ else() +--- CMakeLists.txt.orig 2015-12-18 03:41:50.000000000 +0000 ++++ CMakeLists.txt 2016-02-22 13:28:07.548454000 +0000 +@@ -171,8 +171,8 @@ endif() # set compiler flags - more are tested and added later - set(EXTRA_C_FLAGS "-std=c99 -Wall -Wextra -Wshadow -Wcast-qual -Werror") - set(EXTRA_CXX_FLAGS "-std=c++11 -Wall -Wextra -Werror -Wno-shadow -Wswitch -Wreturn-type -Wcast-qual -Wno-deprecated -Wnon-virtual-dtor") + set(EXTRA_C_FLAGS "-std=c99 -Wall -Wextra -Wshadow -Wcast-qual ") + set(EXTRA_CXX_FLAGS "-std=c++11 -Wall -Wextra -Wno-shadow -Wswitch -Wreturn-type -Wcast-qual -Wno-deprecated -Wnon-virtual-dtor") if (NOT CMAKE_C_FLAGS MATCHES .*march.*) message(STATUS "Building for current host CPU") +@@ -954,6 +954,6 @@ + install(TARGETS hs_shared DESTINATION lib) + endif() + +-if(NOT WIN32) +- add_subdirectory(examples) +-endif() ++#if(NOT WIN32) ++#add_subdirectory(examples) ++#endif()