diff options
author | Jory A. Pratt <anarchy@gentoo.org> | 2018-07-08 04:01:06 -0500 |
---|---|---|
committer | Jory A. Pratt <anarchy@gentoo.org> | 2018-07-08 04:01:06 -0500 |
commit | 9aa4cb5f04ad7cb0bde81bb6238582ac0de1fd8b (patch) | |
tree | 02b950206a651b0bdafb6c1bdecc853d2f3bf744 | |
parent | dev-libs/elfutils: version bump to 0.173 (diff) | |
download | musl-9aa4cb5f04ad7cb0bde81bb6238582ac0de1fd8b.tar.gz musl-9aa4cb5f04ad7cb0bde81bb6238582ac0de1fd8b.tar.bz2 musl-9aa4cb5f04ad7cb0bde81bb6238582ac0de1fd8b.zip |
media-libs/mesa: Fix missing includes in mesa-18.1.3
-rw-r--r-- | media-libs/mesa/files/mesa-18-missing-includes.patch | 53 | ||||
-rw-r--r-- | media-libs/mesa/mesa-18.1.3.ebuild | 1 |
2 files changed, 54 insertions, 0 deletions
diff --git a/media-libs/mesa/files/mesa-18-missing-includes.patch b/media-libs/mesa/files/mesa-18-missing-includes.patch new file mode 100644 index 00000000..3f7bd62b --- /dev/null +++ b/media-libs/mesa/files/mesa-18-missing-includes.patch @@ -0,0 +1,53 @@ +From 456b660306e475a30f170a3bcecc0445124d7e2b Mon Sep 17 00:00:00 2001 +From: +Date: Sun, 8 Jul 2018 03:57:11 -0500 +Subject: [PATCH] Fix all missing includes for mesa + +Signed-off-by: +--- + src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h | 1 + + src/gallium/winsys/svga/drm/vmw_screen.h | 2 +- + src/util/rand_xor.c | 2 ++ + 3 files changed, 4 insertions(+), 1 deletion(-) + +diff --git a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h +index d6af605..6eee83f 100644 +--- a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h ++++ b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h +@@ -32,6 +32,7 @@ + #include "ac_gpu_info.h" + #include "addrlib/addrinterface.h" + #include <amdgpu.h> ++#include <pthread.h> + #include "util/list.h" + + struct radv_amdgpu_winsys { +diff --git a/src/gallium/winsys/svga/drm/vmw_screen.h b/src/gallium/winsys/svga/drm/vmw_screen.h +index f21cabb..20d03f8 100644 +--- a/src/gallium/winsys/svga/drm/vmw_screen.h ++++ b/src/gallium/winsys/svga/drm/vmw_screen.h +@@ -34,7 +34,7 @@ + #ifndef VMW_SCREEN_H_ + #define VMW_SCREEN_H_ + +- ++#include <sys/stat.h> + #include "pipe/p_compiler.h" + #include "pipe/p_state.h" + +diff --git a/src/util/rand_xor.c b/src/util/rand_xor.c +index de04bbc..08d507f 100644 +--- a/src/util/rand_xor.c ++++ b/src/util/rand_xor.c +@@ -24,6 +24,8 @@ + + #if defined(__linux__) + #include <sys/file.h> ++#include <sys/types.h> ++#include <sys/stat.h> + #include <unistd.h> + #include <fcntl.h> + #else +-- +2.18.0 + diff --git a/media-libs/mesa/mesa-18.1.3.ebuild b/media-libs/mesa/mesa-18.1.3.ebuild index 256a07b3..1a602e66 100644 --- a/media-libs/mesa/mesa-18.1.3.ebuild +++ b/media-libs/mesa/mesa-18.1.3.ebuild @@ -276,6 +276,7 @@ src_prepare() { eapply "${FILESDIR}"/${PN}-17-musl-invocation_name.patch eapply "${FILESDIR}"/${PN}-18-musl-pthread.patch eapply "${FILESDIR}"/${PN}-18-intel-missing-time_t.patch + eapply "${FILESDIR}"/${PN}-18-missing-includes.patch eapply_user [[ ${PV} == 9999 ]] && eautoreconf |