tags 592826 patch
stop

In Ubuntu, Daniel T Chen successfully solved this problem. Attached
patch for this ftbfs
-- 
[ Mahyuddin Susanto ] - http://udienz.web.id
GPG: 4096R/90B36C5B
Debian Maintainer - www.debian.org
Index: egoboo-2.7.7/game/game.c
===================================================================
--- egoboo-2.7.7.orig/game/game.c	2011-12-26 19:50:43.000000000 -0500
+++ egoboo-2.7.7/game/game.c	2011-12-26 22:02:49.000000000 -0500
@@ -2296,6 +2296,22 @@
 }
 
 //---------------------------------------------------------------------------------------------
+#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 )
 {
   // ZZ> This function converts an md2's GL commands into our little command list thing

Attachment: signature.asc
Description: OpenPGP digital signature



Reply via email to