commit: dda167183bd8954fcc1799816d1cde020612a037 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> AuthorDate: Sat Apr 8 18:30:27 2023 +0000 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> CommitDate: Sat Apr 8 18:30:46 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dda16718
games-arcade/xboing: fix musl build Closes: https://bugs.gentoo.org/715272 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> games-arcade/xboing/files/xboing-2.4-musl.patch | 11 +++++++++++ games-arcade/xboing/xboing-2.4-r4.ebuild | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/games-arcade/xboing/files/xboing-2.4-musl.patch b/games-arcade/xboing/files/xboing-2.4-musl.patch new file mode 100644 index 000000000000..b24084e9206e --- /dev/null +++ b/games-arcade/xboing/files/xboing-2.4-musl.patch @@ -0,0 +1,11 @@ +diff -ruN xboing.orig/include/file.h xboing/include/file.h +--- xboing.orig/include/file.h 1996-11-22 02:28:34.000000000 +0100 ++++ xboing/include/file.h 2023-04-08 20:27:45.157804561 +0200 +@@ -52,6 +52,7 @@ + + #include <stdio.h> + #include <time.h> ++#include <sys/types.h> + + /* + * Constants and macros: diff --git a/games-arcade/xboing/xboing-2.4-r4.ebuild b/games-arcade/xboing/xboing-2.4-r4.ebuild index c92635a96e67..d427db516466 100644 --- a/games-arcade/xboing/xboing-2.4-r4.ebuild +++ b/games-arcade/xboing/xboing-2.4-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -33,6 +33,7 @@ PATCHES=( "${FILESDIR}"/${P}-buffer.patch "${FILESDIR}"/${P}-sleep.patch "${FILESDIR}"/${P}-clang16.patch + "${FILESDIR}"/${P}-musl.patch ) src_prepare() {