Skip to content

Commit

Permalink
pcmanfm: fixup build with gcc14 (#368828)
Browse files Browse the repository at this point in the history
  • Loading branch information
misuzu authored Dec 28, 2024
2 parents f91fbd1 + 4557afb commit 8fb763e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/by-name/pc/pcmanfm/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
fetchpatch,
glib,
intltool,
libfm,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8fb763e

Please sign in to comment.