summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/robotframework-pythonlibcore/git@git.tavy.me:nixos
diff options
context:
space:
mode:
authorghpzin <ghpzin@gmail.com>2025-09-16 21:35:03 +0300
committerghpzin <ghpzin@gmail.com>2025-09-28 13:31:09 +0300
commit3c8da751e65c1afe086abc6149f0cbe21263e3fd (patch)
tree03f8da9897a6892dc757e2ce15d56243cdc4de1b /pkgs/development/python-modules/robotframework-pythonlibcore/git@git.tavy.me:nixos
parentef6712a91b2cd6b2e30551c8b92e79efd543a31f (diff)
dmraid: fix build with gcc15
- add rebased patch from alpine: https://gitlab.alpinelinux.org/alpine/aports/-/raw/dc5b3135517ede55f5e3530e538ca75048d26565/main/dmraid/008-gcc15.patch (does not apply with `fetchpatch` even with `stripLen` and `extraPrefix`) Fixes build failure with gcc15: ``` activate/activate.c:893:34: error: passing argument 3 of 'do_device' from incompatible pointer type [-Wincompatible-pointer-types] 893 | return do_device(lc, rs, dm_register_for_event); | ^~~~~~~~~~~~~~~~~~~~~ | | | int (*)(char *, char *) activate/activate.c:869:62: note: expected 'int (*)(void)' but argument is of type 'int (*)(char *, char *)' 869 | do_device(struct lib_context *lc, struct raid_set *rs, int (*f) ()) | ~~~~~~^~~~~ activate/activate.c:850:1: note: 'dm_register_for_event' declared here 850 | dm_register_for_event(char *dev_name, char *lib_name) | ^~~~~~~~~~~~~~~~~~~~~ misc/file.c:66:17: error: initialization of 'ssize_t (*)(void)' {aka 'long int (*)(void)'} from incompatible pointer type 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'} [-Wincompatible-pointer-types] 66 | read, "read"}, { | ^~~~ misc/file.c:67:9: error: initialization of 'ssize_t (*)(void)' {aka 'long int (*)(void)'} from incompatible pointer type 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} [-Wincompatible-pointer-types] 67 | write, "writ"},}, *rw = rw_spec + ((flags & O_WRONLY) ? 1 : 0); | ^~~~~ misc/file.c:67:9: note: (near initialization for 'rw_spec[1].func') ```
Diffstat (limited to 'pkgs/development/python-modules/robotframework-pythonlibcore/git@git.tavy.me:nixos')
0 files changed, 0 insertions, 0 deletions