Author: musuruan
Update of /cvs/free/rpms/desmume/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv25145
Modified Files:
desmume.spec
Added Files:
desmume-0.9.1-gcc44.patch
Log Message:
* Sat Feb 14 2009 Andrea Musuruane <musuruan(a)gmail.com> 0.9.1-2
- Made a patch to compile with gcc 4.4 (SF #2599049)
desmume-0.9.1-gcc44.patch:
--- NEW FILE desmume-0.9.1-gcc44.patch ---
diff -dur desmume-0.9.1.orig/src/debug.h desmume-0.9.1/src/debug.h
--- desmume-0.9.1.orig/src/debug.h 2009-02-08 22:59:15.000000000 +0100
+++ desmume-0.9.1/src/debug.h 2009-02-14 10:31:36.000000000 +0100
@@ -22,6 +22,7 @@
#include <vector>
#include <iostream>
+#include <cstdarg>
class Logger {
protected:
diff -dur desmume-0.9.1.orig/src/readwrite.h desmume-0.9.1/src/readwrite.h
--- desmume-0.9.1.orig/src/readwrite.h 2009-02-08 22:59:15.000000000 +0100
+++ desmume-0.9.1/src/readwrite.h 2009-02-14 10:18:33.000000000 +0100
@@ -3,6 +3,7 @@
#include "types.h"
#include <iostream>
+#include <cstdio>
//well. just for the sake of consistency
int write8le(u8 b, FILE *fp);
diff -dur desmume-0.9.1.orig/src/utils/guid.h desmume-0.9.1/src/utils/guid.h
--- desmume-0.9.1.orig/src/utils/guid.h 2009-02-08 22:59:15.000000000 +0100
+++ desmume-0.9.1/src/utils/guid.h 2009-02-14 10:22:42.000000000 +0100
@@ -2,6 +2,7 @@
#define _guid_h_
#include <string>
+#include <cstdio>
#include "../types.h"
#include "valuearray.h"
diff -dur desmume-0.9.1.orig/src/utils/xstring.h desmume-0.9.1/src/utils/xstring.h
--- desmume-0.9.1.orig/src/utils/xstring.h 2009-02-08 22:59:15.000000000 +0100
+++ desmume-0.9.1/src/utils/xstring.h 2009-02-14 10:26:08.000000000 +0100
@@ -8,6 +8,7 @@
#include <stdlib.h>
#include <vector>
#include <iostream>
+#include <cstdio>
#include "../types.h"
Index: desmume.spec
===================================================================
RCS file: /cvs/free/rpms/desmume/devel/desmume.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- desmume.spec 13 Feb 2009 09:32:53 -0000 1.4
+++ desmume.spec 14 Feb 2009 10:05:06 -0000 1.5
@@ -1,6 +1,6 @@
Name: desmume
Version: 0.9.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A Nintendo DS emulator
Group: Applications/Emulators
@@ -10,6 +10,9 @@
Source1: desmume-man-pages-0.7.3.tar.gz
Patch0: %{name}-0.9-dontlookinbuilddir.patch
Patch1: %{name}-0.9.1-nobuggytoolsmenu.patch
+# Compile with gcc 4.4
+#
http://sourceforge.net/tracker/index.php?func=detail&aid=2599049&...
+Patch2: %{name}-0.9.1-gcc44.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtkglext-devel
@@ -52,6 +55,7 @@
%ifarch x86_64
%patch1 -p1
%endif
+%patch2 -p1
# Fix end-of-line encoding
sed -i 's/\r//' ChangeLog AUTHORS
@@ -185,6 +189,9 @@
%changelog
+* Sat Feb 14 2009 Andrea Musuruane <musuruan(a)gmail.com> 0.9.1-2
+- Made a patch to compile with gcc 4.4 (SF #2599049)
+
* Fri Feb 13 2009 Andrea Musuruane <musuruan(a)gmail.com> 0.9.1-1
- Updated to upstream version 0.9.1