summaryrefslogtreecommitdiff
path: root/app-editors/dav/files/dav-0.9.0-gcc-15.patch
blob: 441e6faf3019998fdcd7391b5722207288484d2f (plain)
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
26
27
Description: Fix build with GCC-15
Author: Marcos Talau <talau@debian.org>
Bug-Debian: https://bugs.debian.org/1096506
Last-Update: 2026-01-05

--- dav-text-0.9.0.orig/main.c
+++ dav-text-0.9.0/main.c
@@ -749,7 +749,7 @@ void logMsg(char *msg) {
   }
 }
 
-void sigcatch() {
+void sigcatch(int) {
   quit("");
 }
 
--- dav-text-0.9.0.orig/main.h
+++ dav-text-0.9.0/main.h
@@ -31,7 +31,7 @@ void doAlternativeArguments(int argc, ch
 void quit(char *text);
 void displayHelp();
 void displayVersion();
-void sigcatch();
+void sigcatch(int);
 void loadSettings();
 void writeRC(FILE *fp);
 void tryQuit();