ueransim: backport gcc-15 fix (#485897)
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
cmake,
|
||||
pkg-config,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
lksctp-tools,
|
||||
iproute2,
|
||||
unstableGitUpdater,
|
||||
@@ -20,6 +21,16 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-8OxJzEcpFT6e/nQw1VK9kBdw9ulXedCpUEaBxIAN9cA=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix gcc-15 build failure:
|
||||
# https://github.com/aligungr/UERANSIM/pull/777
|
||||
(fetchpatch {
|
||||
name = "gcc-15.patch";
|
||||
url = "https://github.com/aligungr/UERANSIM/commit/8ffce535a11b63f688552c5c81f7d3ac793f47de.patch";
|
||||
hash = "sha256-w2T7PTR/ELNf9sre/GoHqZQb9A8k54cTKoce/RZ7XCU=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
|
||||
Reference in New Issue
Block a user