mirror of
https://git.freebsd.org/ports.git
synced 2025-06-09 06:40:33 -04:00
- patch out -Werror - add <libgen.h> for basename in raspicam and patch for const correctness PR: 264940
11 lines
393 B
Text
11 lines
393 B
Text
--- interface/mmal/CMakeLists.txt.orig 2022-06-28 04:33:47 UTC
|
|
+++ interface/mmal/CMakeLists.txt
|
|
@@ -3,7 +3,7 @@ if (NOT DEFINED LIBRARY_TYPE)
|
|
set(LIBRARY_TYPE SHARED)
|
|
endif (NOT DEFINED LIBRARY_TYPE)
|
|
|
|
-add_definitions(-Wall -Werror -Wno-error=enum-conversion)
|
|
+add_definitions(-Wall)
|
|
|
|
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
|
message(STATUS "${CMAKE_CXX_COMPILER_VERSION}")
|