xcbuild: fix build by adding missing include
This commit is contained in:
parent
e80237d8f4
commit
84f53b8244
|
@ -30,6 +30,8 @@ in stdenv.mkDerivation {
|
|||
sha256 = "1xxwg2849jizxv0g1hy0b1m3i7iivp9bmc4f5pi76swsn423d41m";
|
||||
};
|
||||
|
||||
patches = [ ./includes.patch ];
|
||||
|
||||
prePatch = ''
|
||||
rmdir ThirdParty/*
|
||||
cp -r --no-preserve=all ${googletest} ThirdParty/googletest
|
||||
|
|
10
pkgs/development/tools/xcbuild/includes.patch
Normal file
10
pkgs/development/tools/xcbuild/includes.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- a/Libraries/plist/Sources/Format/Encoding.cpp
|
||||
+++ b/Libraries/plist/Sources/Format/Encoding.cpp
|
||||
@@ -11,6 +11,7 @@
|
||||
#include <plist/Format/unicode.h>
|
||||
|
||||
#include <cassert>
|
||||
+#include <cstdlib> /* abort() */
|
||||
|
||||
#if defined(__linux__)
|
||||
#include <endian.h>
|
Loading…
Reference in a new issue