diff options
-rw-r--r-- | dev-games/mygui/files/mygui-3.4.3-werror.patch | 12 | ||||
-rw-r--r-- | dev-games/mygui/mygui-3.4.3.ebuild | 1 |
2 files changed, 13 insertions, 0 deletions
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() { |