forked from pool/fillets-ng
This commit is contained in:
parent
095c1c12cc
commit
cac1a12969
30
fillets-ng-0.7.4-gcc4.3.diff
Normal file
30
fillets-ng-0.7.4-gcc4.3.diff
Normal file
@ -0,0 +1,30 @@
|
||||
--- src/gengine/OptionAgent.cpp
|
||||
+++ src/gengine/OptionAgent.cpp
|
||||
@@ -25,6 +25,7 @@
|
||||
|
||||
#include <string.h> //strlen
|
||||
#include <locale.h> //setlocale
|
||||
+#include <cstdlib> //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 <sstream>
|
||||
+#include <cstdlib>
|
||||
|
||||
//-----------------------------------------------------------------
|
||||
/**
|
||||
--- src/level/Landslip.cpp
|
||||
+++ src/level/Landslip.cpp
|
||||
@@ -10,6 +10,7 @@
|
||||
|
||||
#include "Rules.h"
|
||||
#include "minmax.h"
|
||||
+#include <cstring>
|
||||
|
||||
//-----------------------------------------------------------------
|
||||
Landslip::Landslip(const ModelList &models)
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user