gentoo-ebuilds/games-sports/foobillard/files/foobillard-3.0a-queue.patch
Alexey Sokolov 848fe15016
games-sports/foobillard: update EAPI 7 -> 8
Fix build with gcc 15

Closes: https://bugs.gentoo.org/946901
Closes: https://bugs.gentoo.org/884917
Closes: https://bugs.gentoo.org/875497
Closes: https://bugs.gentoo.org/831494
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Signed-off-by: Sam James <sam@gentoo.org>
2025-02-09 01:38:47 +00:00

13 lines
392 B
Diff

Fix build with gcc 15
--- a/src/queue.h
+++ b/src/queue.h
@@ -24,7 +24,7 @@
void delete_queue_texbind( void );
void create_queue_texbind( void );
-int create_queue();
+int create_queue(double (*rfunc)(double));
void draw_queue( VMvect pos, GLfloat Xrot, GLfloat Zrot, GLfloat zoffs,
GLfloat xoffs, GLfloat yoffs, int spheretexbind, VMvect * lightpos, int lightnr );