pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: macOS Sonoma unable to build devel/cargo-c



Went the 8.4.0 route and that resolved the build issue with cargo-c.

Thanks,
-Jason

On Oct 11, 2023, at 2:19 AM, Adam <adam%netbsd.org@localhost> wrote:

Darwin pkgbuild-x86 23.0.0 Darwin Kernel Version 23.0.0: Fri Sep 15 14:42:42 PDT 2023; root:xnu-10002.1.13~1/RELEASE_X86_64 x86_64
macOS 14.0
Xcode: 15.0
pkgsrc-current: updated 2023-10-10 17:35 UTC

Have been unable to build devel/cargo-c since updating to macOS 14.0/Xcode 15.0.


You need to patch www/curl, re-build, and re-install it.


--- lib/curl_setup.h.orig 2023-10-11 05:46:03.308162306 +0000
+++ lib/curl_setup.h
@@ -258,10 +258,6 @@
#if defined(__APPLE__) && !defined(USE_ARES)
#include <TargetConditionals.h>
#define USE_RESOLVE_ON_IPS 1
-#  if TARGET_OS_MAC && !(defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) && \
-     defined(ENABLE_IPV6)
-#    define CURL_MACOS_CALL_COPYPROXIES 1
-#  endif
#endif
#ifdef USE_LWIPSOCK

Kind regards,
Adam

…or update to 8.4.0 (released today).

Kind regards,
Adam

-- 
Jason White
jdwhite%menelos.com@localhost
"The single biggest problem in communication is the illusion that it has taken place." - George Bernard Shaw





Home | Main Index | Thread Index | Old Index