summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2023-04-08 20:30:27 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2023-04-08 20:30:46 +0200
commitdda167183bd8954fcc1799816d1cde020612a037 (patch)
tree9de0ba0ba17f70c4abe97c1df4e4065594d7064b /games-arcade
parentapp-portage/eix: Stabilize 0.36.6 x86, #904024 (diff)
downloadgentoo-dda167183bd8954fcc1799816d1cde020612a037.tar.gz
gentoo-dda167183bd8954fcc1799816d1cde020612a037.tar.bz2
gentoo-dda167183bd8954fcc1799816d1cde020612a037.zip
games-arcade/xboing: fix musl build
Closes: https://bugs.gentoo.org/715272 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/xboing/files/xboing-2.4-musl.patch11
-rw-r--r--games-arcade/xboing/xboing-2.4-r4.ebuild3
2 files changed, 13 insertions, 1 deletions
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() {