rpms/six/devel six-gcc43.patch,NONE,1.1 six.spec,1.4,1.5

Rafał Psota (rafalzaq) fedora-extras-commits at redhat.com
Thu Jan 10 15:10:40 UTC 2008


Author: rafalzaq

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

Modified Files:
	six.spec 
Added Files:
	six-gcc43.patch 
Log Message:
gcc43 patch

six-gcc43.patch:

--- NEW FILE six-gcc43.patch ---
--- six/carrier.h.orig	2004-07-19 10:30:51.000000000 +0200
+++ six/carrier.h	2008-01-10 14:52:10.000000000 +0100
@@ -4,6 +4,7 @@
 
 #include <iostream>
 #include <vector>
+#include <cstring>
 
 using std::vector;
 using std::istream;
--- six/hexgame.cpp.orig	2004-07-19 10:30:51.000000000 +0200
+++ six/hexgame.cpp	2008-01-10 14:46:30.000000000 +0100
@@ -3,6 +3,7 @@
 #include <cassert>
 #include <cctype>
 #include <cstdio>
+#include <cstdlib>
 
 #include <string>
 
--- six/main.cpp.orig	2004-07-19 10:30:51.000000000 +0200
+++ six/main.cpp	2008-01-10 15:18:16.000000000 +0100
@@ -11,6 +11,7 @@
 #include <klocale.h>
 #include <kmessagebox.h>
 #include <qfile.h>
+#include <cstdlib>
 
 using std::cin;
 
--- tests/testutil.cpp.orig	2004-07-19 10:30:57.000000000 +0200
+++ tests/testutil.cpp	2008-01-10 15:32:44.000000000 +0100
@@ -1,6 +1,8 @@
 #include "testutil.h"
 
 #include <ctype.h>
+#include <cstdlib>
+#include <cstring>
 
 vector<HexMove> parseMoves(const HexBoard &b, const char *s)
 {
--- tests/connectortest.cpp.orig	2004-07-19 10:30:57.000000000 +0200
+++ tests/connectortest.cpp	2008-01-10 15:48:57.000000000 +0100
@@ -11,6 +11,10 @@
 
 #include <sstream>
 #include <string>
+#include <algorithm>
+#include <climits>
+#include <cstdlib>
+
 
 using std::cout;
 using std::endl;


Index: six.spec
===================================================================
RCS file: /cvs/extras/rpms/six/devel/six.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- six.spec	7 Jan 2008 23:38:04 -0000	1.4
+++ six.spec	10 Jan 2008 15:10:01 -0000	1.5
@@ -1,12 +1,13 @@
 Name:           six
 Version:        0.5.3
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        Hex playing program
 
 Group:          Amusements/Games
 License:        GPL+
 URL:            http://six.retes.hu/
 Source0:        http://six.retes.hu/download/%{name}-%{version}.tar.gz
+Patch0:         six-gcc43.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  kdelibs3-devel
@@ -18,6 +19,7 @@
 
 %prep
 %setup -q
+%patch0 -p0
 %{__sed} -i 's/DocPath\=six\/six\.html/Categories\=Game\;BoardGame\;/' six/six.desktop
 %{__sed} -i 's/Terminal\=0/Terminal\=false/' six/six.desktop
 echo "Encoding=UTF-8" >> six/six.desktop
@@ -74,6 +76,8 @@
 update-desktop-database &> /dev/null ||:
 
 %changelog
+* Thu Jan 10 2008 Rafał Psota <rafalzaq at gmail.com> - 0.5.3-8
+- gcc 4.3 patch
 * Tue Jan 08 2008 Rafał Psota <rafalzaq at gmail.com> - 0.5.3-7
 - fixed BR
 * Sat Aug 25 2007 Rafał Psota <rafalzaq at gmail.com> - 0.5.3-6




More information about the fedora-extras-commits mailing list