mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-08 00:10:15 +03:00
x11-apps/igt-gpu-tools: fix build with musl
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
10
x11-apps/igt-gpu-tools/files/igt-gpu-tools-2.1-musl.patch
Normal file
10
x11-apps/igt-gpu-tools/files/igt-gpu-tools-2.1-musl.patch
Normal file
@@ -0,0 +1,10 @@
|
||||
--- a/lib/xe/xe_sriov_debugfs.c
|
||||
+++ b/lib/xe/xe_sriov_debugfs.c
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
+#include <limits.h>
|
||||
|
||||
#include "drmtest.h"
|
||||
#include "igt_debugfs.h"
|
||||
@@ -71,6 +71,10 @@ DEPEND="${RDEPEND}
|
||||
"
|
||||
BDEPEND="${PYTHON_DEPS}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.1-musl.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
sed -e "s/find_program('rst2man-3'/find_program('rst2man.py', 'rst2man-3'/" -i man/meson.build
|
||||
default_src_prepare
|
||||
|
||||
Reference in New Issue
Block a user