pcmanfm: fixup build with gcc14
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user