mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-libs/pfs: drop -Werror
Closes: https://bugs.gentoo.org/932365 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
11
dev-libs/pfs/files/pfs-0.10.0-Werror.patch
Normal file
11
dev-libs/pfs/files/pfs-0.10.0-Werror.patch
Normal 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)
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user