rpms/ballbuster/devel ballbuster-1.0-gcc43.patch, NONE, 1.1 ballbuster.spec, 1.3, 1.4

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Fri Jan 4 22:04:30 UTC 2008


Author: jwrdegoede

Update of /cvs/extras/rpms/ballbuster/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21644

Modified Files:
	ballbuster.spec 
Added Files:
	ballbuster-1.0-gcc43.patch 
Log Message:
* Fri Jan  4 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 1.0-4
- Fix building with gcc 4.3


ballbuster-1.0-gcc43.patch:

--- NEW FILE ballbuster-1.0-gcc43.patch ---
--- ballbuster-1.0/Highscores.cpp	2008-01-04 23:02:57.000000000 +0100
+++ ballbuster-1.0.new/Highscores.cpp	2008-01-04 23:02:32.000000000 +0100
@@ -1,5 +1,7 @@
 
 #include <string>
+#include <cstring>
+#include <cstdlib>
 #include "Highscores.h"
 
 using namespace std;


Index: ballbuster.spec
===================================================================
RCS file: /cvs/extras/rpms/ballbuster/devel/ballbuster.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ballbuster.spec	25 Sep 2007 07:20:40 -0000	1.3
+++ ballbuster.spec	4 Jan 2008 22:03:53 -0000	1.4
@@ -1,6 +1,6 @@
 Name:           ballbuster
 Version:        1.0
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Move the paddle to bounce the ball and break all the bricks
 Group:          Amusements/Games
 License:        GPLv2+
@@ -8,6 +8,7 @@
 Source0:        http://www.patrickavella.com/BallBusterX.zip
 Source1:        %{name}.desktop
 Patch0:         ballbuster-unix.patch.gz
+Patch1:         ballbuster-1.0-gcc43.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  ClanLib-devel desktop-file-utils ImageMagick
 Requires:       hicolor-icon-theme opengl-games-utils
@@ -23,6 +24,7 @@
 %prep
 %setup -q -c
 %patch0 -p1 -z .unix
+%patch1 -p1 -z .gcc43
 sed -i 's/\r//g' COPYING credits.txt ExtremeUpdates.txt manual.html html/*
 
 
@@ -74,6 +76,9 @@
 
 
 %changelog
+* Fri Jan  4 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 1.0-4
+- Fix building with gcc 4.3
+
 * Tue Sep 25 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.0-3
 - Use opengl-games-utils wrapper to show error dialog when DRI is missing
 




More information about the fedora-extras-commits mailing list