lxsession: fix build with gcc 14 (#368711)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchpatch,
|
||||
fetchFromGitHub,
|
||||
autoconf,
|
||||
automake,
|
||||
@@ -28,7 +29,17 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "17sqsx57ymrimm5jfmcyrp7b0nzi41bcvpxsqckmwbhl19g6c17d";
|
||||
};
|
||||
|
||||
patches = [ ./xmlcatalog_patch.patch ];
|
||||
patches = [
|
||||
./xmlcatalog_patch.patch
|
||||
|
||||
# lxsession compilation is broken upstream as of GCC 14
|
||||
# https://sourceforge.net/p/lxde/bugs/973/
|
||||
(fetchpatch {
|
||||
name = "0001-Fix-build-on-GCC-14.patch";
|
||||
url = "https://sourceforge.net/p/lxde/bugs/973/attachment/0001-Fix-build-on-GCC-14.patch";
|
||||
hash = "sha256-lxF3HZy5uLK7Cfu8W1A03syZf7OWXpHiU2Fk+xBl39g=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoconf
|
||||
|
||||
Reference in New Issue
Block a user