rpms/allegro/devel allegro-4.2.0-nicevsync.patch, NONE, 1.1 allegro.spec, 1.29, 1.30

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Tue Mar 21 12:53:44 UTC 2006


Author: jwrdegoede

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

Modified Files:
	allegro.spec 
Added Files:
	allegro-4.2.0-nicevsync.patch 
Log Message:
* Tue Mar 21 2006 Hans de Goede <j.w.r.degoede at hhs.nl> 4.2.0-12
- Sleep in xwindows vsync emulation, instead of busy waiting.


allegro-4.2.0-nicevsync.patch:

--- NEW FILE allegro-4.2.0-nicevsync.patch ---
--- allegro-4.2.0/src/x/xwin.c~	2006-03-21 12:57:42.000000000 +0100
+++ allegro-4.2.0/src/x/xwin.c	2006-03-21 12:57:42.000000000 +0100
@@ -2265,6 +2265,7 @@
       XUNLOCK();
 
       do {
+         rest(1);
       } while (retrace_count == prev);
    }
    else {


Index: allegro.spec
===================================================================
RCS file: /cvs/extras/rpms/allegro/devel/allegro.spec,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- allegro.spec	13 Mar 2006 22:57:30 -0000	1.29
+++ allegro.spec	21 Mar 2006 12:53:44 -0000	1.30
@@ -1,6 +1,6 @@
 Name:           allegro
 Version:        4.2.0
-Release:        11
+Release:        12
 
 Summary:        A game programming library
 Summary(es):    Una libreria de programacion de juegos
@@ -21,6 +21,7 @@
 Patch7:         allegro-4.2.0-fullscreen2.patch
 Patch8:         allegro-4.2.0-mprotect.patch
 Patch9:         allegro-4.2.0-no-execheap.patch
+Patch10:        allegro-4.2.0-nicevsync.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  esound-devel, texinfo, perl, arts-devel
 BuildRequires:  xorg-x11-proto-devel, libX11-devel, libXext-devel, libXt-devel
@@ -134,7 +135,7 @@
 %patch7 -p1 -z .fullscreen
 %patch8 -p1 -z .mprotect
 %patch9 -p1 -z .execheap
-
+%patch10 -p1 -z .nicevsync
 
 %build
 %configure \
@@ -221,6 +222,9 @@
 
 
 %changelog
+* Tue Mar 21 2006 Hans de Goede <j.w.r.degoede at hhs.nl> 4.2.0-12
+- Sleep in xwindows vsync emulation, instead of busy waiting.
+
 * Mon Mar 13 2006 Hans de Goede <j.w.r.degoede at hhs.nl> 4.2.0-11
 - really, _really_ fix asm stretch code on i386 with NX processors, long
   story see bugzilla bug 185214 .




More information about the scm-commits mailing list