summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorghpzin <ghpzin@gmail.com>2025-03-30 19:56:28 +0300
committerMatthieu Coudron <886074+teto@users.noreply.github.com>2025-03-31 03:46:56 +0200
commitd27c6262e6d8d81ce10f9eb5e42912406a3897d5 (patch)
treea565d1915d21c395ca50a25e3c1c148693421287 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent21ec8478ed588617612ad2d5c935499df42655cb (diff)
rs: fix build with gcc14
- add `-DNEED_STRTONUM` flag to include declaration of `strtonum` from `rs.h`: ``` #ifdef NEED_STRTONUM /* .linked/strtonum.c */ extern long long strtonum(const char *, long long, long long, const char **); #endif ``` Fixes `implicit-function-declaration` error with gcc 14: ``` rs.c: In function 'getargs': rs.c:410:34: error: implicit declaration of function 'strtonum'; did you mean 'strtouq'? [] 410 | owidth = strtonum(optarg, 1, INT_MAX, &errstr); | ^~~~~~~~ | strtouq ```
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions