Debian Codegraph @

debian/patches/gcc-15.patch

raw symbols SCIP
1 Description: fix ftbfs with gcc-15
2 This change fixes the following build failure with gcc-15:
3 .
4 ./lib/pwm_searchPFF.c:64:1: warning: old-style function definition [-Wold-style-definition]
5 64 | err_log(msg)
6 | ^~~~~~~
7 ./lib/pwm_searchPFF.c:66:1: error: number of arguments doesn’t match prototype
8 66 | {
9 | ^
10 In file included from ./lib/pwm_searchPFF.c:34:
11 ./lib/pwm_search.h:16:6: error: prototype declaration
12 16 | void err_log(), err_show();
13 | ^~~~~~~
14 .
15 It consists in declaring err_log with its char* argument explicitly.
16 Author: Étienne Mollier <[email protected]>
17 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097278
18 Forwarded: https://github.com/ComputationalRegulatoryGenomicsICL/TFBS/pull/4/commits/4bb453d4dda996148ad0816f7c0aa68f8445c015
19 Last-Update: 2025-09-11
20 ---
21 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
22 --- libtfbs-perl.orig/Ext/lib/pwm_search.h
23 +++ libtfbs-perl/Ext/lib/pwm_search.h
24 @@ -13,7 +13,7 @@
25 extern double sqrt();
26 extern FILE *fopen();
27 */
28 -void err_log(), err_show();
29 +void err_log(char*), err_show();
30
31 /*---------------------------------------------------------------
32 * DEFINES
33 --- libtfbs-perl.orig/blib/lib/pwm_search.h
34 +++ libtfbs-perl/blib/lib/pwm_search.h
35 @@ -13,7 +13,7 @@
36 extern double sqrt();
37 extern FILE *fopen();
38 */
39 -void err_log(), err_show();
40 +void err_log(char*), err_show();
41
42 /*---------------------------------------------------------------
43 * DEFINES