r1008 - in packages/trunk/vdrift/vdrift/debian: . patches
Gonéri Le Bouder
goneri-guest at costa.debian.org
Sat Jul 8 11:18:46 UTC 2006
Author: goneri-guest
Date: 2006-07-08 11:18:45 +0000 (Sat, 08 Jul 2006)
New Revision: 1008
Added:
packages/trunk/vdrift/vdrift/debian/patches/03_ppc_asm_fix.diff
Modified:
packages/trunk/vdrift/vdrift/debian/changelog
Log:
patch 03_ppc_asm_fix.diff that should fix #376740.
Modified: packages/trunk/vdrift/vdrift/debian/changelog
===================================================================
--- packages/trunk/vdrift/vdrift/debian/changelog 2006-07-08 10:19:26 UTC (rev 1007)
+++ packages/trunk/vdrift/vdrift/debian/changelog 2006-07-08 11:18:45 UTC (rev 1008)
@@ -1,3 +1,9 @@
+vdrift (0.0.2006.02.21-2) UNRELEASED; urgency=low
+
+ * add 03_ppc_asm_fix.diff Closes: #376740
+
+ -- Gonéri Le Bouder <goneri at ubuntu> Sat, 8 Jul 2006 13:18:55 +0200
+
vdrift (0.0.2006.02.21-1) unstable; urgency=low
* Initial release Closes: #365554
Added: packages/trunk/vdrift/vdrift/debian/patches/03_ppc_asm_fix.diff
===================================================================
--- packages/trunk/vdrift/vdrift/debian/patches/03_ppc_asm_fix.diff 2006-07-08 10:19:26 UTC (rev 1007)
+++ packages/trunk/vdrift/vdrift/debian/patches/03_ppc_asm_fix.diff 2006-07-08 11:18:45 UTC (rev 1008)
@@ -0,0 +1,21 @@
+# Goneri Le Bouder
+# fix #376740
+--- vdrift-0.0.2006.02.21.orig/include/model.h
++++ vdrift-0.0.2006.02.21/include/model.h
+@@ -67,6 +67,7 @@
+ (((uint32_t)(A) & 0x00ff0000) >> 8) | \
+ (((uint32_t)(A) & 0x0000ff00) << 8) | \
+ (((uint32_t)(A) & 0x000000ff) << 24))
++#if defined(__ppc__)
+ #define ENDIAN_SWAP_FLOAT(A) LoadLEFloat(&(A))
+
+ inline float LoadLEFloat( float *f )
+@@ -89,6 +90,7 @@
+ //load it into the FPU and return it
+ return transfer.f;
+ }
++#endif //defined(__ppc__)
+ #endif
+
+ typedef unsigned char byte;
+
More information about the Pkg-games-commits
mailing list