dump1090-fa: fix build with GCC 15

Apply upstream PR as patch:
https://github.com/flightaware/dump1090/pull/261
Notice that there are multiple PRs fixing this same issue.
This commit is contained in:
Andrea Ciceri
2026-02-09 10:14:46 +01:00
parent 6cdc37a255
commit 17abbff09c
+9 -1
View File
@@ -2,7 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
fetchpatch2,
pkg-config,
hackrf,
libbladeRF,
@@ -24,6 +24,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-kTJ8FMugBRJaxWas/jEj4E5TmVnNpNdhq4r2YFFwgTU=";
};
patches = [
# Fix compilation with GCC 15: https://github.com/flightaware/dump1090/pull/261
(fetchpatch2 {
url = "https://github.com/flightaware/dump1090/commit/93be1da123215e8ac15a0deaffedd480e8899f77.patch";
hash = "sha256-ehpMfLLEh1pMgvFAPg1JHo8XRlta+GvCIZsSXVPISLc=";
})
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [