From 69247eec82efd2b1a8fa15d298f8789e8a35219c Mon Sep 17 00:00:00 2001 From: whispers Date: Sun, 21 Dec 2025 15:35:06 -0500 Subject: [PATCH] limesuite: include upstream patch for gcc 15 LimeSuite currently fails to build under GCC 15, due to C23 incompatibilities. Upstream has already merged a patch to fix this, but it has not yet made it to a release, so we include it here. --- pkgs/applications/radio/limesuite/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/radio/limesuite/default.nix b/pkgs/applications/radio/limesuite/default.nix index 2b7492d8fbf2..b9cbc8d0210b 100644 --- a/pkgs/applications/radio/limesuite/default.nix +++ b/pkgs/applications/radio/limesuite/default.nix @@ -32,6 +32,11 @@ stdenv.mkDerivation rec { url = "https://github.com/myriadrf/LimeSuite/commit/4e5ad459d50c922267a008e5cecb3efdbff31f09.patch"; hash = "sha256-OASki3bISJvV7wjMz0pBT3kO5RvJ5BnymiF6ruHkCJ8="; }) + # Fixes for C23 (GCC 15). Remove upon next version bump + (fetchpatch { + url = "https://github.com/myriadrf/LimeSuite/commit/524cd2e548b11084e6f739b2dfe0f958c2e30354.patch"; + hash = "sha256-wxwhFjXcIgBMTJoJ6efdtyttxMFZviCTXtEb2qFX9yU="; + }) ]; nativeBuildInputs = [ cmake ];