diff --git a/fillets-ng-0.7.4-gcc4.3.diff b/fillets-ng-0.7.4-gcc4.3.diff new file mode 100644 index 0000000..9db2c36 --- /dev/null +++ b/fillets-ng-0.7.4-gcc4.3.diff @@ -0,0 +1,30 @@ +--- src/gengine/OptionAgent.cpp ++++ src/gengine/OptionAgent.cpp +@@ -25,6 +25,7 @@ + + #include //strlen + #include //setlocale ++#include //getenv + + #ifndef LC_MESSAGES + #define LC_MESSAGES LC_CTYPE +--- src/gengine/StringTool.cpp ++++ src/gengine/StringTool.cpp +@@ -9,6 +9,7 @@ + #include "StringTool.h" + + #include ++#include + + //----------------------------------------------------------------- + /** +--- src/level/Landslip.cpp ++++ src/level/Landslip.cpp +@@ -10,6 +10,7 @@ + + #include "Rules.h" + #include "minmax.h" ++#include + + //----------------------------------------------------------------- + Landslip::Landslip(const ModelList &models) diff --git a/fillets-ng.changes b/fillets-ng.changes index 71fc91c..7b365aa 100644 --- a/fillets-ng.changes +++ b/fillets-ng.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 25 18:14:35 CEST 2007 - anicka@suse.cz + +- fix for gcc 4.3 + ------------------------------------------------------------------- Tue Jul 3 09:00:10 CEST 2007 - anicka@suse.cz diff --git a/fillets-ng.spec b/fillets-ng.spec index 98ba833..e677bce 100644 --- a/fillets-ng.spec +++ b/fillets-ng.spec @@ -16,12 +16,13 @@ License: GPL v2 or later Group: Amusements/Games/Action/Arcade Summary: Fish Fillets--Next Generation Version: 0.7.4 -Release: 34 -URL: http://fillets.sourceforge.net +Release: 72 +Url: http://fillets.sourceforge.net Source0: %{name}-%{version}.tar.bz2 Source1: %name.desktop Source2: %name.png Patch: %{name}-%{version}.diff +Patch1: %{name}-%{version}-gcc4.3.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: fillets-ng-data >= 0.7.4 @@ -44,6 +45,7 @@ Authors: %prep %setup -q %patch +%patch1 %build %{suse_update_config} @@ -78,8 +80,9 @@ rm -rf $RPM_BUILD_ROOT %{_prefix}/games/fillets %{_datadir}/applications/%name.desktop %{_datadir}/pixmaps/%name.png - %changelog +* Thu Oct 25 2007 - anicka@suse.cz +- fix for gcc 4.3 * Tue Jul 03 2007 - anicka@suse.cz - fix dependency on SDL_ttf-devel * Mon Feb 19 2007 - anicka@suse.cz