mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
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 New Issue
Block a user