mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
Fixing xmoto for x86_64-linux, taking a patch from Debian
svn path=/nixpkgs/trunk/; revision=19081
This commit is contained in:
parent
3d9eb6a76a
commit
660203213f
12
pkgs/games/xmoto/64bit-ftbs.patch
Normal file
12
pkgs/games/xmoto/64bit-ftbs.patch
Normal file
@ -0,0 +1,12 @@
|
||||
From debian: https://launchpad.net/ubuntu/karmic/+source/xmoto/0.5.2-2
|
||||
--- 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);
|
@ -15,7 +15,9 @@ rec {
|
||||
configureFlags = [];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
||||
phaseNames = [ "doPatch" "doConfigure" "doMakeInstall"];
|
||||
|
||||
patches = [ ./64bit-ftbs.patch ];
|
||||
|
||||
meta = {
|
||||
description = "X-Moto - obstacled race game";
|
||||
|
Loading…
Reference in New Issue
Block a user