diff options
| author | ghpzin <ghpzin@gmail.com> | 2025-09-16 17:45:30 +0300 |
|---|---|---|
| committer | sternenseemann <sternenseemann@systemli.org> | 2025-09-30 19:16:07 +0200 |
| commit | 02746ead92b6d56d02fb22efacd59402d1a95878 (patch) | |
| tree | 47a33011831fe82a554a5beb72b025e34cf6985a /pkgs/development/python-modules/rangehttpserver | |
| parent | 10a4dec731649d020bc82cfaed8c95e05e7023f6 (diff) | |
haskell.compiler.ghc{948,967,984,9101,9121,9122}: fix build with gcc15
- add patch from fedora (rebase of latest fix from upstream):
https://gitlab.haskell.org/ghc/ghc/-/issues/25662
https://gitlab.haskell.org/ghc/ghc/-/merge_requests/13863
ghc versions excluded from patch:
9.10.2 - has previous fix with `extern void* malloc(size_t);`
9.10.3 - has latest fix with `#include <stdlib.h>`
9.12.3 - has latest fix with `#include <stdlib.h>`
Fixes build failure with gcc15, building utils/hp2ps/Utilities.c:
```
utils/hp2ps/Utilities.c:6:14: error:
warning: conflicting types for built-in function ‘malloc’;
expected ‘void *(long unsigned int)’ [-Wbuiltin-declaration-mismatch]
6 | extern void* malloc();
| ^~~~~~
...
utils/hp2ps/Utilities.c:92:18: error:
warning: conflicting types for built-in function ‘realloc’;
expected ‘void *(void *, long unsigned int)’ [-Wbuiltin-declaration-mismatch]
92 | extern void *realloc();
| ^~~~~~~
```
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
