molden: fix GCC 14 build

This commit is contained in:
Stan Papadopoulos 2025-01-13 17:37:43 +01:00
parent 130595eba6
commit 1706ef6e51

View file

@ -27,6 +27,9 @@ stdenv.mkDerivation rec {
patches = [ ./dont_register_file_types.patch ];
# fix build with GCC 14
env.NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration -Wno-implicit-int -Wno-return-mismatch";
postPatch = ''
substituteInPlace ./makefile --replace '-L/usr/X11R6/lib' "" \
--replace '-I/usr/X11R6/include' "" \