rpms/kbilliards/devel kbilliards-0.8.7b-gcc43.patch, NONE, 1.1 kbilliards.spec, 1.4, 1.5
Hans de Goede (jwrdegoede)
fedora-extras-commits at redhat.com
Tue Jan 8 21:48:10 UTC 2008
Author: jwrdegoede
Update of /cvs/extras/rpms/kbilliards/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17455
Modified Files:
kbilliards.spec
Added Files:
kbilliards-0.8.7b-gcc43.patch
Log Message:
* Tue Jan 8 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 0.8.7b-6
- Fix building with gcc 4.3
kbilliards-0.8.7b-gcc43.patch:
--- NEW FILE kbilliards-0.8.7b-gcc43.patch ---
diff -up kbilliards-0.8.7b/src/aiplayer.cpp~ kbilliards-0.8.7b/src/aiplayer.cpp
--- kbilliards-0.8.7b/src/aiplayer.cpp~ 2008-01-08 22:46:26.000000000 +0100
+++ kbilliards-0.8.7b/src/aiplayer.cpp 2008-01-08 22:46:26.000000000 +0100
@@ -20,7 +20,7 @@
#include "aiplayer.h"
#include <iostream>
#include <sstream>
-
+#include <stdlib.h>
#include <qnamespace.h>
#include <qpen.h>
Index: kbilliards.spec
===================================================================
RCS file: /cvs/extras/rpms/kbilliards/devel/kbilliards.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- kbilliards.spec 2 Dec 2007 15:25:00 -0000 1.4
+++ kbilliards.spec 8 Jan 2008 21:47:33 -0000 1.5
@@ -1,6 +1,6 @@
Name: kbilliards
Version: 0.8.7b
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: A Fun Billiards Simulator Game
Group: Amusements/Games
License: GPLv2+
@@ -9,6 +9,7 @@
Patch0: sqrtl.patch
Patch1: %{name}-%{version}-compiler_warnings.patch
Patch2: %{name}-destdir.patch
+Patch3: %{name}-0.8.7b-gcc43.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: kdelibs3-devel bzip2-devel desktop-file-utils gettext
Requires: hicolor-icon-theme
@@ -22,6 +23,7 @@
%patch0 -p0 -z .sqrtl
%patch1 -p0 -z .warn
%patch2 -p1 -z .destdir
+%patch3 -p1 -z .gcc43
sed -i 's/\r//g' ChangeLog
@@ -80,6 +82,9 @@
%changelog
+* Tue Jan 8 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 0.8.7b-6
+- Fix building with gcc 4.3
+
* Sun Dec 2 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 0.8.7b-5
- BuildRequire kdelibs3-devel instead of kdelibs-devel as that now is
kde4 based, and we need kde 3
More information about the fedora-extras-commits
mailing list