commit:     87ef810d8b7b72b13004a291fb016fbfd701210a
Author:     Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr>
AuthorDate: Sun Nov 13 01:05:13 2022 +0000
Commit:     Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr>
CommitDate: Sun Nov 13 01:05:13 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=87ef810d

games-emulation/yuzu-9999: suppress all Werror from extra project flags

Signed-off-by: Samuel Bauer <samuel.bauer <AT> yahoo.fr>

 games-emulation/yuzu/yuzu-9999.ebuild | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/games-emulation/yuzu/yuzu-9999.ebuild 
b/games-emulation/yuzu/yuzu-9999.ebuild
index 330329b0d..05423ff8b 100644
--- a/games-emulation/yuzu/yuzu-9999.ebuild
+++ b/games-emulation/yuzu/yuzu-9999.ebuild
@@ -83,8 +83,8 @@ src_unpack() {
 }
 
 src_prepare() {
-       # unused-result maybe temporary fix
-       sed -i -e '/Werror=unused-result/d' src/CMakeLists.txt || die
+       # temporary fix
+       sed -i -e '/Werror/d' src/CMakeLists.txt || die
 
        # headers is not a valid boost component
        sed -i -e '/find_package(Boost/{s/headers //;s/CONFIG //}' 
CMakeLists.txt || die
@@ -98,9 +98,6 @@ src_prepare() {
                -e '/target_link_libraries/s/inih/${INIH_LIBRARIES}/' 
src/yuzu_cmd/CMakeLists.txt || die
        sed -i -e 's:inih/cpp/::' src/yuzu_cmd/config.cpp || die
 
-       # Unbundle xbyak ( uncomment when xbyak version is ok or never as it is 
only headers )
-       # sed -i -e '/^# xbyak/,/^endif()/d' externals/CMakeLists.txt || die
-
        if use system-vulkan; then # Unbundle vulkan headers
                sed -i -e 
's:../../externals/Vulkan-Headers/include:/usr/include/vulkan/:' 
src/video_core/CMakeLists.txt src/yuzu/CMakeLists.txt 
src/yuzu_cmd/CMakeLists.txt || die
        fi

Reply via email to