numdiff: fix build with gcc15

This commit is contained in:
Xiangyan Sun
2026-05-03 15:16:12 -07:00
parent ac3bc672c5
commit 2134ce40f1
+11
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
fetchDebianPatch,
libintl,
}:
@@ -14,6 +15,16 @@ stdenv.mkDerivation (finalAttrs: {
sha256 = "1vzmjh8mhwwysn4x4m2vif7q2k8i19x8azq7pzmkwwj4g48lla47";
};
patches = [
(fetchDebianPatch {
pname = "numdiff";
version = "5.9.0";
debianRevision = "2";
patch = "0005-gcc-15.patch";
hash = "sha256-+8pNiEfGuh/03LRCY6kuoIcPZ4fQOhNrD93ZW/mXxJw=";
})
];
buildInputs = [ libintl ];
meta = {