Files
macports-ports/devel/libgit2/files/patch-tests-no-error.diff

10 lines
402 B
Diff

--- tests/headertest/CMakeLists.txt.orig 2022-08-31 12:12:14.000000000 -0400
+++ tests/headertest/CMakeLists.txt 2022-08-31 12:12:48.000000000 -0400
@@ -10,5 +10,5 @@
if (MSVC)
target_compile_options(headertest PUBLIC /W4 /WX)
else()
- target_compile_options(headertest PUBLIC -Wall -Wextra -pedantic -Werror)
+ target_compile_options(headertest PUBLIC -Wall -Wextra -pedantic -Wno-error)
endif()