Author: thias
Update of /cvs/nonfree/rpms/snes9x/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv537
Modified Files:
snes9x.spec
Added Files:
snes9x-1.51-src-fixes.patch
Log Message:
Include patch to fix the current compilation errors.
snes9x-1.51-src-fixes.patch:
--- NEW FILE snes9x-1.51-src-fixes.patch ---
diff -Naupr snes9x-1.51-src.orig/unix/unix.cpp snes9x-1.51-src/unix/unix.cpp
--- snes9x-1.51-src.orig/unix/unix.cpp 2007-04-29 02:51:08.000000000 +0200
+++ snes9x-1.51-src/unix/unix.cpp 2009-05-06 10:42:48.493984726 +0200
@@ -1162,8 +1162,8 @@ void _splitpath(const char *path, char *
{
*drive = 0;
- char *slash = strrchr(path, SLASH_CHAR);
- char *dot = strrchr(path, '.');
+ const char *slash = strrchr(path, SLASH_CHAR);
+ const char *dot = strrchr(path, '.');
if (dot && slash && dot < slash)
{
Index: snes9x.spec
===================================================================
RCS file: /cvs/nonfree/rpms/snes9x/devel/snes9x.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- snes9x.spec 29 Mar 2009 15:18:59 -0000 1.3
+++ snes9x.spec 6 May 2009 08:54:12 -0000 1.4
@@ -4,12 +4,13 @@
Summary: Portable, freeware Super Nintendo Entertainment System (TM) emulator
Name: snes9x
Version: 1.51
-Release: 3%{?dist}
+Release: 4%{?dist}
License: Other
Group: Applications/Emulators
URL:
http://www.snes9x.com/
Source:
http://files.ipherswipsite.com/snes9x/snes9x-%{real_version}%{?prever}-sr...
Patch0: snes9x-1.43-wmclass.patch
+Patch1: snes9x-1.51-src-fixes.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: gcc-c++, zlib-devel, libpng-devel
BuildRequires: libGL-devel, libGLU-devel
@@ -23,8 +24,9 @@
%prep
-%setup -n %{name}-%{real_version}%{?prever:-dev}-src
+%setup -q -n %{name}-%{real_version}%{?prever:-dev}-src
%patch0 -p2 -b .wmclass
+%patch1 -p1 -b .fixes
%build
@@ -61,6 +63,10 @@
%changelog
+* Wed May 6 2009 Matthias Saou <
http://freshrpms.net/> 1.51-4
+- Include patch to fix the current compilation errors.
+- Quiet setup.
+
* Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1.51-3
- rebuild for new F11 features