dev-libs/pfs: drop -Werror

Closes: https://bugs.gentoo.org/932365
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2024-05-21 20:14:35 +02:00
parent 39ee5dd284
commit 5957b1d8fc
2 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
--- a/CMakeLists.txt 2024-05-21 20:11:22.098008343 +0200
+++ b/CMakeLists.txt 2024-05-21 20:11:35.538853965 +0200
@@ -31,7 +31,7 @@
# Actual configuration
# ------------------------------------------------------------------------
-add_compile_options (-std=c++11 -Wall -Wextra -pedantic -Werror)
+add_compile_options (-std=c++11 -Wall -Wextra -pedantic)
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/out)
set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)

View File

@@ -16,6 +16,8 @@ KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
PATCHES=( "${FILESDIR}"/${P}-Werror.patch )
src_configure() {
local mycmakeargs=(
-Dpfs_BUILD_TESTS=$(usex test)