gentoo-ebuilds/games-sports/foobillard/files/foobillard-3.0a-musl.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

14 lines
275 B
Diff

Fix build with musl
https://bugs.gentoo.org/831494
--- a/src/sound_stuff.c
+++ b/src/sound_stuff.c
@@ -33,7 +33,7 @@
#include <stdlib.h>
#ifndef USE_SDL
-#include <sys/unistd.h>
+#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>