Skip to content

Commit 8fb763e

Browse files
authored
pcmanfm: fixup build with gcc14 (#368828)
2 parents f91fbd1 + 4557afb commit 8fb763e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pkgs/by-name/pc/pcmanfm/package.nix

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
lib,
33
stdenv,
44
fetchurl,
5+
fetchpatch,
56
glib,
67
intltool,
78
libfm,
@@ -29,6 +30,14 @@ stdenv.mkDerivation rec {
2930
sha256 = "sha256-FMt7JHSTxMzmX7tZAmEeOtAKeocPvB5QrcUEKMUUDPc=";
3031
};
3132

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+
3241
buildInputs = [
3342
glib
3443
gtk

0 commit comments

Comments
 (0)