Author: musuruan
Update of /cvs/free/rpms/zsnes/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv3549
Modified Files:
zsnes.spec
Added Files:
zsnes-1.51-parsegen.patch
Log Message:
* Sun Sep 04 2011 Andrea Musuruane <musuruan(a)gmail.com> 1.51-9
- fixed FTBFS with gcc 4.6.0 using a patch made by Hans De Goede
- removed package name from summary
zsnes-1.51-parsegen.patch:
parsegen.cpp | 1 +
1 file changed, 1 insertion(+)
--- NEW FILE zsnes-1.51-parsegen.patch ---
diff -durN zsnes_1_51.orig/src/parsegen.cpp zsnes_1_51/src/parsegen.cpp
--- zsnes_1_51.orig/src/parsegen.cpp 2007-01-16 00:58:43.000000000 +0100
+++ zsnes_1_51/src/parsegen.cpp 2011-09-04 19:55:20.115583296 +0200
@@ -661,6 +661,7 @@
<< "Config file handler generated by Nach's Config file handler
creator.\n"
<< "*/\n"
<< "\n"
+ << "#undef _FORTIFY_SOURCE\n"
<< "#include <stdio.h>\n"
<< "#include <stdlib.h>\n"
<< "#include <ctype.h>\n"
Index: zsnes.spec
===================================================================
RCS file: /cvs/free/rpms/zsnes/devel/zsnes.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- zsnes.spec 4 Sep 2011 13:37:16 -0000 1.7
+++ zsnes.spec 4 Sep 2011 18:11:31 -0000 1.8
@@ -1,10 +1,10 @@
%define pkgversion %(echo %version|sed s/\\\\\.//)
%define pkgsubdir %(echo %version|sed s/\\\\\./_/)
-Summary: ZSNES is a Super Nintendo emulator
+Summary: A Super Nintendo emulator
Name: zsnes
Version: 1.51
-Release: 8%{?dist}
+Release: 9%{?dist}
License: GPLv2
Group: Applications/Emulators
URL:
http://www.zsnes.com/
@@ -17,6 +17,8 @@
Patch3: zsnes-1.51-gcc43.patch
# Upstream CVS
Patch4: zsnes-1.51-pulseaudio.patch
+# Hans de Goede
+Patch5: zsnes-1.51-parsegen.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# This is to build only for ix86 on plague
#ExclusiveArch: %{ix86}
@@ -47,6 +49,7 @@
%patch2 -p2
%patch3 -p2
%patch4 -p2
+%patch5 -p2
# Remove hardcoded CFLAGS and LDFLAGS
sed -i \
@@ -125,6 +128,10 @@
%doc ../docs/readme.htm/ ../docs/readme.txt/
%changelog
+* Sun Sep 04 2011 Andrea Musuruane <musuruan(a)gmail.com> 1.51-9
+- fixed FTBFS with gcc 4.6.0 using a patch made by Hans De Goede
+- removed package name from summary
+
* Sun Sep 04 2011 Andrea Musuruane <musuruan(a)gmail.com> 1.51-8
- fixed BZ #1926