1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
# Description: fixes the build with gcc-15
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096516
# https://bugs.launchpad.net/ubuntu/+source/dee/+bug/2124942
Index: dee/tools/dee-tool.c
===================================================================
--- dee.orig/tools/dee-tool.c 2025-10-01 16:28:16.002235979 +0200
+++ dee/tools/dee-tool.c 2025-10-01 16:28:16.005440685 +0200
@@ -203,7 +203,7 @@
}
static gboolean timed_out = FALSE;
-static gboolean
+static guint
_timeout_cb ()
{
timed_out = TRUE;
@@ -239,7 +239,7 @@
/* If we're serving a private conn stick around indefinitely,
* otherwise quit after 1s */
if (!linger)
- g_timeout_add_seconds (1, _timeout_cb, NULL);
+ g_timeout_add_seconds (1, (GSourceFunc)_timeout_cb, NULL);
while (!timed_out)
{
|