pcmanfm: fixup build with gcc14

This commit is contained in:
misuzu
2024-12-28 16:29:12 +02:00
parent 8baf8241ce
commit 4557afb689
+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