Fix includes in xxdiff
svn path=/nixpkgs/trunk/; revision=15521
This commit is contained in:
parent
1facdc08c1
commit
d02609f7dc
@ -10,7 +10,7 @@ rec {
|
||||
configureFlags = [];
|
||||
|
||||
/* doConfigure should be specified separately */
|
||||
phaseNames = ["prepareMainBuild"
|
||||
phaseNames = ["prepareMainBuild" "fixInc"
|
||||
"deploy"
|
||||
"installPythonPackage"
|
||||
(makeManyWrappers
|
||||
@ -24,6 +24,10 @@ rec {
|
||||
make -f Makefile.bootstrap makefile
|
||||
'') ["minInit" "doUnpack"];
|
||||
|
||||
fixInc = FullDepEntry(''
|
||||
sed -e '1i\#include <stdlib.h>' -i resources.inline.h
|
||||
'') ["minInit" "doUnpack"];
|
||||
|
||||
deploy = FullDepEntry (''
|
||||
ensureDir $out/bin/
|
||||
cp ../bin/xxdiff $out/bin
|
||||
|
Loading…
Reference in New Issue
Block a user