ndn-cxx: fix build with gcc15 (#516340)

This commit is contained in:
Michael Daniels
2026-05-08 18:10:54 +00:00
committed by GitHub

View File

@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
doxygen,
pkg-config,
python3,
@@ -23,6 +24,14 @@ stdenv.mkDerivation (finalAttrs: {
sha256 = "sha256-u9+QxqdCET1f5B54HF+Jk/YuQvhcYWsPNIVHi5l0XTM=";
};
patches = [
(fetchpatch {
name = "fix-gcc15.patch";
url = "https://github.com/named-data/ndn-cxx/commit/0ba3d3a9d9701be4baa3969fe50e97e89d11249b.patch";
hash = "sha256-ikVIJ8Jza17k/sa/wtu2EUGLEhUMloMOkBrMN9W9BPY=";
})
];
nativeBuildInputs = [
doxygen
pkg-config