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

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Fri Jan 11 21:41:22 UTC 2008


Author: jwrdegoede

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

Modified Files:
	xarchon.spec 
Added Files:
	xarchon-0.50-gcc43.patch 
Log Message:
* Fri Jan 11 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 0.50-6
- Fix compilation with gcc 4.3


xarchon-0.50-gcc43.patch:

--- NEW FILE xarchon-0.50-gcc43.patch ---
diff -up xarchon-0.50/src/Genetic.hpp~ xarchon-0.50/src/Genetic.hpp
--- xarchon-0.50/src/Genetic.hpp~	2008-01-11 22:40:09.000000000 +0100
+++ xarchon-0.50/src/Genetic.hpp	2008-01-11 22:40:09.000000000 +0100
@@ -2,6 +2,7 @@
 #define GENETIC_HPP
 
 #include <list>
+#include <stdlib.h>
 using namespace std;
 
 /* **********************************************
diff -up xarchon-0.50/src/Xarchon_Problem.cpp~ xarchon-0.50/src/Xarchon_Problem.cpp
--- xarchon-0.50/src/Xarchon_Problem.cpp~	2008-01-11 22:40:27.000000000 +0100
+++ xarchon-0.50/src/Xarchon_Problem.cpp	2008-01-11 22:40:27.000000000 +0100
@@ -1,3 +1,4 @@
+#include <string.h>
 #include "Xarchon_Problem.hpp"
 #include "Xarchon_Interface.hpp"
 


Index: xarchon.spec
===================================================================
RCS file: /cvs/extras/rpms/xarchon/devel/xarchon.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- xarchon.spec	31 Aug 2007 09:03:43 -0000	1.4
+++ xarchon.spec	11 Jan 2008 21:40:42 -0000	1.5
@@ -1,6 +1,6 @@
 Name:           xarchon
 Version:        0.50
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Arcade board game
 Group:          Amusements/Games
 License:        GPL+
@@ -10,6 +10,7 @@
 Patch0:         %{name}-fonts.patch
 Patch1:         %{name}-destdir.patch
 Patch2:         http://ftp.debian.org/debian/pool/main/x/%{name}/%{name}_0.50-10.1.diff.gz
+Patch3:         xarchon-0.50-gcc43.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  gtk+-devel esound-devel libXpm-devel
 BuildRequires:  desktop-file-utils ImageMagick
@@ -25,6 +26,7 @@
 %patch0 -p1
 %patch1 -p0
 %patch2 -p1
+%patch3 -p1
 
 
 %build
@@ -75,6 +77,9 @@
 
 
 %changelog
+* Fri Jan 11 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 0.50-6
+- Fix compilation with gcc 4.3
+
 * Fri Aug 31 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 0.50-5
 - Update Debian patch set to 0.50-10.1
 




More information about the fedora-extras-commits mailing list