Merge pull request #137385 from trofi/fix-xcbuild

This commit is contained in:
Sandro
2021-09-21 20:16:08 +02:00
committed by GitHub
2 changed files with 12 additions and 0 deletions

View File

@@ -30,6 +30,8 @@ in stdenv.mkDerivation {
sha256 = "1xxwg2849jizxv0g1hy0b1m3i7iivp9bmc4f5pi76swsn423d41m";
};
patches = [ ./includes.patch ];
prePatch = ''
rmdir ThirdParty/*
cp -r --no-preserve=all ${googletest} ThirdParty/googletest

View 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>