rpms/worminator/devel worminator-3.0R2.1-speed.patch, 1.1, 1.2 worminator.spec, 1.12, 1.13

Hans de Goede jwrdegoede at fedoraproject.org
Mon Feb 22 14:15:38 UTC 2010


Author: jwrdegoede

Update of /cvs/pkgs/rpms/worminator/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32562

Modified Files:
	worminator-3.0R2.1-speed.patch worminator.spec 
Log Message:
* Mon Feb 22 2010 Hans de Goede <hdegoede at redhat.com> 3.0R2.1-12
- Limit max framerate to 30 fps (fixes some sound issues)
- Fix FTBFS (#564902)


worminator-3.0R2.1-speed.patch:
 Worminator.c |   26 +++++++++++++++++++++-----
 demo.h       |   11 +++++++++--
 globals.h    |    3 ++-
 player.h     |    6 +++++-
 4 files changed, 37 insertions(+), 9 deletions(-)

Index: worminator-3.0R2.1-speed.patch
===================================================================
RCS file: /cvs/pkgs/rpms/worminator/devel/worminator-3.0R2.1-speed.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- worminator-3.0R2.1-speed.patch	24 Apr 2006 21:34:44 -0000	1.1
+++ worminator-3.0R2.1-speed.patch	22 Feb 2010 14:15:38 -0000	1.2
@@ -69,7 +69,7 @@
 +// Set up the framerate throtteling timer
 +LOCK_VARIABLE(frames_to_draw);
 +LOCK_FUNCTION(increment_frames_to_draw);
-+install_int_ex(increment_frames_to_draw, BPS_TO_TIMER(80));
++install_int_ex(increment_frames_to_draw, BPS_TO_TIMER(30));
 +
  // Set up the soundz
  add_console_line("Initilizing sound");


Index: worminator.spec
===================================================================
RCS file: /cvs/pkgs/rpms/worminator/devel/worminator.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -p -r1.12 -r1.13
--- worminator.spec	13 Jan 2010 14:08:24 -0000	1.12
+++ worminator.spec	22 Feb 2010 14:15:38 -0000	1.13
@@ -1,6 +1,6 @@
 Name:           worminator
 Version:        3.0R2.1
-Release:        11%{?dist}
+Release:        12%{?dist}
 Summary:        Sidescrolling platform and shoot'em up action-game
 Group:          Amusements/Games
 License:        GPLv2+
@@ -28,7 +28,7 @@ sed -i 's/\r//' ReadMe.txt
 %build
 gcc $RPM_OPT_FLAGS -fsigned-char -Wno-deprecated-declarations \
   -Wno-char-subscripts -DDATADIR=\"%{_datadir}/%{name}/\" -o %{name} \
-  Worminator.c `allegro-config --libs`
+  Worminator.c `allegro-config --libs` -lm
 
 
 %install
@@ -71,6 +71,10 @@ fi
 
 
 %changelog
+* Mon Feb 22 2010 Hans de Goede <hdegoede at redhat.com> 3.0R2.1-12
+- Limit max framerate to 30 fps (fixes some sound issues)
+- Fix FTBFS (#564902)
+
 * Mon Jul 27 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0R2.1-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 



More information about the scm-commits mailing list