File: gcc-15.patch

package info (click to toggle)
nast 0.2.0-13
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,824 kB
  • sloc: ansic: 7,516; sh: 2,768; makefile: 63
file content (26 lines) | stat: -rw-r--r-- 580 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
26
Description: Fix FTBFS with GCC 15
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/1097432

--- nast-0.2.0.orig/common.c
+++ nast-0.2.0/common.c
@@ -226,7 +226,7 @@ void openfile(void)
 }
 
 /* signal handler */
-void sigexit()
+void sigexit(int sig)
 {
 #ifdef HAVE_LIBNCURSES
 # include <ncurses.h>
--- nast-0.2.0.orig/include/nast.h
+++ nast-0.2.0/include/nast.h
@@ -73,7 +73,7 @@ int car (char *dev, int lg);
 int run_bc (char *dev, char *filter);
 
 /* other functions*/
-void sigexit();
+void sigexit(int);
 void openfile(void);
 void bkg(void);