Loading
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(); | ^~~~~~~ ```