File: incompatible-pointer-types.patch

package info (click to toggle)
dee 1.2.7%2B17.10.20170616-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,736 kB
  • sloc: ansic: 21,336; makefile: 407; python: 239; xml: 41; sh: 15
file content (25 lines) | stat: -rw-r--r-- 801 bytes parent folder | download
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)
     {