File: gcc-15.patch

package info (click to toggle)
prime-phylo 1.0.11-14
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,872 kB
  • sloc: cpp: 54,135; xml: 1,787; ansic: 1,346; perl: 951; yacc: 571; lex: 520; sh: 446; makefile: 197; asm: 2
file content (28 lines) | stat: -rw-r--r-- 826 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 failures with gcc-15.
Author: Étienne Mollier <emollier@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097647
Forwarded: no
Last-Update: 2025-09-22
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- prime-phylo.orig/src/cxx/libraries/sfile/gb.y
+++ prime-phylo/src/cxx/libraries/sfile/gb.y
@@ -25,7 +25,7 @@
 
 extern int yylex (void);
 unsigned linenumber();
-static int yyerror();
+static int yyerror(char*);
 
 #define YYDEBUG 1
 extern int debug;
--- prime-phylo.orig/src/cxx/libraries/sfile/entry.h
+++ prime-phylo/src/cxx/libraries/sfile/entry.h
@@ -148,7 +148,6 @@
    struct entry       *next;
 };
 
-struct entry       *new_entry();
 struct featocc     *new_featocc();
 struct reference   *new_reference();
 struct author      *new_author();