From: "Jory Pratt" <anarchy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/musl:master commit in: media-libs/mesa/, media-libs/mesa/files/
Date: Sun, 8 Jul 2018 09:01:52 +0000 (UTC) [thread overview]
Message-ID: <1531040466.9aa4cb5f04ad7cb0bde81bb6238582ac0de1fd8b.anarchy@gentoo> (raw)
commit: 9aa4cb5f04ad7cb0bde81bb6238582ac0de1fd8b
Author: Jory A. Pratt <anarchy <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 8 09:01:06 2018 +0000
Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org>
CommitDate: Sun Jul 8 09:01:06 2018 +0000
URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=9aa4cb5f
media-libs/mesa: Fix missing includes in mesa-18.1.3
.../mesa/files/mesa-18-missing-includes.patch | 53 ++++++++++++++++++++++
media-libs/mesa/mesa-18.1.3.ebuild | 1 +
2 files changed, 54 insertions(+)
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 0000000..3f7bd62
--- /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 256a07b..1a602e6 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
next reply other threads:[~2018-07-08 9:01 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-08 9:01 Jory Pratt [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-01-29 1:54 [gentoo-commits] proj/musl:master commit in: media-libs/mesa/, media-libs/mesa/files/ Jory Pratt
2022-01-21 3:51 Jory Pratt
2021-06-07 13:22 Jory Pratt
2021-03-10 15:19 Jory Pratt
2020-09-04 22:03 Jory Pratt
2020-04-14 12:40 Jory Pratt
2019-10-20 22:10 Jory Pratt
2019-08-22 19:57 Jory Pratt
2019-08-22 3:05 Jory Pratt
2019-05-08 3:07 Jory Pratt
2019-03-27 1:29 Anthony G. Basile
2019-03-14 23:29 Jory Pratt
2018-04-22 21:59 Aric Belsito
2017-12-11 21:03 Aric Belsito
2017-03-20 21:37 Aric Belsito
2017-03-19 20:35 Aric Belsito
2015-07-15 15:01 Anthony G. Basile
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1531040466.9aa4cb5f04ad7cb0bde81bb6238582ac0de1fd8b.anarchy@gentoo \
--to=anarchy@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox