fvwm2: fix build with GCC 14 (#408171)

authored by Aleksana and committed by GitHub 648a999c 6437d8ad

+5 -1
+5 -1
pkgs/by-name/fv/fvwm2/package.nix
··· 30 src = fetchFromGitHub { 31 owner = "fvwmorg"; 32 repo = "fvwm"; 33 - rev = version; 34 hash = "sha256-KcuX8las1n8UUE/BOHj7WOeZjva5hxgpFHtATMUk3bg="; 35 }; 36 ··· 66 "--enable-mandoc" 67 "--disable-htmldoc" 68 ]; 69 70 postFixup = '' 71 wrapPythonPrograms
··· 30 src = fetchFromGitHub { 31 owner = "fvwmorg"; 32 repo = "fvwm"; 33 + tag = version; 34 hash = "sha256-KcuX8las1n8UUE/BOHj7WOeZjva5hxgpFHtATMUk3bg="; 35 }; 36 ··· 66 "--enable-mandoc" 67 "--disable-htmldoc" 68 ]; 69 + 70 + # Fix build on GCC 14 (see https://github.com/fvwmorg/fvwm/pull/100) 71 + # Will never be accepted as an upstream patch as FVWM2 is EOL 72 + env.NIX_CFLAGS_COMPILE = "-Wno-error=int-conversion -Wno-error=incompatible-pointer-types"; 73 74 postFixup = '' 75 wrapPythonPrograms