diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2009-09-14 20:49:59 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2009-09-14 20:49:59 +0800 |
commit | d04f5631733df1e3e5b5c7150bb0182780731555 (patch) | |
tree | 83fdff26b2a752d4a064ad3491ecd9a04f9994e7 /games/xmoto | |
parent | 60ef77681592c72add115b4200850a18bcb49b6c (diff) | |
download | freebsd-ports-gnome-d04f5631733df1e3e5b5c7150bb0182780731555.tar.gz freebsd-ports-gnome-d04f5631733df1e3e5b5c7150bb0182780731555.tar.zst freebsd-ports-gnome-d04f5631733df1e3e5b5c7150bb0182780731555.zip |
- Add patch to fix build on amd64
Diffstat (limited to 'games/xmoto')
-rw-r--r-- | games/xmoto/files/patch-src-Replay.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games/xmoto/files/patch-src-Replay.cpp b/games/xmoto/files/patch-src-Replay.cpp new file mode 100644 index 000000000000..5f97f245aaba --- /dev/null +++ b/games/xmoto/files/patch-src-Replay.cpp @@ -0,0 +1,11 @@ +--- src/Replay.cpp.orig 2009-08-21 13:16:38.000000000 +0400 ++++ src/Replay.cpp 2009-09-14 01:57:12.000000000 +0400 +@@ -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); |