From e16e27433e91c5257ec0a0aa3366220db167f770 Mon Sep 17 00:00:00 2001 From: Pete Walter Date: Tue, 29 Sep 2020 13:31:20 +0100 Subject: [PATCH] Drop no longer needed big endian fix This looks like an old build fix that's no longer necessary. --- 0003-evergreen-big-endian.patch | 26 -------------------------- mesa.spec | 7 ++++--- 2 files changed, 4 insertions(+), 29 deletions(-) delete mode 100644 0003-evergreen-big-endian.patch diff --git a/0003-evergreen-big-endian.patch b/0003-evergreen-big-endian.patch deleted file mode 100644 index ccf1717..0000000 --- a/0003-evergreen-big-endian.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 0ec3bdb2264b491fd3f5dc4e638b4c12611ef219 Mon Sep 17 00:00:00 2001 -From: Igor Gnatenko -Date: Sun, 20 Mar 2016 13:27:45 +0100 -Subject: [PATCH 3/4] evergreen big endian - -Signed-off-by: Igor Gnatenko ---- - src/gallium/drivers/r600/r600_state_common.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c -index cac240e..4b620a1 100644 ---- a/src/gallium/drivers/r600/r600_state_common.c -+++ b/src/gallium/drivers/r600/r600_state_common.c -@@ -2716,7 +2716,7 @@ uint32_t r600_translate_colorformat(enum chip_class chip, enum pipe_format forma - - uint32_t r600_colorformat_endian_swap(uint32_t colorformat, bool do_endian_swap) - { -- if (R600_BIG_ENDIAN) { -+ if (0 && R600_BIG_ENDIAN) { - switch(colorformat) { - /* 8-bit buffers. */ - case V_0280A0_COLOR_4_4: --- -2.7.4 - diff --git a/mesa.spec b/mesa.spec index 3acefdf..076d895 100644 --- a/mesa.spec +++ b/mesa.spec @@ -52,7 +52,7 @@ Name: mesa Summary: Mesa graphics libraries %global ver 20.2.0 Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)} -Release: 1%{?dist} +Release: 2%{?dist} License: MIT URL: http://www.mesa3d.org @@ -62,8 +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 -Patch3: 0003-evergreen-big-endian.patch - BuildRequires: meson >= 0.45 BuildRequires: gcc BuildRequires: gcc-c++ @@ -581,6 +579,9 @@ popd %endif %changelog +* Tue Sep 29 2020 Pete Walter - 20.2.0-2 +- Drop no longer needed big endian fix + * Tue Sep 29 2020 Pete Walter - 20.2.0-1 - Update to 20.2.0