acct: fix gcc 15 build by adding debian patch

This commit is contained in:
Moraxyc
2025-12-27 22:10:42 +08:00
parent 6e6f6d5388
commit 13e32102ff
+6
View File
@@ -21,6 +21,12 @@ stdenv.mkDerivation rec {
url = "https://src.fedoraproject.org/rpms/psacct/raw/rawhide/f/psacct-6.6.4-sprintf-buffer-overflow.patch";
hash = "sha256-l74tLIuhpXj+dIA7uAY9L0qMjQ2SbDdc+vjHMyVouFc=";
})
# fix build with C23
# error: passing argument 4 of 'qsort' from incompatible pointer type
(fetchpatch2 {
url = "https://salsa.debian.org/abower/acct/-/raw/7aeb2192d729bcd4583a75765add28c65a7fcf47/debian/patches/Fix-FTBFS-with-C23.patch";
hash = "sha256-q1LtmhYopgSWIzIoONbKjgigIBU+LPvSvtUM3iL36c0=";
})
];
meta = {