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 lib, 3 stdenv, 4 fetchurl, 5 glib, 6 intltool, 7 libfm, ··· 28 url = "mirror://sourceforge/pcmanfm/pcmanfm-${version}.tar.xz"; 29 sha256 = "sha256-FMt7JHSTxMzmX7tZAmEeOtAKeocPvB5QrcUEKMUUDPc="; 30 }; 31 32 buildInputs = [ 33 glib
··· 2 lib, 3 stdenv, 4 fetchurl, 5 + fetchpatch, 6 glib, 7 intltool, 8 libfm, ··· 29 url = "mirror://sourceforge/pcmanfm/pcmanfm-${version}.tar.xz"; 30 sha256 = "sha256-FMt7JHSTxMzmX7tZAmEeOtAKeocPvB5QrcUEKMUUDPc="; 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 + ]; 40 41 buildInputs = [ 42 glib