diff --git a/CHANGELOG.md b/CHANGELOG.md index ab5db85b2f..e1eb94eb1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ Bugfixes: * Fixed out-of-bounds reads when parsing malformed CTA-861 EDID extensions. (General) * Fixed the init system executable path being truncated on platforms where POSIX `basename()` modifies its argument. (InitSystem, Linux) * Fixed undefined behavior from passing negative `char` values to ctype functions. (General) +* Fixed a crash on macOS 26 when fastfetch is built with the macOS 27 SDK, where `pipe2` is weak-linked and NULL at runtime. (Global, macOS) Logos: * Updated the CuerdOS logo and colors (#2712) diff --git a/CMakeLists.txt b/CMakeLists.txt index ee8ca3f832..1c1602b65e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1500,7 +1500,7 @@ if(WIN32) endif() endif() endif() -if(NOT WIN32) +if(NOT WIN32 AND NOT APPLE) check_function_exists(pipe2 HAVE_PIPE2) endif() check_function_exists(memrchr HAVE_MEMRCHR)