rpms/egoboo/devel egoboo-2.7.5-unix.patch, 1.1, 1.2 egoboo.spec, 1.5, 1.6

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Mon Dec 24 21:19:50 UTC 2007


Author: jwrdegoede

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

Modified Files:
	egoboo-2.7.5-unix.patch egoboo.spec 
Log Message:
* Mon Dec 24 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 2.7.5-2
- Fix compilation on big endian archs like powerpc


egoboo-2.7.5-unix.patch:

Index: egoboo-2.7.5-unix.patch
===================================================================
RCS file: /cvs/extras/rpms/egoboo/devel/egoboo-2.7.5-unix.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- egoboo-2.7.5-unix.patch	24 Dec 2007 20:47:03 -0000	1.1
+++ egoboo-2.7.5-unix.patch	24 Dec 2007 21:19:44 -0000	1.2
@@ -219,3 +219,27 @@
      {
        twist = meshtwist[chronwhichfan[cnt]];
        chrturnmaplr[cnt] = maplrtwist[twist];
+--- ./game/game.c~	2007-12-24 22:17:30.000000000 +0100
++++ ./game/game.c	2007-12-24 22:17:30.000000000 +0100
+@@ -2255,6 +2255,21 @@ void fix_md2_normals(Uint16 modelindex)
+   }
+ }
+ 
++#if SDL_BYTEORDER != SDL_LIL_ENDIAN
++float LoadFloatByteswapped( float *ptr )
++{
++  union {
++    float f;
++    int i;
++  } u;
++
++  u.f = *ptr;
++  u.i = SDL_Swap32(u.i);
++
++  return u.f
++}
++#endif
++
+ //---------------------------------------------------------------------------------------------
+ void rip_md2_commands(Uint16 modelindex)
+ {


Index: egoboo.spec
===================================================================
RCS file: /cvs/extras/rpms/egoboo/devel/egoboo.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- egoboo.spec	24 Dec 2007 20:47:03 -0000	1.5
+++ egoboo.spec	24 Dec 2007 21:19:44 -0000	1.6
@@ -1,6 +1,6 @@
 Name:           egoboo
 Version:        2.7.5
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A top down graphical (3D) RPG in the spirit of Nethack
 Group:          Amusements/Games
 License:        GPLv3
@@ -66,6 +66,9 @@
 
 
 %changelog
+* Mon Dec 24 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 2.7.5-2
+- Fix compilation on big endian archs like powerpc
+
 * Sun Dec 23 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 2.7.5-1
 - New upstream release 2.7.5
 




More information about the fedora-extras-commits mailing list