rpms/megamario/devel megamario-1.5-compile-fix.patch, NONE, 1.1 megamario.spec, 1.1, 1.2

Hans de Goede jwrdegoede at rpmfusion.org
Thu Jul 24 16:57:59 CEST 2008


Author: jwrdegoede

Update of /cvs/free/rpms/megamario/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv21650

Modified Files:
	megamario.spec 
Added Files:
	megamario-1.5-compile-fix.patch 
Log Message:
* Thu Jul 24 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 1.5-2
- Release bump for rpmfusion


megamario-1.5-compile-fix.patch:

--- NEW FILE megamario-1.5-compile-fix.patch ---
diff -up megamario-1.5/src/unixutils.h~ megamario-1.5/src/unixutils.h
--- megamario-1.5/src/unixutils.h~	2008-07-24 17:01:34.000000000 +0200
+++ megamario-1.5/src/unixutils.h	2008-07-24 17:01:34.000000000 +0200
@@ -1,4 +1,8 @@
 #ifdef __unix__
+
+/* for PATH_MAX */
+#include <sys/param.h>
+
 #ifdef __cplusplus
 extern "C"
 {


Index: megamario.spec
===================================================================
RCS file: /cvs/free/rpms/megamario/devel/megamario.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- megamario.spec	24 Jul 2008 11:47:01 -0000	1.1
+++ megamario.spec	24 Jul 2008 14:57:59 -0000	1.2
@@ -1,12 +1,13 @@
 Name:           megamario
 Version:        1.5
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Well known platform game clone
 Group:          Amusements/Games
-License:        LGPL
+License:        LGPL+
 URL:            http://mmario.sourceforge.net/
 Source0:        http://downloads.sourceforge.net/mmario/MegaMario_v1.5_w32_linux.zip
 Source1:        %{name}.desktop
+Patch0:         megamario-1.5-compile-fix.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  SDL_mixer-devel SDL_image-devel SDL_ttf-devel
 BuildRequires:  ImageMagick desktop-file-utils
@@ -20,6 +21,7 @@
 
 %prep
 %setup -q -c
+%patch0 -p1
 sed -i 's/\r//' *.txt
 
 
@@ -73,6 +75,9 @@
 
 
 %changelog
+* Thu Jul 24 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 1.5-2
+- Release bump for rpmfusion
+
 * Tue Jun  5 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.5-1%{?dist}
 - New upstream release 1.5
 



More information about the rpmfusion-commits mailing list