diff options
author | William Breathitt Gray <vilhelm.gray@gmail.com> | 2020-12-10 07:11:17 -0500 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2020-12-10 21:16:06 +0000 |
commit | 41863e453687ebc1a83991166d16461f0d191936 (patch) | |
tree | 639a60a2527b3b5ccb6115b6d4284de198a0e9ef /games-arcade/cdogs-sdl | |
parent | www-client/vivaldi: Drop old 3.4.2066.106_p1 (diff) | |
download | gentoo-41863e453687ebc1a83991166d16461f0d191936.tar.gz gentoo-41863e453687ebc1a83991166d16461f0d191936.tar.bz2 gentoo-41863e453687ebc1a83991166d16461f0d191936.zip |
games-arcade/cdogs-sdl: Remove -Werror for build
Closes: https://bugs.gentoo.org/759289
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/18594
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-arcade/cdogs-sdl')
-rw-r--r-- | games-arcade/cdogs-sdl/cdogs-sdl-0.10.1.ebuild | 1 | ||||
-rw-r--r-- | games-arcade/cdogs-sdl/files/cdogs-sdl-0.10.1-Remove-Winline-and-Werror-definitions.patch | 24 |
2 files changed, 25 insertions, 0 deletions
diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-0.10.1.ebuild b/games-arcade/cdogs-sdl/cdogs-sdl-0.10.1.ebuild index 63957cdb3af6..f5fb5dcdeb1c 100644 --- a/games-arcade/cdogs-sdl/cdogs-sdl-0.10.1.ebuild +++ b/games-arcade/cdogs-sdl/cdogs-sdl-0.10.1.ebuild @@ -23,6 +23,7 @@ RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}/${P}-Add-BUILD_EDITOR-option.patch" + "${FILESDIR}/${P}-Remove-Winline-and-Werror-definitions.patch" ) src_prepare() { diff --git a/games-arcade/cdogs-sdl/files/cdogs-sdl-0.10.1-Remove-Winline-and-Werror-definitions.patch b/games-arcade/cdogs-sdl/files/cdogs-sdl-0.10.1-Remove-Winline-and-Werror-definitions.patch new file mode 100644 index 000000000000..acd9a4e85769 --- /dev/null +++ b/games-arcade/cdogs-sdl/files/cdogs-sdl-0.10.1-Remove-Winline-and-Werror-definitions.patch @@ -0,0 +1,24 @@ +From 2b55a76518e0492d7003af9af798bd9769f0b586 Mon Sep 17 00:00:00 2001 +From: William Breathitt Gray <vilhelm.gray@gmail.com> +Date: Thu, 10 Dec 2020 07:07:33 -0500 +Subject: [PATCH] Remove -Winline and -Werror definitions + +--- + CMakeLists.txt | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 510e4802..ed2872b5 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -123,7 +123,6 @@ else() + endif() + endif() + if(NOT BEOS AND NOT HAIKU) +- add_definitions(-Winline -Werror) + set(EXTRA_LIBRARIES "m") + endif() + endif() +-- +2.29.2 + |