Author: belegdol
Update of /cvs/nonfree/rpms/sdlmame/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv20281
Modified Files:
sdlmame.spec
Added Files:
sdlmame-0.129u4-gcc44.patch
Log Message:
Fixed building with gcc-4.4
sdlmame-0.129u4-gcc44.patch:
--- NEW FILE sdlmame-0.129u4-gcc44.patch ---
--- src/mame/video/model2rd.c.gcc44 2009-01-05 02:10:13.000000000 +0100
+++ src/mame/video/model2rd.c 2009-02-17 22:12:11.000000000 +0100
@@ -48,7 +48,7 @@
#define MODEL2_CHECKER
#define MODEL2_TEXTURED
#define MODEL2_TRANSLUCENT
-#elif
+#else
#error "Model 2 renderer: Invalif function selected!"
#endif
Index: sdlmame.spec
===================================================================
RCS file: /cvs/nonfree/rpms/sdlmame/devel/sdlmame.spec,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- sdlmame.spec 17 Feb 2009 19:33:18 -0000 1.37
+++ sdlmame.spec 17 Feb 2009 21:20:20 -0000 1.38
@@ -31,6 +31,7 @@
Patch1: %{name}-expat.patch
Patch2: %{name}-bne.patch
Patch3: %{name}-fortify.patch
+Patch4: sdlmame-0.129u4-gcc44.patch
BuildRoot: %{_tmppath}/%{name}-%{_version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: SDL-devel expat-devel zlib-devel libGL-devel gtk2-devel
@@ -83,6 +84,7 @@
%patch1 -p0 -b .expat~
%patch2 -p0 -b .bne~
%patch3 -p0 -b .fortify
+%patch4 -p0 -b .gcc44
# Create mame.ini file
cat > mame.ini << EOF
@@ -210,6 +212,7 @@
%changelog
* Tue Feb 17 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0130-0.4.0129u4
- Updated to 0.129u4
+- Fixed building with gcc-4.4
* Fri Jan 30 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0130-0.3.0129u3
- Updated to 0.129u3