--- libgrive/CMakeLists.txt.orig	2018-01-15 23:32:17 UTC
+++ libgrive/CMakeLists.txt
@@ -149,6 +149,10 @@ target_link_libraries( btest
 	${Boost_LIBRARIES}
 )
 
+if ( ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" )
+  set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-c++11-narrowing" )
+endif ( ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" )
+
 if ( WIN32 )
 else ( WIN32 )
 	set_target_properties( btest
