File: gcc-14.patch

package info (click to toggle)
kic 2.4c-4
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid
  • size: 2,640 kB
  • sloc: ansic: 37,465; sh: 3,317; makefile: 407; lisp: 109
file content (36 lines) | stat: -rw-r--r-- 546 bytes parent folder | download | duplicates (2)
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
28
29
30
31
32
33
34
35
36
Author: Andreas Beckmann <anbe@debian.org>
Description: fix FTBFS with GCC 14

--- a/src/xmfb/xfb.c
+++ b/src/xmfb/xfb.c
@@ -185,7 +185,9 @@ FBTime()
 
 /* ARGSUSED */
 void
-FBFuncKeys(y,dx) { }
+FBFuncKeys(y,dx)
+int y, dx;
+{ }
 
 
 int
--- a/src/bin/kicscale.c
+++ b/src/bin/kicscale.c
@@ -56,6 +56,7 @@ extern void help();
 
 int
 main(ac, av)
+int ac;
 char *av[];
 {
     int Layer;
--- a/src/bin/kictostr.c
+++ b/src/bin/kictostr.c
@@ -133,6 +133,7 @@ char  **argv;
 
 int
 main(ac, av)
+int ac;
 char *av[];
 {
     double Float1 = 1.0;