diff options
| author | ghpzin <ghpzin@gmail.com> | 2025-04-01 11:50:11 +0300 |
|---|---|---|
| committer | ghpzin <ghpzin@gmail.com> | 2025-04-01 12:11:07 +0300 |
| commit | f29bdc105c3488dac3603d73b864e6a8cab4e21e (patch) | |
| tree | 8d1d74414ef23538f09ed4d0fefdefe7ace1f19f /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | a793ee3962cf3be3d0e9ed1022147ea9cd34eea9 (diff) | |
pesign: fix build with gcc14
- add patch from upstream commit:
https://github.com/rhboot/pesign/commit/1f9e2fa0b4d872fdd01ca3ba81b04dfb1211a187
that fixes `calloc-transposed-args` error with gcc14:
```
pesigcheck.c: In function 'check_signature':
pesigcheck.c:243:34: error: 'calloc' sizes specified with 'sizeof' in the
earlier argument and not in the later argument
[-Werror=calloc-transposed-args]
243 | reasonps = calloc(sizeof(struct reason), 512);
| ^~~~~~
pesigcheck.c:243:34: note: earlier argument should specify number of
elements, later size of each element
pesigcheck.c:284:53: error: 'calloc' sizes specified with 'sizeof' in the
earlier argument and not in the later argument
[-Werror=calloc-transposed-args]
284 | new_reasons = calloc(sizeof(struct reason), num_reasons);
| ^~~~~~
pesigcheck.c:284:53: note: earlier argument should specify number of
elements, later size of each element
```
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
