pcmanfm: fixup build with gcc14 (#368828)

authored by misuzu.tngl.sh and committed by GitHub 8fb763e0 f91fbd16

+9
+9
pkgs/by-name/pc/pcmanfm/package.nix
··· 2 2 lib, 3 3 stdenv, 4 4 fetchurl, 5 + fetchpatch, 5 6 glib, 6 7 intltool, 7 8 libfm, ··· 28 29 url = "mirror://sourceforge/pcmanfm/pcmanfm-${version}.tar.xz"; 29 30 sha256 = "sha256-FMt7JHSTxMzmX7tZAmEeOtAKeocPvB5QrcUEKMUUDPc="; 30 31 }; 32 + 33 + patches = [ 34 + # Fix build with gcc14 -Werror=incompatible-pointer-types 35 + (fetchpatch { 36 + url = "https://github.com/lxde/pcmanfm/commit/12abd7e179adb9e31d999824048a5f40f90218fd.patch"; 37 + hash = "sha256-iuNejg211VOiaIVSNkIV64VIrs6oOp+qwjqz3JFxOTI="; 38 + }) 39 + ]; 31 40 32 41 buildInputs = [ 33 42 glib