darwin.apple_sdk_11_0.frameworks.CoreVideo: switch to sed
CoreVideo is failing to build during the bootstrap because the bootstrap awk lacks support for in-place editing. Fix it by using sed instead.
This commit is contained in:
parent
0103ccd100
commit
5d608cc925
@ -229,8 +229,8 @@ in rec {
|
|||||||
installPhase = drv.installPhase + ''
|
installPhase = drv.installPhase + ''
|
||||||
# When used as a module, complains about a missing import for
|
# When used as a module, complains about a missing import for
|
||||||
# Darwin.C.stdint. Apparently fixed in later SDKs.
|
# Darwin.C.stdint. Apparently fixed in later SDKs.
|
||||||
awk -i inplace '/CFBase.h/ { print "#include <stdint.h>" } { print }' \
|
sed -e "/CFBase.h/ i #include <stdint.h>" \
|
||||||
$out/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h
|
-i $out/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user