diff options
| author | ghpzin <ghpzin@gmail.com> | 2025-09-16 17:19:32 +0300 |
|---|---|---|
| committer | ghpzin <ghpzin@gmail.com> | 2025-09-26 14:39:42 +0300 |
| commit | 4b90ae30ff87b210e9a7da58b449a2d33fe93ec9 (patch) | |
| tree | a3634c673a3532324a3b602512ab0b885d774977 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | ea05cf826eec4f730a0e944df07ca84977bfa980 (diff) | |
hotdoc: fix build with gcc15
- add patch from merged upstream commit:
https://github.com/hotdoc/hotdoc/commit/adf8518431fafb78c9b47862a0a9a58824b6a421
Fixes build failure with gcc15:
```
/build/hotdoc-0.17.4/hotdoc/parsers/c_comment_scanner/scanner.l: In function ‘yylex’:
/build/hotdoc-0.17.4/hotdoc/parsers/c_comment_scanner/scanner.l:49:10:
error: too many arguments to function ‘parse_comment’; expected 0, have 1
49 | "/*" { return parse_comment (comments);}
| ^~~~~~~~~~~~~ ~~~~~~~~
/build/hotdoc-0.17.4/hotdoc/parsers/c_comment_scanner/scanner.l:37:12: note: declared here
37 | static int parse_comment ();
| ^~~~~~~~~~~~~
/build/hotdoc-0.17.4/hotdoc/parsers/c_comment_scanner/scanner.l:50:10:
error: too many arguments to function ‘parse_define’; expected 0, have 1
50 | {HASH}{SPACE}*"define"{SPACE}* { return parse_define (comments); }
| ^~~~~~~~~~~~ ~~~~~~~~
/build/hotdoc-0.17.4/hotdoc/parsers/c_comment_scanner/scanner.l:38:12: note: declared here
38 | static int parse_define ();
| ^~~~~~~~~~~~
/build/hotdoc-0.17.4/hotdoc/parsers/c_comment_scanner/scanner.l: At top level:
/build/hotdoc-0.17.4/hotdoc/parsers/c_comment_scanner/scanner.l:80:1:
error: conflicting types for ‘parse_define’; have ‘int(PyObject *)’ {aka ‘int(struct _object *)’}
80 | parse_define (PyObject *comments)
| ^~~~~~~~~~~~
/build/hotdoc-0.17.4/hotdoc/parsers/c_comment_scanner/scanner.l:38:12:
note: previous declaration of ‘parse_define’ with type ‘int(void)’
38 | static int parse_define ();
| ^~~~~~~~~~~~
/build/hotdoc-0.17.4/hotdoc/parsers/c_comment_scanner/scanner.l:126:1:
error: conflicting types for ‘parse_comment’; have ‘int(PyObject *)’ {aka ‘int(struct _object *)’}
126 | parse_comment (PyObject *comments)
| ^~~~~~~~~~~~~
/build/hotdoc-0.17.4/hotdoc/parsers/c_comment_scanner/scanner.l:37:12:
note: previous declaration of ‘parse_comment’ with type ‘int(void)’
37 | static int parse_comment ();
| ^~~~~~~~~~~~~
```
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
