diff options
| author | ghpzin <ghpzin@gmail.com> | 2025-11-24 08:47:47 +0300 |
|---|---|---|
| committer | ghpzin <ghpzin@gmail.com> | 2025-12-03 06:36:17 +0300 |
| commit | e7e8b6cc33dababfefad8f12cd37c173bba7841b (patch) | |
| tree | 81834127950f3e26261f0592d11935413e9d7c2b /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | 7ef56ab3f08f5fa9e8e5e07889b1cd9d2dec6ab5 (diff) | |
ecl: fix build with gcc15
- add "CFLAGS=-std=gnu17" to `configureFlags`.
There are patches upstream to make it build with `-std=gnu23`
(default in gcc15):
https://gitlab.com/embeddable-common-lisp/ecl/-/merge_requests/325
https://gitlab.com/embeddable-common-lisp/ecl/-/merge_requests/345
but applying them makes it not build with `-std=gnu17` (default in gcc14)
instead.
Fixes build failure with gcc15:
```
/build/ecl-24.5.10/src/c/dpp.c:112:13: error: 'bool' cannot be defined
via 'typedef'
112 | typedef int bool;
| ^~~~
/build/ecl-24.5.10/src/c/dpp.c:112:13: note: 'bool' is a keyword
with '-std=c23' onwards
/build/ecl-24.5.10/src/c/dpp.c:112:1: warning: useless type name in
empty declaration
112 | typedef int bool;
| ^~~~~~~
```
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
