1 diff -Naur cmake-3.28.2/Utilities/cmcurl/CMakeLists.txt cmake-3.28.2-new/Utilities/cmcurl/CMakeLists.txt
2 --- cmake-3.28.2/Utilities/cmcurl/CMakeLists.txt 2024-01-29 23:01:32.000000000 +0300
3 +++ cmake-3.28.2-new/Utilities/cmcurl/CMakeLists.txt 2024-02-16 13:09:40.805479195 +0300
6 if(CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND NOT ENABLE_ARES)
7 set(use_core_foundation_and_core_services ON)
9 - find_library(SYSTEMCONFIGURATION_FRAMEWORK "SystemConfiguration")
10 - if(NOT SYSTEMCONFIGURATION_FRAMEWORK)
11 - message(FATAL_ERROR "SystemConfiguration framework not found")
14 - list(APPEND CURL_LIBS "-framework SystemConfiguration")
18 diff -Naur cmake-3.28.2/Utilities/cmcurl/lib/curl_setup.h cmake-3.28.2-new/Utilities/cmcurl/lib/curl_setup.h
19 --- cmake-3.28.2/Utilities/cmcurl/lib/curl_setup.h 2024-01-29 23:01:32.000000000 +0300
20 +++ cmake-3.28.2-new/Utilities/cmcurl/lib/curl_setup.h 2024-02-16 13:10:38.822445566 +0300
22 * performing this task will result in a synthesized IPv6 address.
24 #if defined(__APPLE__) && !defined(USE_ARES)
25 -#include <TargetConditionals.h>
26 -#define USE_RESOLVE_ON_IPS 1
27 -# if TARGET_OS_MAC && !(defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) && \
28 - defined(ENABLE_IPV6)
29 -# define CURL_MACOS_CALL_COPYPROXIES 1