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:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user