rpms/supertux/devel supertux-0.3.1-gcc44.patch, NONE, 1.1 supertux.spec, 1.23, 1.24
Lubomir Rintel
lkundrak at fedoraproject.org
Sun Mar 1 14:19:13 UTC 2009
Author: lkundrak
Update of /cvs/pkgs/rpms/supertux/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6152
Modified Files:
supertux.spec
Added Files:
supertux-0.3.1-gcc44.patch
Log Message:
* Sun Mar 01 2009 Lubomir Rintel <lkundrak at v3.sk> - 0.3.1-7
- Fix build with GCC 4.4
supertux-0.3.1-gcc44.patch:
--- NEW FILE supertux-0.3.1-gcc44.patch ---
Fix build with GCC 4.4
Lubomir Rintel <lkundrak at v3.sk>
diff -up supertux-0.3.1/src/lisp/lisp.cpp.gcc44 supertux-0.3.1/src/lisp/lisp.cpp
--- supertux-0.3.1/src/lisp/lisp.cpp.gcc44 2009-03-01 15:13:40.000000000 +0100
+++ supertux-0.3.1/src/lisp/lisp.cpp 2009-03-01 15:13:53.000000000 +0100
@@ -19,6 +19,7 @@
#include <config.h>
+#include <cstdio>
#include "lisp.hpp"
namespace lisp
diff -up supertux-0.3.1/src/random_generator.cpp.gcc44 supertux-0.3.1/src/random_generator.cpp
--- supertux-0.3.1/src/random_generator.cpp.gcc44 2009-03-01 15:14:05.000000000 +0100
+++ supertux-0.3.1/src/random_generator.cpp 2009-03-01 15:14:18.000000000 +0100
@@ -39,6 +39,7 @@
#include <stdexcept>
#include <time.h>
#include <cassert>
+#include <cstdio>
#include "random_generator.hpp"
RandomGenerator systemRandom; // global random number generator
Index: supertux.spec
===================================================================
RCS file: /cvs/pkgs/rpms/supertux/devel/supertux.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- supertux.spec 26 Feb 2009 04:10:50 -0000 1.23
+++ supertux.spec 1 Mar 2009 14:18:41 -0000 1.24
@@ -6,7 +6,7 @@
Name: supertux
Version: 0.3.1
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Jump'n run like game
Group: Amusements/Games
License: GPLv2+
@@ -16,6 +16,7 @@
Patch0: supertux-0.3.1-gcc43.patch
Patch1: supertux-0.3.1-comments.patch
Patch2: supertux-0.3.1-cons_disable.patch
+Patch3: supertux-0.3.1-gcc44.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: SDL-devel >= 1.2.4
BuildRequires: SDL_image-devel
@@ -45,6 +46,7 @@
%patch0 -p1 -b .gcc43
%patch1 -p1 -b .comments
%patch2 -p1 -b .cons_disable
+%patch3 -p1 -b .gcc44
# We want to just call this release "supertux", not "supertux2".
find . -depth -name 'supertux2*' \
@@ -89,6 +91,9 @@
%{_datadir}/pixmaps/*
%changelog
+* Sun Mar 01 2009 Lubomir Rintel <lkundrak at v3.sk> - 0.3.1-7
+- Fix build with GCC 4.4
+
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
More information about the fedora-extras-commits
mailing list