From a761d5ed1b2d9677faf5d5f4e36b5c6a227f8a8b Mon Sep 17 00:00:00 2001 From: Ryan Burns Date: Sat, 23 Jan 2021 16:49:22 -0800 Subject: [PATCH] cmake: fix build on darwin Fixes missing CoreFoundation declarations since bump to 3.19.3, e.g. `error: unknown type name 'CFUUIDRef'` ApplicationServices.h transitively includes CoreFoundation.h, but as we patch ApplicationServices out of CMake, the CF symbols were not visible. Previously this was not a concern, as they were not needed until https://github.com/Kitware/CMake/commit/d250b67722abcfe1bcd22511943f3e032ef1ef3d --- .../build-managers/cmake/application-services.patch | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/tools/build-managers/cmake/application-services.patch b/pkgs/development/tools/build-managers/cmake/application-services.patch index 75873d6055c..f64e220eb29 100644 --- a/pkgs/development/tools/build-managers/cmake/application-services.patch +++ b/pkgs/development/tools/build-managers/cmake/application-services.patch @@ -14,15 +14,16 @@ diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.c index a5ce5d18f4..3d6838ce82 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx -@@ -43,11 +43,6 @@ +@@ -43,11 +43,10 @@ struct cmLinkImplementation; --#if !defined(CMAKE_BOOTSTRAP) && defined(__APPLE__) + #if !defined(CMAKE_BOOTSTRAP) && defined(__APPLE__) -# define HAVE_APPLICATION_SERVICES -# include --#endif -- ++# include + #endif + #if !defined(CMAKE_BOOTSTRAP) # include "cmXMLParser.h"