aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJory Pratt <anarchy@gentoo.org>2021-03-10 09:06:27 -0600
committerJory Pratt <anarchy@gentoo.org>2021-03-10 09:06:27 -0600
commitd3ff9b98f75ebcb9a2822ac2a485a78eb71aab76 (patch)
tree73edc035f1c9b8c15b02f3dcd2ba696c67552ca8 /media-libs
parentmedia-libs/mesa: sync with stable, needs fixing (diff)
downloadmusl-d3ff9b98f75ebcb9a2822ac2a485a78eb71aab76.tar.gz
musl-d3ff9b98f75ebcb9a2822ac2a485a78eb71aab76.tar.bz2
musl-d3ff9b98f75ebcb9a2822ac2a485a78eb71aab76.zip
media-libs/mesa: unbreak intel users build
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Jory Pratt <anarchy@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/mesa/files/mesa-20.3.4-intel-git_sha1.patch25
-rw-r--r--media-libs/mesa/mesa-20.3.4.ebuild1
2 files changed, 26 insertions, 0 deletions
diff --git a/media-libs/mesa/files/mesa-20.3.4-intel-git_sha1.patch b/media-libs/mesa/files/mesa-20.3.4-intel-git_sha1.patch
new file mode 100644
index 0000000..2919d57
--- /dev/null
+++ b/media-libs/mesa/files/mesa-20.3.4-intel-git_sha1.patch
@@ -0,0 +1,25 @@
+From 4ffaff669266dd5b633d2e44ca842c49f0a1d2fb Mon Sep 17 00:00:00 2001
+From: Jory Pratt <anarchy@gentoo.org>
+Date: Wed, 10 Mar 2021 08:48:37 -0600
+Subject: [PATCH] ensure git_sha1.h is generated for use
+
+---
+ src/intel/common/meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/intel/common/meson.build b/src/intel/common/meson.build
+index 66e0967..422d22a 100644
+--- a/src/intel/common/meson.build
++++ b/src/intel/common/meson.build
+@@ -42,7 +42,7 @@ files_libintel_common = files(
+ )
+
+ libintel_common = static_library(
+- ['intel_common', genX_xml_h],
++ ['intel_common', genX_xml_h, sha1_h],
+ files_libintel_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_intel],
+ c_args : [no_override_init_args],
+--
+2.26.2
+
diff --git a/media-libs/mesa/mesa-20.3.4.ebuild b/media-libs/mesa/mesa-20.3.4.ebuild
index 1810be3..acdeb09 100644
--- a/media-libs/mesa/mesa-20.3.4.ebuild
+++ b/media-libs/mesa/mesa-20.3.4.ebuild
@@ -243,6 +243,7 @@ x86? (
PATCHES=(
"${FILESDIR}"/${PN}-20.2.0-add-disable-tls-support.patch
+ "${FILESDIR}"/${PN}-20.3.4-intel-git_sha1.patch
)
llvm_check_deps() {