fvwm2: fix build with GCC 14

ZHF #403336
This commit is contained in:
Leah Amelia Chen 2025-05-18 00:16:09 +02:00
parent 69ea43926c
commit f3d97d0823
No known key found for this signature in database

View file

@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fvwmorg"; owner = "fvwmorg";
repo = "fvwm"; repo = "fvwm";
rev = version; tag = version;
hash = "sha256-KcuX8las1n8UUE/BOHj7WOeZjva5hxgpFHtATMUk3bg="; hash = "sha256-KcuX8las1n8UUE/BOHj7WOeZjva5hxgpFHtATMUk3bg=";
}; };
@ -67,6 +67,10 @@ stdenv.mkDerivation rec {
"--disable-htmldoc" "--disable-htmldoc"
]; ];
# Fix build on GCC 14 (see https://github.com/fvwmorg/fvwm/pull/100)
# Will never be accepted as an upstream patch as FVWM2 is EOL
env.NIX_CFLAGS_COMPILE = "-Wno-error=int-conversion -Wno-error=incompatible-pointer-types";
postFixup = '' postFixup = ''
wrapPythonPrograms wrapPythonPrograms
''; '';