commit:     e03c28cd964837b78738a846a01559f61c0f23d6
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Mon Dec  4 21:57:05 2023 +0000
Commit:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
CommitDate: Mon Dec  4 21:58:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e03c28cd

games-rpg/open-adventure: remove uncommon flags CFLAGS

Closes: https://bugs.gentoo.org/919038
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 games-rpg/open-adventure/open-adventure-1.16.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/games-rpg/open-adventure/open-adventure-1.16.ebuild 
b/games-rpg/open-adventure/open-adventure-1.16.ebuild
index 2fde826c47..45758338c5 100644
--- a/games-rpg/open-adventure/open-adventure-1.16.ebuild
+++ b/games-rpg/open-adventure/open-adventure-1.16.ebuild
@@ -35,6 +35,10 @@ python_check_deps() {
 }
 
 src_prepare() {
+       # remove uncommon flags
+       sed -e 's/-D_FORTIFY_SOURCE=2 -fstack-protector-all $(CFLAGS) 
-g/$(CFLAGS)/' \
+               -i Makefile
+
        eapply_user
 
        # Add missing semicolon

Reply via email to