mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
fvwm2: fix build with GCC 14
ZHF #403336
(cherry picked from commit f3d97d0823)
This commit is contained in:
committed by
github-actions[bot]
parent
43a4459b08
commit
75aaf7c003
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "fvwmorg";
|
||||
repo = "fvwm";
|
||||
rev = version;
|
||||
tag = version;
|
||||
hash = "sha256-KcuX8las1n8UUE/BOHj7WOeZjva5hxgpFHtATMUk3bg=";
|
||||
};
|
||||
|
||||
@@ -67,6 +67,10 @@ stdenv.mkDerivation rec {
|
||||
"--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 = ''
|
||||
wrapPythonPrograms
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user