Diff mesa-23.1.9 with a mesa-23.2.1
/usr/portage/media-libs/mesa/mesa-23.2.1.ebuild 2023-10-09 14:52:31.700368406 +0300 | ||
---|---|---|
104 | 104 |
>=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}] |
105 | 105 |
>=x11-libs/libxcb-1.13:=[${MULTILIB_USEDEP}] |
106 | 106 |
x11-libs/libXfixes[${MULTILIB_USEDEP}] |
107 |
x11-libs/xcb-util-keysyms[${MULTILIB_USEDEP}] |
|
107 | 108 |
) |
108 | 109 |
zink? ( media-libs/vulkan-loader:=[${MULTILIB_USEDEP}] ) |
109 | 110 |
zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] ) |
... | ... | |
157 | 158 |
unset LLVM_MIN_SLOT {LLVM,PER_SLOT}_DEPSTR |
158 | 159 | |
159 | 160 |
DEPEND="${RDEPEND} |
160 |
video_cards_d3d12? ( dev-util/directx-headers[${MULTILIB_USEDEP}] ) |
|
161 |
video_cards_d3d12? ( >=dev-util/directx-headers-1.610.0[${MULTILIB_USEDEP}] ) |
|
161 | 162 |
valgrind? ( dev-util/valgrind ) |
162 | 163 |
wayland? ( >=dev-libs/wayland-protocols-1.24 ) |
163 | 164 |
X? ( |
... | ... | |
199 | 200 |
usr/lib/libGLX_mesa.so.0.0.0 |
200 | 201 |
)" |
201 | 202 | |
203 |
PATCHES=( |
|
204 |
# Workaround the CMake dependency lookup returning a different LLVM to llvm-config, bug #907965 |
|
205 |
"${FILESDIR}/clang_config_tool.patch" |
|
206 |
) |
|
207 | ||
202 | 208 |
llvm_check_deps() { |
203 | 209 |
if use opencl; then |
204 | 210 |
has_version "sys-devel/clang:${LLVM_SLOT}[${LLVM_USE_DEPS}]" || return 1 |
... | ... | |
209 | 215 |
has_version "sys-devel/llvm:${LLVM_SLOT}[${LLVM_USE_DEPS}]" |
210 | 216 |
} |
211 | 217 | |
212 |
PATCHES=( |
|
213 |
# Temporary rusticl workaround: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7717#note_1832122 |
|
214 |
"${FILESDIR}/clang_resource_dir.patch" |
|
215 | ||
216 |
# Workaround the CMake dependency lookup returning a different LLVM to llvm-config, bug #907965 |
|
217 |
"${FILESDIR}/clang_config_tool.patch" |
|
218 |
) |
|
219 | ||
220 | 218 |
pkg_pretend() { |
221 | 219 |
if use vulkan; then |
222 | 220 |
if ! use video_cards_d3d12 && |