rpms/atomorun/devel atomorun-1.1-missing-protos.patch, NONE, 1.1 atomorun.spec, 1.6, 1.7

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Wed Apr 2 18:12:27 UTC 2008


Author: jwrdegoede

Update of /cvs/extras/rpms/atomorun/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4187

Modified Files:
	atomorun.spec 
Added Files:
	atomorun-1.1-missing-protos.patch 
Log Message:
* Wed Apr  2 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 1.1-0.8.pre2
- Fix missing prototype compiler warnings


atomorun-1.1-missing-protos.patch:

--- NEW FILE atomorun-1.1-missing-protos.patch ---
diff -up atomorun-1.1_pre2/src/events.c~ atomorun-1.1_pre2/src/events.c
--- atomorun-1.1_pre2/src/events.c~	2008-04-02 19:35:48.000000000 +0200
+++ atomorun-1.1_pre2/src/events.c	2008-04-02 19:35:48.000000000 +0200
@@ -1,4 +1,5 @@
 #include "main.h"
+#include "scenes.h"
 
 static void handle_key_down( SDL_keysym* keysym ) /* Werden Tasten gedrückt? */
 {
diff -up atomorun-1.1_pre2/src/objects.h~ atomorun-1.1_pre2/src/objects.h
--- atomorun-1.1_pre2/src/objects.h~	2008-04-02 19:36:26.000000000 +0200
+++ atomorun-1.1_pre2/src/objects.h	2008-04-02 19:36:26.000000000 +0200
@@ -8,4 +8,6 @@ void draw_skybox(void);
 /* Charakter: */
 void DrawGlasses(void);
 void DrawBody(void);
+void DrawFoot(void);
+
 #endif
diff -up atomorun-1.1_pre2/src/engine_setup.c~ atomorun-1.1_pre2/src/engine_setup.c
--- atomorun-1.1_pre2/src/engine_setup.c~	2008-04-02 19:34:45.000000000 +0200
+++ atomorun-1.1_pre2/src/engine_setup.c	2008-04-02 19:34:45.000000000 +0200
@@ -1,5 +1,6 @@
 #include "main.h"
 #include "objects.h"
+#include <time.h>
 
 void play_sound(GLint sound_id)
 {
diff -up atomorun-1.1_pre2/src/scenes.h~ atomorun-1.1_pre2/src/scenes.h
--- atomorun-1.1_pre2/src/scenes.h~	2008-04-02 19:35:32.000000000 +0200
+++ atomorun-1.1_pre2/src/scenes.h	2008-04-02 19:35:32.000000000 +0200
@@ -4,5 +4,6 @@
 void set_default(void);
 void menu(void);
 void level(void);
+void skip_intro(void);
 
 #endif


Index: atomorun.spec
===================================================================
RCS file: /cvs/extras/rpms/atomorun/devel/atomorun.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- atomorun.spec	25 Feb 2008 12:34:59 -0000	1.6
+++ atomorun.spec	2 Apr 2008 18:11:48 -0000	1.7
@@ -2,7 +2,7 @@
 
 Name:           atomorun
 Version:        1.1
-Release:        0.7.%{prever}%{?dist}
+Release:        0.8.%{prever}%{?dist}
 Summary:        Jump&Run game where you have to flee an exploding nuclear bomb
 Group:          Amusements/Games
 License:        GPL+
@@ -10,6 +10,7 @@
 # the file seems to be gone from upstreams server so no URL
 Source0:        %{name}-%{version}_%{prever}.tar.gz
 Source1:        atomorun.desktop
+Patch0:         atomorun-1.1-missing-protos.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  SDL_mixer-devel SDL_image-devel libtiff-devel libvorbis-devel
 BuildRequires:  alsa-lib-devel desktop-file-utils
@@ -22,6 +23,7 @@
 
 %prep
 %setup -q -n %{name}-%{version}_%{prever}
+%patch0 -p1
 
 
 %build
@@ -72,6 +74,9 @@
 
 
 %changelog
+* Wed Apr  2 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 1.1-0.8.pre2
+- Fix missing prototype compiler warnings
+
 * Mon Feb 25 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 1.1-0.7.pre2
 - Use included png version of icon instead of running convert on .ico file
 




More information about the fedora-extras-commits mailing list