xcftools: fix build for gcc 14 (#388213)

This commit is contained in:
Arne Keller
2025-03-09 23:27:41 +01:00
committed by GitHub
+3
View File
@@ -39,6 +39,9 @@ stdenv.mkDerivation rec {
# xcfview needs mailcap and isn't that useful anyway
sed -i -e '/BINARIES/s/xcfview//' Makefile.in
# add missing header
sed -e '1i#include <stdlib.h>' -i xcf-general.c
'';
meta = {