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 = [];
|
configureFlags = [];
|
||||||
|
|
||||||
/* doConfigure should be specified separately */
|
/* doConfigure should be specified separately */
|
||||||
phaseNames = ["prepareMainBuild"
|
phaseNames = ["prepareMainBuild" "fixInc"
|
||||||
"deploy"
|
"deploy"
|
||||||
"installPythonPackage"
|
"installPythonPackage"
|
||||||
(makeManyWrappers
|
(makeManyWrappers
|
||||||
@ -24,6 +24,10 @@ rec {
|
|||||||
make -f Makefile.bootstrap makefile
|
make -f Makefile.bootstrap makefile
|
||||||
'') ["minInit" "doUnpack"];
|
'') ["minInit" "doUnpack"];
|
||||||
|
|
||||||
|
fixInc = FullDepEntry(''
|
||||||
|
sed -e '1i\#include <stdlib.h>' -i resources.inline.h
|
||||||
|
'') ["minInit" "doUnpack"];
|
||||||
|
|
||||||
deploy = FullDepEntry (''
|
deploy = FullDepEntry (''
|
||||||
ensureDir $out/bin/
|
ensureDir $out/bin/
|
||||||
cp ../bin/xxdiff $out/bin
|
cp ../bin/xxdiff $out/bin
|
||||||
|
Loading…
Reference in New Issue
Block a user