From 0db2e9bd2cb66e21caa902f84d6aceaa966b3bff Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Sun, 24 Mar 2024 10:06:36 +0000 Subject: dev-games/mygui: remove -Werror Closes: https://bugs.gentoo.org/927670 Signed-off-by: Alexey Sokolov Closes: https://github.com/gentoo/gentoo/pull/35898 Signed-off-by: Sam James --- dev-games/mygui/files/mygui-3.4.3-werror.patch | 12 ++++++++++++ dev-games/mygui/mygui-3.4.3.ebuild | 1 + 2 files changed, 13 insertions(+) create mode 100644 dev-games/mygui/files/mygui-3.4.3-werror.patch (limited to 'dev-games') diff --git a/dev-games/mygui/files/mygui-3.4.3-werror.patch b/dev-games/mygui/files/mygui-3.4.3-werror.patch new file mode 100644 index 000000000000..d001c9e48baf --- /dev/null +++ b/dev-games/mygui/files/mygui-3.4.3-werror.patch @@ -0,0 +1,12 @@ +Remove -Werror + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -174,7 +174,6 @@ include(Dependencies) + + # Set compiler specific build flags + if (CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "Intel") +- add_compile_options(-Werror) + if (NOT MYGUI_HIGH_LEVEL_WARNINGS) + add_compile_options(-w) + else () diff --git a/dev-games/mygui/mygui-3.4.3.ebuild b/dev-games/mygui/mygui-3.4.3.ebuild index 7cc3e5985523..b8690f9d6bc9 100644 --- a/dev-games/mygui/mygui-3.4.3.ebuild +++ b/dev-games/mygui/mygui-3.4.3.ebuild @@ -42,6 +42,7 @@ STATIC_BUILD=${WORKDIR}/${P}_build_static PATCHES=( "${FILESDIR}"/mygui-3.4.1-build.patch "${FILESDIR}"/mygui-3.4.1-FHS.patch + "${FILESDIR}"/mygui-3.4.3-werror.patch ) pkg_setup() { -- cgit v1.2.3-65-gdbad