diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2024-05-21 20:14:35 +0200 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2024-05-21 20:15:09 +0200 |
commit | 5957b1d8fcbd9b5b1d8beaaebef0d2efce78e29c (patch) | |
tree | aa30575af760ea48a614194529c396330ddda3c7 /dev-libs/pfs | |
parent | games-emulation/pcsx2: add 1.7.5835 (diff) | |
download | gentoo-5957b1d8fcbd9b5b1d8beaaebef0d2efce78e29c.tar.gz gentoo-5957b1d8fcbd9b5b1d8beaaebef0d2efce78e29c.tar.bz2 gentoo-5957b1d8fcbd9b5b1d8beaaebef0d2efce78e29c.zip |
dev-libs/pfs: drop -Werror
Closes: https://bugs.gentoo.org/932365
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-libs/pfs')
-rw-r--r-- | dev-libs/pfs/files/pfs-0.10.0-Werror.patch | 11 | ||||
-rw-r--r-- | dev-libs/pfs/pfs-0.10.0.ebuild | 2 |
2 files changed, 13 insertions, 0 deletions
diff --git a/dev-libs/pfs/files/pfs-0.10.0-Werror.patch b/dev-libs/pfs/files/pfs-0.10.0-Werror.patch new file mode 100644 index 000000000000..c319d4b6e984 --- /dev/null +++ b/dev-libs/pfs/files/pfs-0.10.0-Werror.patch @@ -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) diff --git a/dev-libs/pfs/pfs-0.10.0.ebuild b/dev-libs/pfs/pfs-0.10.0.ebuild index 8cd01f1adc85..c1e363f9d030 100644 --- a/dev-libs/pfs/pfs-0.10.0.ebuild +++ b/dev-libs/pfs/pfs-0.10.0.ebuild @@ -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) |