gnuradioPackages.osmosdr: fix build with boost 1.89 (#496315)

This commit is contained in:
Bjørn Forsman
2026-03-03 21:36:14 +00:00
committed by GitHub
2 changed files with 13 additions and 3 deletions
@@ -15,13 +15,13 @@
mkDerivation {
pname = "gr-lora_sdr";
version = "unstable-2025-01-09";
version = "0-unstable-2026-01-05";
src = fetchFromGitHub {
owner = "tapparelj";
repo = "gr-lora_sdr";
rev = "9befbad3e6120529918acf1a742e25465f6b95e4";
hash = "sha256-9oBdzoS2aWWXmiUk5rI0gG3g+BJqUDgMu3/PmZSUkuU=";
rev = "862746dd1cf635c9c8a4bfbaa2c3a0ec3a5306c9";
hash = "sha256-12IqFNMLvqTN2R8+M9bXiteG4nQ8TwIMECSQPpgKCxM=";
};
disabled = gnuradioOlder "3.10";
@@ -3,6 +3,7 @@
stdenv,
mkDerivation,
fetchgit,
fetchpatch,
gnuradio,
cmake,
pkg-config,
@@ -34,6 +35,15 @@ mkDerivation rec {
hash = "sha256-jCUzBY1pYiEtcRQ97t9F6uEMVYw2NU0eoB5Xc2H6pGQ=";
};
patches = [
# Fixes build with boost 1.89, see:
# https://github.com/osmocom/gr-osmosdr/pull/29
(fetchpatch {
url = "https://github.com/osmocom/gr-osmosdr/commit/06249f1f0930aa553ef8877b50503b9f5c77b4a0.patch";
hash = "sha256-ofjuDvTT2PzRTR6UWchTQzmr9a83ka5TfUdlCBe4Is0=";
})
];
disabled = gnuradioAtLeast "3.11";
outputs = [