gputils: fix build with gcc15 (#517446)

This commit is contained in:
Yorick
2026-05-07 07:58:37 +00:00
committed by GitHub
+11
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
fetchDebianPatch,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -13,6 +14,16 @@ stdenv.mkDerivation (finalAttrs: {
sha256 = "sha256-j7iCCzHXwffHdhQcyzxPBvQK+RXaY3QSjXUtHu463fI=";
};
patches = [
(fetchDebianPatch {
pname = "gputils";
version = "1.5.2";
debianRevision = "2";
patch = "01-use-stdbool.diff";
hash = "sha256-YuQqWWKC5cntaok1J7hZUv6NX/Xv1mI6+K3if3Owkzc=";
})
];
meta = {
homepage = "https://gputils.sourceforge.io";
description = "Collection of tools for the Microchip (TM) PIC microcontrollers. It includes gpasm, gplink, and gplib";