r10385 - packages/trunk/xmoto/debian/patches

Peter De Wachter pdewacht-guest at alioth.debian.org
Sun Sep 27 15:13:03 UTC 2009


Author: pdewacht-guest
Date: 2009-09-27 15:12:58 +0000 (Sun, 27 Sep 2009)
New Revision: 10385

Added:
   packages/trunk/xmoto/debian/patches/64bit-ftbfs.patch
Modified:
   packages/trunk/xmoto/debian/patches/series
Log:
xmoto: patched ftbfs on 64 bit architectures (bug #548511)


Added: packages/trunk/xmoto/debian/patches/64bit-ftbfs.patch
===================================================================
--- packages/trunk/xmoto/debian/patches/64bit-ftbfs.patch	                        (rev 0)
+++ packages/trunk/xmoto/debian/patches/64bit-ftbfs.patch	2009-09-27 15:12:58 UTC (rev 10385)
@@ -0,0 +1,11 @@
+--- a/src/Replay.cpp
++++ b/src/Replay.cpp
+@@ -156,7 +156,7 @@
+     v_replay.writeBuf(pcData, nDataSize);
+     
+     /* Chunks */
+-    v_replay << m_Chunks.size();
++    v_replay << (unsigned int)m_Chunks.size();
+     for(unsigned int i=0;i<m_Chunks.size();i++) {
+       v_replay << m_Chunks[i]->nNumStates;
+       v_replay.writeBuf(m_Chunks[i]->pcChunkData, m_nStateSize * m_Chunks[i]->nNumStates);

Modified: packages/trunk/xmoto/debian/patches/series
===================================================================
--- packages/trunk/xmoto/debian/patches/series	2009-09-27 14:45:14 UTC (rev 10384)
+++ packages/trunk/xmoto/debian/patches/series	2009-09-27 15:12:58 UTC (rev 10385)
@@ -1 +1,2 @@
 fix_segfault.patch
+64bit-ftbfs.patch




More information about the Pkg-games-commits mailing list