boost: fix 1.55 build on macOS (#59508)

darwin-no-system-python.patch does not apply cleany on Boost 1.55's
sources. Fix this patch file for Boost 1.55, making it build
successfully on macOS.
This commit is contained in:
strager
2019-04-16 03:11:01 -04:00
committed by Dmitry Kalinkin
parent 5e199dc3f9
commit 153e7fca32
2 changed files with 49 additions and 1 deletions
+4 -1
View File
@@ -104,7 +104,10 @@ stdenv.mkDerivation {
patchFlags = "";
patches = patches
++ optional stdenv.isDarwin ./darwin-no-system-python.patch;
++ optional stdenv.isDarwin (
if version == "1.55.0"
then ./darwin-1.55-no-system-python.patch
else ./darwin-no-system-python.patch);
meta = {
homepage = http://boost.org/;