commit:     6fd15b1ab93734dee889da8f0b37cc20c5a4e404
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Sun Feb 22 14:01:50 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 22 14:12:53 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fd15b1a

media-video/pipewire: more -Wdiscarded-qualifiers fixes

Bug: https://bugs.gentoo.org/970206
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/114
Merges: https://codeberg.org/gentoo/gentoo/pulls/114
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../0002-alsa-acp-compat-fix-qualifieers.patch     | 26 ++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git 
a/media-video/pipewire/files/1.6.0/0002-alsa-acp-compat-fix-qualifieers.patch 
b/media-video/pipewire/files/1.6.0/0002-alsa-acp-compat-fix-qualifieers.patch
new file mode 100644
index 000000000000..d100a9d2ebac
--- /dev/null
+++ 
b/media-video/pipewire/files/1.6.0/0002-alsa-acp-compat-fix-qualifieers.patch
@@ -0,0 +1,26 @@
+https://bugs.gentoo.org/970206
+https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/2707
+
+From e435162e00c7741e99c92eefec457c83e4b297f7 Mon Sep 17 00:00:00 2001
+From: Ripley Tom <[email protected]>
+Date: Sat, 21 Feb 2026 19:33:11 +0100
+Subject: [PATCH] spa/plugins/alsa/acp/compat.h: Fix missed
+ -Wdiscarded-qualifiers warning
+
+--- a/spa/plugins/alsa/acp/compat.h
++++ b/spa/plugins/alsa/acp/compat.h
+@@ -429,9 +429,9 @@ static PA_PRINTF_FUNC(1,0) inline char 
*pa_vsprintf_malloc(const char *fmt, va_l
+ 
+ #define pa_fopen_cloexec(f,m) fopen(f,m"e")
+ 
+-static inline char *pa_path_get_filename(const char *p)
++static inline const char *pa_path_get_filename(const char *p)
+ {
+-    char *fn;
++    const char *fn;
+     if (!p)
+         return NULL;
+     if ((fn = strrchr(p, PA_PATH_SEP_CHAR)))
+-- 
+GitLab
+

Reply via email to