rpms/openmsx/devel openmsx-0.6.3-gcc44.patch, NONE, 1.1 openmsx.spec, 1.7, 1.8

Hans de Goede jwrdegoede at fedoraproject.org
Mon Feb 23 14:27:39 UTC 2009


Author: jwrdegoede

Update of /cvs/extras/rpms/openmsx/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18162

Modified Files:
	openmsx.spec 
Added Files:
	openmsx-0.6.3-gcc44.patch 
Log Message:
* Mon Feb 23 2009 Hans de Goede <hdegoede at redhat.com> 0.6.3-6
- Fix building with gcc-4.4


openmsx-0.6.3-gcc44.patch:

--- NEW FILE openmsx-0.6.3-gcc44.patch ---
diff -up openmsx-0.6.3/src/fdc/MSXtar.cc~ openmsx-0.6.3/src/fdc/MSXtar.cc
--- openmsx-0.6.3/src/fdc/MSXtar.cc~	2007-12-09 22:09:25.000000000 +0100
+++ openmsx-0.6.3/src/fdc/MSXtar.cc	2009-02-23 14:46:31.000000000 +0100
@@ -12,6 +12,7 @@
 #include <utime.h>
 #include <unistd.h>
 #include <cstdlib>
+#include <cstdio>
 #include <cstring>
 #include <algorithm>
 #include <cassert>
diff -up openmsx-0.6.3/src/ide/IDECDROM.cc~ openmsx-0.6.3/src/ide/IDECDROM.cc
--- openmsx-0.6.3/src/ide/IDECDROM.cc~	2007-12-09 22:09:25.000000000 +0100
+++ openmsx-0.6.3/src/ide/IDECDROM.cc	2009-02-23 14:47:01.000000000 +0100
@@ -12,6 +12,7 @@
 #include <algorithm>
 #include <bitset>
 #include <cassert>
+#include <cstdio>
 
 using std::string;
 using std::vector;
diff -up openmsx-0.6.3/src/video/GLUtil.cc~ openmsx-0.6.3/src/video/GLUtil.cc
--- openmsx-0.6.3/src/video/GLUtil.cc~	2007-12-09 22:09:10.000000000 +0100
+++ openmsx-0.6.3/src/video/GLUtil.cc	2009-02-23 14:50:57.000000000 +0100
@@ -10,6 +10,7 @@
 #include <iostream>
 #include <memory>
 #include <cstdlib>
+#include <cstdio>
 #include <cstring>
 
 #ifdef GL_VERSION_2_0


Index: openmsx.spec
===================================================================
RCS file: /cvs/extras/rpms/openmsx/devel/openmsx.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- openmsx.spec	1 Dec 2008 15:00:38 -0000	1.7
+++ openmsx.spec	23 Feb 2009 14:27:08 -0000	1.8
@@ -1,6 +1,6 @@
 Name:           openmsx
 Version:        0.6.3
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        An emulator for the MSX home computer system
 Group:          Applications/Emulators
 License:        GPL+
@@ -9,6 +9,7 @@
 Patch0:         openmsx-0.6.1-installbase.patch
 Patch1:         openmsx-0.6.1-flavour.patch
 Patch2:         openmsx-0.6.3-datadir.patch
+Patch3:         openmsx-0.6.3-gcc44.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  desktop-file-utils
 BuildRequires:  docbook-utils
@@ -32,6 +33,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 # Verbose compilation
 sed -i 's/@$(COMPILE_ENV)/$(COMPILE_ENV)/' build/main.mk
@@ -154,6 +156,9 @@
 
 
 %changelog
+* Mon Feb 23 2009 Hans de Goede <hdegoede at redhat.com> 0.6.3-6
+- Fix building with gcc-4.4
+
 * Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> - 0.6.3-5
 - Rebuild for Python 2.6
 




More information about the scm-commits mailing list