mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
molden: fix GCC 14 build
This commit is contained in:
parent
130595eba6
commit
1706ef6e51
1 changed files with 3 additions and 0 deletions
|
@ -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' "" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue