From 41863e453687ebc1a83991166d16461f0d191936 Mon Sep 17 00:00:00 2001 From: William Breathitt Gray Date: Thu, 10 Dec 2020 07:11:17 -0500 Subject: games-arcade/cdogs-sdl: Remove -Werror for build Closes: https://bugs.gentoo.org/759289 Signed-off-by: William Breathitt Gray Closes: https://github.com/gentoo/gentoo/pull/18594 Signed-off-by: James Le Cuirot --- games-arcade/cdogs-sdl/cdogs-sdl-0.10.1.ebuild | 1 + ...0.1-Remove-Winline-and-Werror-definitions.patch | 24 ++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 games-arcade/cdogs-sdl/files/cdogs-sdl-0.10.1-Remove-Winline-and-Werror-definitions.patch (limited to 'games-arcade') 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 +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 + -- cgit v1.2.3-65-gdbad