Fix Xmoto build (missing include)
This commit is contained in:
parent
f88de3b091
commit
de036bc10c
|
@ -15,7 +15,11 @@ rec {
|
|||
configureFlags = [];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = [ "doConfigure" "doMakeInstall"];
|
||||
phaseNames = [ "patchIncludes" "doConfigure" "doMakeInstall"];
|
||||
patchIncludes = a.fullDepEntry ''
|
||||
sed -e '1i#include <sys/types.h>' -i src/helpers//System.cpp
|
||||
sed -e '1i#include <unistd.h>' -i src/helpers//System.cpp
|
||||
'' ["doUnpack" "minInit"];
|
||||
|
||||
meta = {
|
||||
description = "X-Moto - obstacled race game";
|
||||
|
|
Loading…
Reference in a new issue