rpms/glaxium/F-7 glaxium_0.5-glutInit.patch, NONE, 1.1 glaxium.spec, 1.1, 1.2

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Mon Dec 31 09:54:03 UTC 2007


Author: jwrdegoede

Update of /cvs/extras/rpms/glaxium/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3424

Modified Files:
	glaxium.spec 
Added Files:
	glaxium_0.5-glutInit.patch 
Log Message:
* Mon Dec 31 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 0.5-3
- Fix glaxium exiting when pressing space (bz 427048)


glaxium_0.5-glutInit.patch:

--- NEW FILE glaxium_0.5-glutInit.patch ---
diff -up glaxium_0.5/main.cpp~ glaxium_0.5/main.cpp
--- glaxium_0.5/main.cpp~	2007-12-31 10:44:18.000000000 +0100
+++ glaxium_0.5/main.cpp	2007-12-31 10:44:18.000000000 +0100
@@ -143,7 +143,7 @@ int main( int argc, char *argv[] )
     signal(SIGINT, exit);
     signal(SIGTERM, exit);
   */  
-//    glutInit(&argc, argv);
+    glutInit(&argc, argv);
     
     SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE,8);
 


Index: glaxium.spec
===================================================================
RCS file: /cvs/extras/rpms/glaxium/F-7/glaxium.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- glaxium.spec	9 Oct 2007 17:40:37 -0000	1.1
+++ glaxium.spec	31 Dec 2007 09:53:28 -0000	1.2
@@ -1,6 +1,6 @@
 Name:           glaxium
 Version:        0.5
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        An OpenGL space shooter
 Group:          Amusements/Games
 License:        GPLv2+
@@ -10,6 +10,7 @@
 Source2:        %{name}.png
 Patch0:         %{name}-0.5-fixes.patch
 Patch1:         %{name}_0.5-allow-running-when-dsp-busy.patch
+Patch2:         %{name}_0.5-glutInit.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  SDL_mixer-devel freeglut-devel libpng-devel desktop-file-utils
 Requires:       hicolor-icon-theme opengl-games-utils
@@ -23,6 +24,7 @@
 %setup -q -n %{name}_%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 sed -i 's|/games/glaxium|/glaxium|g' configure* Makefile.in
 sed -i 's/\r//g' CHANGES.txt LICENSE README.txt
 
@@ -77,6 +79,9 @@
 
 
 %changelog
+* Mon Dec 31 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 0.5-3
+- Fix glaxium exiting when pressing space (bz 427048)
+
 * Sat Oct  6 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 0.5-2
 - Add patch from packman which allows running when sound is not available
 - Minor .desktop file improvements




More information about the fedora-extras-commits mailing list