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

authored by

Ryan Burns and committed by
Frederik Rietdijk
a761d5ed a2994c58

+5 -4
+5 -4
pkgs/development/tools/build-managers/cmake/application-services.patch
··· 14 14 index a5ce5d18f4..3d6838ce82 100644 15 15 --- a/Source/cmGlobalXCodeGenerator.cxx 16 16 +++ b/Source/cmGlobalXCodeGenerator.cxx 17 - @@ -43,11 +43,6 @@ 17 + @@ -43,11 +43,10 @@ 18 18 19 19 struct cmLinkImplementation; 20 20 21 - -#if !defined(CMAKE_BOOTSTRAP) && defined(__APPLE__) 21 + #if !defined(CMAKE_BOOTSTRAP) && defined(__APPLE__) 22 22 -# define HAVE_APPLICATION_SERVICES 23 23 -# include <ApplicationServices/ApplicationServices.h> 24 - -#endif 25 - - 24 + +# include <CoreFoundation/CoreFoundation.h> 25 + #endif 26 + 26 27 #if !defined(CMAKE_BOOTSTRAP) 27 28 # include "cmXMLParser.h" 28 29