File: gcc-15.patch

package info (click to toggle)
wtdbg2 2.5-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 119,728 kB
  • sloc: ansic: 27,655; perl: 1,212; makefile: 125; sh: 83
file content (28 lines) | stat: -rw-r--r-- 987 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
27
28
Description: fix build failure with gcc-15.
 This change fixes the following failure, captured by gcc-15:
 .
        wtpoa.h:77:20: error: too many arguments to function ‘init_basebank’; expected 0, have 1
           77 |         ctg->seq = init_basebank(2048);
              |                    ^~~~~~~~~~~~~ ~~~~
 .
 The arguments can be safely removed from the callers, because the
 function has been define (and not just declared) without arguments.
Author: Étienne Mollier <emollier@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098113
Forwarded: no
Last-Update: 2025-10-20
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- wtdbg2.orig/wtpoa.h
+++ wtdbg2/wtpoa.h
@@ -74,8 +74,8 @@
 	ctg->cidx = cidx;
 	ctg->rs  = init_edgecnsv(2);
 	ctg->tag = init_string(32);
-	ctg->seq = init_basebank(2048);
-	ctg->cns = init_basebank(2048);
+	ctg->seq = init_basebank();
+	ctg->cns = init_basebank();
 	ctg->cnt = 0;
 	return ctg;
 }