diff options
| author | aszlig <aszlig@nix.build> | 2025-01-23 19:10:00 +0100 |
|---|---|---|
| committer | aszlig <aszlig@nix.build> | 2025-01-23 19:42:53 +0100 |
| commit | 13a1b39da68b9881bb24412f66968a151bf9f1b7 (patch) | |
| tree | 5888b62eb6242b6e02b4544887c44e3faf418dc6 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | d30faab98eaae8a6f9d379f09f2a1de8d4c22f7a (diff) | |
netrw: Fix including {stdlib,stdio,string}.h
With GCC 14 it is no longer possible to call a function that has not
been declared and thus we get build errors like these:
netread.c:69:5: error: implicit declaration of function 'fprintf'
netread.c:89:5: error: implicit declaration of function 'exit'
../version.h:37:9: error: implicit declaration of function 'puts'
Instead of ignoring this error, I looked around in the netrw code and
found that there is a STDC_HEADERS preprocessor variable that makes sure
that those includes are explicit.
The configure script confusingly calls the check "ANSI C header files",
so I made sure that the STDC_HEADERS variable really only adds
"#include" directives.
Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
