libpst: fix build with gcc15 (#473204)

This commit is contained in:
Leona Maroni
2025-12-22 12:15:46 +00:00
committed by GitHub
+9
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
fetchpatch,
autoreconfHook,
bzip2,
doxygen,
@@ -21,6 +22,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-PSkb7rvbSNK5NGCLwGGVtkHaY9Ko9eDThvLp1tBaC0I=";
};
patches = [
# readpst: Fix a build with gcc/C23 standard
(fetchpatch {
url = "https://github.com/pst-format/libpst/commit/cc600ee98c4ed23b8ab0bc2cf6b6c6e9cb587e89.patch";
hash = "sha256-lD6vJrRbqnlG69+aU0v32UTxD0NfKNr6vPcysXK7ir0=";
})
];
nativeBuildInputs = [
autoreconfHook
doxygen