molden: fix GCC 14 build (#373499)
This commit is contained in:
@@ -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' "" \
|
||||
|
||||
Reference in New Issue
Block a user