[packages/abuse_sdl] - rel 6, disable narrowing conversion warnings/errors

baggins baggins at pld-linux.org
Sun May 10 00:45:01 CEST 2026


commit e77513892ddf3b6c908185b06d70a3bde307f277
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun May 10 02:44:30 2026 +0200

    - rel 6, disable narrowing conversion warnings/errors

 abuse_sdl.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/abuse_sdl.spec b/abuse_sdl.spec
index 574ac4c..f1c7780 100644
--- a/abuse_sdl.spec
+++ b/abuse_sdl.spec
@@ -2,7 +2,7 @@ Summary:	An SDL port of the game Abuse
 Summary(pl.UTF-8):	Port SDL gry Abuse
 Name:		abuse_sdl
 Version:	0.7.0
-Release:	5
+Release:	6
 License:	GPL v2
 Group:		X11/Applications/Games
 #Source0Download: http://www.labyrinth.net.au/~trandor/abuse/
@@ -42,6 +42,7 @@ sed -i -e "s:/usr/local/share/games/abuse:%{_abusedir}:" src/sdlport/setup.cpp
 sed -i -e "s:(load \"lisp/ant.lsp\"):(load \"lisp/ant.lsp\")\n(load \"register/ant.lsp\"):" abuse.lsp
 cp /usr/share/automake/config.sub .
 
+export CXXFLAGS="%{rpmcxxflags} -Wno-narrowing"
 %configure
 %{__make}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/abuse_sdl.git/commitdiff/e77513892ddf3b6c908185b06d70a3bde307f277



More information about the pld-cvs-commit mailing list