llvmPackages_{12,13,14,15,16}.lldb: fix build with clang-19

https://github.com/llvm/llvm-project/commit/73e15b5edb4fa4a77e68c299a6e3b21e610d351f
This commit is contained in:
Reno Dakota
2025-01-14 21:37:32 -08:00
parent 357745da8a
commit 7bb07f13a6
@@ -707,7 +707,15 @@ let
stripLen = 1;
hash = "sha256-QCGhsL/mi7610ZNb5SqxjRGjwJeK2rwtsFVGeG3PUGc=";
})
++ lib.optional (lib.versionOlder metadata.release_version "17") resourceDirPatch
++ lib.optionals (lib.versionOlder metadata.release_version "17") [
resourceDirPatch
(fetchpatch {
name = "add-cstdio.patch";
url = "https://github.com/llvm/llvm-project/commit/73e15b5edb4fa4a77e68c299a6e3b21e610d351f.patch";
stripLen = 1;
hash = "sha256-eFcvxZaAuBsY/bda1h9212QevrXyvCHw8Cr9ngetDr0=";
})
]
++ lib.optional (lib.versionOlder metadata.release_version "14") (
metadata.getVersionFile "lldb/gnu-install-dirs.patch"
)