pcmanfm: fixup build with gcc14 (#368828)

This commit is contained in:
misuzu
2024-12-28 23:26:06 +02:00
committed by GitHub
+9
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
fetchpatch,
glib,
intltool,
libfm,
@@ -29,6 +30,14 @@ stdenv.mkDerivation rec {
sha256 = "sha256-FMt7JHSTxMzmX7tZAmEeOtAKeocPvB5QrcUEKMUUDPc=";
};
patches = [
# Fix build with gcc14 -Werror=incompatible-pointer-types
(fetchpatch {
url = "https://github.com/lxde/pcmanfm/commit/12abd7e179adb9e31d999824048a5f40f90218fd.patch";
hash = "sha256-iuNejg211VOiaIVSNkIV64VIrs6oOp+qwjqz3JFxOTI=";
})
];
buildInputs = [
glib
gtk