diff options
| author | ghpzin <ghpzin@gmail.com> | 2025-09-16 18:43:29 +0300 |
|---|---|---|
| committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2025-09-27 07:48:11 +0200 |
| commit | 80487ae22424cb80545462068e6c099986f9d8c8 (patch) | |
| tree | c5d45273b8c32975110ec8d1550cd42d4ea80de0 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | bc22ff6f691d0348a7af0236fbe408cecf9647a2 (diff) | |
freeglut: fix build with gcc15
- add patch from merged upstream PR:
https://www.github.com/freeglut/freeglut/pull/187
Fixes build failure with gcc15:
```
/build/freeglut-3.6.0/src/x11/fg_init_x11.c:297:6: error: conflicting
types for 'fgPlatformDestroyContext'; have 'void(SFG_PlatformDisplay,
struct __GLXcontextRec *)' {aka 'void(struct tagSFG_PlatformDisplay,
struct __GLXcontextRec *)'}
297 | void fgPlatformDestroyContext ( SFG_PlatformDisplay pDisplay, SFG_WindowContextType MContext )
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /build/freeglut-3.6.0/src/x11/fg_init_x11.c:34:
/build/freeglut-3.6.0/src/egl/fg_init_egl.h:31:13: note: previous
declaration of 'fgPlatformDestroyContext' with type 'void(void)'
31 | extern void fgPlatformDestroyContext();
| ^~~~~~~~~~~~~~~~~~~~~~~~
/build/freeglut-3.6.0/src/x11/fg_init_x11.c:297:6: error: conflicting
types for 'fgPlatformDestroyContext'; have 'void(SFG_PlatformDisplay,
struct __GLXcontextRec *)' {aka 'void(struct tagSFG_PlatformDisplay,
struct __GLXcontextRec *)'}
297 | void fgPlatformDestroyContext ( SFG_PlatformDisplay pDisplay, SFG_WindowContextType MContext )
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /build/freeglut-3.6.0/src/x11/fg_init_x11.c:34:
/build/freeglut-3.6.0/src/egl/fg_init_egl.h:31:13: note: previous
declaration of 'fgPlatformDestroyContext' with type 'void(void)'
31 | extern void fgPlatformDestroyContext();
| ^~~~~~~~~~~~~~~~~~~~~~~~
```
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
