File: gcc15.diff

package info (click to toggle)
asclock 2.0.12-37
  • links: PTS
  • area: main
  • in suites: sid
  • size: 1,480 kB
  • sloc: ansic: 1,229; sh: 179; makefile: 74
file content (24 lines) | stat: -rw-r--r-- 681 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
# Description: Avoid FTBFS with GCC 15
#  * Remove arguments from functions requiring no arguments
# Author: Helge Kreutzmann <debian@helgefjell.de>
# Last-Update: 2025-05-08
Index: asclock-2.0.12/config.c
===================================================================
--- asclock-2.0.12.orig/config.c
+++ asclock-2.0.12/config.c
@@ -177,13 +177,13 @@ int loadTheme(char *themesdir)
 	exit(-1);
       } 
 
-      if(!read_assign(f))
+      if(!read_assign())
 	printf("read_assign failed\n");
       
       if(!read_int(s->addr))
 	printf("read_int failed\n");
       
-      if(!read_semicolon(f))
+      if(!read_semicolon())
 	printf("read_semicolon failed\n");
     }