diff options
| author | ghpzin <ghpzin@gmail.com> | 2025-04-03 22:45:49 +0300 |
|---|---|---|
| committer | ghpzin <ghpzin@gmail.com> | 2025-04-03 23:06:44 +0300 |
| commit | f4066cd966b57780c8c964158e1fbeb386a63ea6 (patch) | |
| tree | 5a9b324f2119146e17e91fe89efad8c0820f5294 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | e7241d62601ceef2351aaabaeeee93a4e9f490a2 (diff) | |
as31: fix build with gcc14
- add patch from debian:
https://salsa.debian.org/debian/as31/-/blob/76735fbf1fb00ce70ffd98385137908b7bd9bd5c/debian/patches/update_sizebuf_types.patch
fixing `incompatible-pointer-types` errors with gcc14:
```
run.c: In function 'run_as31':
run.c:109:41: error: passing argument 2 of 'getline' from incompatible pointer type
109 | if (getline(&lineBuffer,&sizeBuf,finPre) == -1)
| ^~~~~~~~
| |
| int *
In file included from /nix/store/kj8hbqx4ds9qm9mq7hyikxyfwwg13kzj-glibc-2.40-36-dev/include/stdio.h:966,
from run.c:2:
/nix/store/kj8hbqx4ds9qm9mq7hyikxyfwwg13kzj-glibc-2.40-36-dev/include/bits/stdio.h:118:36:
note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'int *'
118 | getline (char **__lineptr, size_t *__n, FILE *__stream)
| ~~~~~~~~^~~
run.c:135:68: error: passing argument 2 of 'getline' from incompatible pointer type
135 | if (getline(&incLineBuffer,&incSizeBuf,includeFile) == -1)
| ^~~~~~~~~~~
| |
| int *
/nix/store/kj8hbqx4ds9qm9mq7hyikxyfwwg13kzj-glibc-2.40-36-dev/include/bits/stdio.h:118:36:
note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'int *'
118 | getline (char **__lineptr, size_t *__n, FILE *__stream)
| ~~~~~~~~^~~
```
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
