<div dir="auto">On Sat, 06 Sep 2025 16:04:46 +0200 "Diederik de Haas" <<a href="mailto:didi.debian@cknow.org">didi.debian@cknow.org</a>> wrote:<br>> From 943f02b70c564acec5ff886aea8a7708af7fccbf Mon Sep 17 00:00:00 2001<br>> From: Diederik de Haas <<a href="mailto:didi.debian@cknow.org">didi.debian@cknow.org</a>><br>> Date: Sat, 6 Sep 2025 15:04:42 +0200<br>> Subject: [PATCH] debian/patches: Add patch to fix building with GCC-15<br>> <br>> Add the upstream commit added to the 1.5.x branch as patch to<br>> debian/patches to fix building with GCC-15.<br>> <br>> Closes: #1114216<br>> <br>> Link: <a href="https://bugs.debian.org/1114216">https://bugs.debian.org/1114216</a><br>> Link: <a href="https://github.com/mumble-voip/mumble/pull/6775">https://github.com/mumble-voip/mumble/pull/6775</a><br>> Link: <a href="https://github.com/mumble-voip/mumble/pull/6778">https://github.com/mumble-voip/mumble/pull/6778</a><br>> Signed-off-by: Diederik de Haas <<a href="mailto:didi.debian@cknow.org">didi.debian@cknow.org</a>><br>> ---<br>>  ...ILD-overlay-Fix-building-with-GCC-15.patch | 40 +++++++++++++++++++<br>>  debian/patches/series                         |  1 +<br>>  2 files changed, 41 insertions(+)<br>>  create mode 100644 debian/patches/91-BUILD-overlay-Fix-building-with-GCC-15.patch<br>> <br>> diff --git a/debian/patches/91-BUILD-overlay-Fix-building-with-GCC-15.patch b/debian/patches/91-BUILD-overlay-Fix-building-with-GCC-15.patch<br>> new file mode 100644<br>> index 0000000..d4244f5<br>> --- /dev/null<br>> +++ b/debian/patches/91-BUILD-overlay-Fix-building-with-GCC-15.patch<br>> @@ -0,0 +1,40 @@<br>> +From: Carl George <<a href="mailto:carlwgeorge@gmail.com">carlwgeorge@gmail.com</a>><br>> +Date: Tue, 8 Apr 2025 23:25:52 -0500<br>> +Subject: BUILD(overlay): Fix building with GCC 15<br>> +Origin: <a href="https://github.com/mumble-voip/mumble/commit/16ad07d980518a0fdca7b4a6e5dfc6a41ea0d8da">https://github.com/mumble-voip/mumble/commit/16ad07d980518a0fdca7b4a6e5dfc6a41ea0d8da</a><br>> +<br>> +C23 added the bool keyword, which results in an error if you try to<br>> +define an identifier named bool and then build with GCC 15.  We can use<br>> +stdbool.h to define bool instead.<br>> +<br>> +<a href="https://gcc.gnu.org/gcc-15/porting_to.html#c23-new-keywords">https://gcc.gnu.org/gcc-15/porting_to.html#c23-new-keywords</a><br>> +(cherry picked from commit f4259722553335d79e9d28948ab7bdb00293a5ec)<br>> +---<br>> + overlay_gl/overlay.c | 4 +---<br>> + 1 file changed, 1 insertion(+), 3 deletions(-)<br>> +<br>> +diff --git a/overlay_gl/overlay.c b/overlay_gl/overlay.c<br>> +index de36c85b3..fd2c83605 100644<br>> +--- a/overlay_gl/overlay.c<br>> ++++ b/overlay_gl/overlay.c<br>> +@@ -14,6 +14,7 @@<br>> + #include <pwd.h><br>> + #include <semaphore.h><br>> + #include <stdarg.h><br>> ++#include <stdbool.h><br>> + #include <stdio.h><br>> + #include <stdlib.h><br>> + #include <string.h><br>> +@@ -37,9 +38,6 @@<br>> + <br>> + # include <link.h><br>> + <br>> +-typedef unsigned char bool;<br>> +-#   define true 1<br>> +-# define false 0<br> </div>