File: gcc-15.patch

package info (click to toggle)
bwbasic 2.20pl2-16
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,808 kB
  • sloc: ansic: 21,005; makefile: 82
file content (19 lines) | stat: -rw-r--r-- 460 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Fix FTBFS with GCC 15
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/1096401

--- bwbasic-2.20pl2.orig/renum.c
+++ bwbasic-2.20pl2/renum.c
@@ -9,9 +9,9 @@
 #include <string.h>
 #include <stdlib.h>
 
-int instr();
-char *midstr1();
-char *midstr2();
+int instr(char *astr, char *bstr);
+char *midstr1(char *astr, int start);
+char *midstr2(char *astr, int start, int len);
 void binary_search(void);
 
 int f2, l2, n, x;