From e50cc3bb8e083671aeca7935b8bf76422ff907e8 Mon Sep 17 00:00:00 2001
From: Raboneko <119771935+raboneko@users.noreply.github.com>
Date: Sat, 10 May 2025 21:18:38 -0700
Subject: [PATCH] lib/mesa: import doom patches from steamos (#4773) (#4776)
(cherry picked from commit 500dcdc406d6dba67fb0ae3ab6388d8c2d847e4d)
Co-authored-by: Atapi <34801996+Sterophonick@users.noreply.github.com>
---
anda/lib/mesa/doom-dta.patch | 30 ++++++++++++++++++++++++++++++
anda/lib/mesa/mesa.spec | 3 +++
2 files changed, 33 insertions(+)
create mode 100644 anda/lib/mesa/doom-dta.patch
diff --git a/anda/lib/mesa/doom-dta.patch b/anda/lib/mesa/doom-dta.patch
new file mode 100644
index 0000000000..284ad456e3
--- /dev/null
+++ b/anda/lib/mesa/doom-dta.patch
@@ -0,0 +1,30 @@
+From 80ac865565c8b2cbdf9cca953a234cb630549802 Mon Sep 17 00:00:00 2001
+From: Atapi <34801996+Sterophonick@users.noreply.github.com>
+Date: Sat, 10 May 2025 20:07:43 -0600
+Subject: [PATCH] util: import doom changes from SteamOS
+
+---
+ src/util/00-radv-defaults.conf | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/src/util/00-radv-defaults.conf b/src/util/00-radv-defaults.conf
+index aef8b9006cd..3bb0f3451a4 100644
+--- a/src/util/00-radv-defaults.conf
++++ b/src/util/00-radv-defaults.conf
+@@ -123,6 +123,13 @@ Application bugs worked around in this file:
+
+
+
++
++
++
++
++
++
++
+
+
+
+--
+2.49.0
+
diff --git a/anda/lib/mesa/mesa.spec b/anda/lib/mesa/mesa.spec
index 59ebfc5835..da009b7f8f 100644
--- a/anda/lib/mesa/mesa.spec
+++ b/anda/lib/mesa/mesa.spec
@@ -90,6 +90,9 @@ Source1: Mesa-MLAA-License-Clarification-Email.txt
# https://github.com/bazzite-org/mesa
Patch20: bazzite.patch
+# temporary: DOOM: The Dark Ages patches from SteamOS
+Patch21: doom-dta.patch
+
BuildRequires: meson >= 1.3.0
BuildRequires: gcc
BuildRequires: gcc-c++