Update to 19.3.1
This commit is contained in:
parent
78c38a46db
commit
0860841e06
@ -1,44 +0,0 @@
|
||||
From 0cb5c96a83e3da2986fc8219b10671a7caea9ee5 Mon Sep 17 00:00:00 2001
|
||||
From: Luis Mendes <luis.p.mendes@gmail.com>
|
||||
Date: Sat, 9 Nov 2019 23:21:05 +0000
|
||||
Subject: [PATCH] radv: fix radv secure compile feature breaks compilation on
|
||||
armhf EABI and aarch64
|
||||
|
||||
__NR_select is not defined the same way across architectures, sometimes is
|
||||
not even defined, like in armhf EABI and aarch64.
|
||||
|
||||
Signed-off-by: Luis Mendes <luis.p.mendes@gmail.com>
|
||||
|
||||
Acked-by: Timothy Arceri <tarceri@itsqueeze.com>
|
||||
|
||||
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
|
||||
|
||||
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2042
|
||||
---
|
||||
src/amd/vulkan/radv_device.c | 8 ++++++++
|
||||
1 file changed, 8 insertions(+)
|
||||
|
||||
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
|
||||
index 93763c4ae4c..a608c39c5e5 100644
|
||||
--- a/src/amd/vulkan/radv_device.c
|
||||
+++ b/src/amd/vulkan/radv_device.c
|
||||
@@ -2006,8 +2006,16 @@ static int install_seccomp_filter() {
|
||||
BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, AUDIT_ARCH_X86_64, 0, 12),
|
||||
|
||||
/* Futex is required for mutex locks */
|
||||
+ #if defined __NR__newselect
|
||||
+ BPF_STMT(BPF_LD + BPF_W + BPF_ABS, (offsetof(struct seccomp_data, nr))),
|
||||
+ BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, __NR__newselect, 11, 0),
|
||||
+ #elif defined __NR_select
|
||||
BPF_STMT(BPF_LD + BPF_W + BPF_ABS, (offsetof(struct seccomp_data, nr))),
|
||||
BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, __NR_select, 11, 0),
|
||||
+ #else
|
||||
+ BPF_STMT(BPF_LD + BPF_W + BPF_ABS, (offsetof(struct seccomp_data, nr))),
|
||||
+ BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, __NR_pselect6, 11, 0),
|
||||
+ #endif
|
||||
|
||||
/* Allow system exit calls for the forked process */
|
||||
BPF_STMT(BPF_LD + BPF_W + BPF_ABS, (offsetof(struct seccomp_data, nr))),
|
||||
--
|
||||
2.22.0
|
||||
|
@ -50,7 +50,7 @@
|
||||
|
||||
Name: mesa
|
||||
Summary: Mesa graphics libraries
|
||||
%global ver 19.3.0
|
||||
%global ver 19.3.1
|
||||
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
|
||||
Release: 1%{?dist}
|
||||
License: MIT
|
||||
@ -62,9 +62,6 @@ Source0: https://mesa.freedesktop.org/archive/%{name}-%{ver}.tar.xz
|
||||
# Fedora opts to ignore the optional part of clause 2 and treat that code as 2 clause BSD.
|
||||
Source1: Mesa-MLAA-License-Clarification-Email.txt
|
||||
|
||||
# https://gitlab.freedesktop.org/mesa/mesa/issues/2042
|
||||
Patch0: fix-arm-build.patch
|
||||
|
||||
Patch3: 0003-evergreen-big-endian.patch
|
||||
|
||||
BuildRequires: meson >= 0.45
|
||||
@ -584,6 +581,9 @@ popd
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Dec 18 2019 Pete Walter <pwalter@fedoraproject.org> - 19.3.1-1
|
||||
- Update to 19.3.1
|
||||
|
||||
* Mon Dec 16 2019 Pete Walter <pwalter@fedoraproject.org> - 19.3.0-1
|
||||
- Update to 19.3.0
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (mesa-19.3.0.tar.xz) = 69c4519540118fb3d50d718d92f443051c149633cf4291a07706c6d45cd6ad1f6f3b91446de2d31a9082efe9e3b4ce35b7472830e152ba655d83a91c2ed3c042
|
||||
SHA512 (mesa-19.3.1.tar.xz) = 338d2e37122ef22cc4e27a2f3c39e23e419703a507ace99383c749a563936c5f0428cce9a68ac80d0bd2ff57be8a55f42aee0ed6d16bf6b77b4e59d428729568
|
||||
|
Loading…
Reference in New Issue
Block a user