diff --git a/pkgs/by-name/ap/apfs-fuse/add_cstdint_fix_gcc15.patch b/pkgs/by-name/ap/apfs-fuse/add_cstdint_fix_gcc15.patch new file mode 100644 index 000000000000..42402ec3ce1e --- /dev/null +++ b/pkgs/by-name/ap/apfs-fuse/add_cstdint_fix_gcc15.patch @@ -0,0 +1,20 @@ +From 53cae3b21af9dca65cbe244ab72ec310a2e02164 Mon Sep 17 00:00:00 2001 +From: dkarpo +Date: Tue, 30 Sep 2025 10:18:03 -0600 +Subject: [PATCH] Add "" include to fix compilation. + +--- + ApfsLib/PList.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/ApfsLib/PList.h b/ApfsLib/PList.h +index 645df2d..a752059 100644 +--- a/ApfsLib/PList.h ++++ b/ApfsLib/PList.h +@@ -1,5 +1,6 @@ + #pragma once + ++#include + #include + #include + #include diff --git a/pkgs/by-name/ap/apfs-fuse/package.nix b/pkgs/by-name/ap/apfs-fuse/package.nix index 87d9b78f61d2..abb952c9e6fe 100644 --- a/pkgs/by-name/ap/apfs-fuse/package.nix +++ b/pkgs/by-name/ap/apfs-fuse/package.nix @@ -26,6 +26,10 @@ stdenv.mkDerivation { # fix for CMake v4 # https://github.com/sgan81/apfs-fuse/pull/211 ./cmake-v4.patch + + # fix for GCC 15 + # https://github.com/sgan81/apfs-fuse/pull/209 + ./add_cstdint_fix_gcc15.patch ]; postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''