Author: musuruan
Update of /cvs/free/rpms/gambatte/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv31071
Modified Files:
gambatte.spec
Added Files:
gambatte-0.4.1-gcc44.patch
Log Message:
* Sat Apr 04 2009 Andrea Musuruane <musuruan(a)gmail.com> - 0.4.1-3
- Added a patch to fix gcc 4.4 errors
gambatte-0.4.1-gcc44.patch:
--- NEW FILE gambatte-0.4.1-gcc44.patch ---
diff -durN gambatte_src-0.4.1.orig/gambatte_qt/src/framework/audioengines/ossengine.cpp
gambatte_src-0.4.1/gambatte_qt/src/framework/audioengines/ossengine.cpp
---
gambatte_src-0.4.1.orig/gambatte_qt/src/framework/audioengines/ossengine.cpp 2009-01-10
20:52:02.000000000 +0100
+++ gambatte_src-0.4.1/gambatte_qt/src/framework/audioengines/ossengine.cpp 2009-04-04
14:28:52.000000000 +0200
@@ -25,6 +25,7 @@
#include <algorithm>
#include <cmath>
+#include <cstdio>
OssEngine::OssEngine() :
AudioEngine("OSS"),
diff -durN gambatte_src-0.4.1.orig/gambatte_sdl/src/gambatte_sdl.cpp
gambatte_src-0.4.1/gambatte_sdl/src/gambatte_sdl.cpp
--- gambatte_src-0.4.1.orig/gambatte_sdl/src/gambatte_sdl.cpp 2009-01-10
23:43:34.000000000 +0100
+++ gambatte_src-0.4.1/gambatte_sdl/src/gambatte_sdl.cpp 2009-04-04 14:03:20.000000000
+0200
@@ -27,6 +27,7 @@
#include <sstream>
#include <algorithm>
#include <memory>
+#include <cstdio>
#include "audiodata.h"
#include "syncfunc.h"
Index: gambatte.spec
===================================================================
RCS file: /cvs/free/rpms/gambatte/devel/gambatte.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- gambatte.spec 29 Mar 2009 13:08:06 -0000 1.3
+++ gambatte.spec 4 Apr 2009 13:28:17 -0000 1.4
@@ -4,7 +4,7 @@
Name: gambatte
Version: 0.4.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: An accuracy-focused Game Boy / Game Boy Color emulator
Group: Applications/Emulators
@@ -16,7 +16,9 @@
Source2: gameboy_icon.png
# Andrea Musuruane
Patch0: %{name}-0.4.1-cflags.patch
-Patch1: %{name}-0.4.0-usesystemlibraries.patch
+Patch1: %{name}-0.4.0-usesystemlibraries.patch
+#
https://sourceforge.net/tracker/?func=detail&aid=2731060&group_id...
+Patch2: %{name}-0.4.1-gcc44.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: scons
@@ -89,6 +91,7 @@
%setup -q -n %{name}_src-%{version}
%patch0 -p1
%patch1 -p1
+%patch2 -p1
# Fix file encoding
for txtfile in README \
@@ -216,6 +219,9 @@
%changelog
+* Sat Apr 04 2009 Andrea Musuruane <musuruan(a)gmail.com> - 0.4.1-3
+- Added a patch to fix gcc 4.4 errors
+
* Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.4.1-2
- rebuild for new F11 features