Author: belegdol
Update of /cvs/nonfree/rpms/mame/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv30111
Modified Files:
mame.spec
Added Files:
mame-gcc46.patch
Log Message:
Fixed building with gcc-4.6
mame-gcc46.patch:
devlegcy.h | 1 +
1 file changed, 1 insertion(+)
--- NEW FILE mame-gcc46.patch ---
diff -up mame-0.141u1/src/emu/devlegcy.h.gcc46 mame-0.141u1/src/emu/devlegcy.h
--- mame-0.141u1/src/emu/devlegcy.h.gcc46 2011-01-26 22:53:40.000000000 +0100
+++ mame-0.141u1/src/emu/devlegcy.h 2011-01-28 09:02:53.000000000 +0100
@@ -36,6 +36,7 @@
POSSIBILITY OF SUCH DAMAGE.
***************************************************************************/
+#include <stddef.h>
#pragma once
Index: mame.spec
===================================================================
RCS file: /cvs/nonfree/rpms/mame/devel/mame.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- mame.spec 25 Jan 2011 21:24:33 -0000 1.23
+++ mame.spec 28 Jan 2011 19:35:02 -0000 1.24
@@ -26,6 +26,7 @@
#Source4:
http://mamedev.org/updates/0%{baseversion}u4_diff.zip
%endif
Patch0: %{name}-fortify.patch
+Patch1: %{name}-gcc46.patch
Patch2: %{name}-verbosebuild.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -93,6 +94,7 @@
done
%endif
%patch0 -p1 -b .fortify
+%patch1 -p1 -b .gcc46
%patch2 -p1 -b .verbosebuild
# Create ini file
@@ -233,6 +235,7 @@
* Mon Jan 24 2011 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.141u1-1
- Updated to 0.141u1
- Re-enabled the fortify patch
+- Fixed building with gcc-4.6
* Thu Jan 13 2011 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.141-1
- Updated to 0.141