File: 70-gcc15.patch

package info (click to toggle)
httperf 0.9.0-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,320 kB
  • sloc: sh: 8,789; ansic: 6,692; makefile: 29
file content (14 lines) | stat: -rw-r--r-- 476 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: make it compile with gcc15
Index: httperf/src/httperf.c
===================================================================
--- httperf.orig/src/httperf.c	2025-09-07 09:49:22.824291382 +0200
+++ httperf/src/httperf.c	2025-09-07 09:51:06.228341119 +0200
@@ -944,7 +944,7 @@
   timer_init ();
   core_init ();
 
-  signal (SIGINT, (void (*)()) core_exit);
+  signal (SIGINT, (void (*)(int)) core_exit);
 
   for (i = 0; i < num_stats; ++i)
     (*stat[i]->init)();