Debian Codegraph @

debian/patches/gcc-14.patch

raw symbols SCIP
1 Description: fix implicit int return types with gcc 14.
2 This fixes the following build failure:
3 .
4 ./lib/pwm_searchPFF.c:303:1: error: return type defaults to ‘int’ [-Wimplicit-int]
5 303 | get_sequence(fp,seq_id,sequence)
6 | ^~~~~~~~~~~~
7 ./lib/pwm_searchPFF.c:414:1: error: return type defaults to ‘int’ [-Wimplicit-int]
8 414 | best_pull(pargs,pbase,pstrand,pscore)
9 | ^~~~~~~~~
10
11 Author: Étienne Mollier <[email protected]>
12 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075213
13 Forwarded: https://github.com/ComputationalRegulatoryGenomicsICL/TFBS/pull/4
14 Last-Update: 2024-07-10
15 ---
16 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
17 --- libtfbs-perl.orig/Ext/lib/pwm_searchPFF.c
18 +++ libtfbs-perl/Ext/lib/pwm_searchPFF.c
19 @@ -300,7 +300,7 @@
20 *
21 * Return 0 normally, -1 on error, 1 if called at EOF.
22 *------------------------------------------------------------------*/
23 -get_sequence(fp,seq_id,sequence)
24 +int get_sequence(fp,seq_id,sequence)
25 FILE *fp; /* file to read */
26 char *seq_id; /* name of sequence */
27 char *sequence; /* text of sequence */
28 @@ -411,7 +411,7 @@
29 *
30 * Returns: 0
31 *------------------------------------------------------------------*/
32 -best_pull(pargs,pbase,pstrand,pscore)
33 +int best_pull(pargs,pbase,pstrand,pscore)
34 struct arguments *pargs; /* args from command line */
35 long *pbase; /* base where score occurs */
36 int *pstrand; /* strand where score occurs */
37 --- libtfbs-perl.orig/blib/lib/pwm_searchPFF.c
38 +++ libtfbs-perl/blib/lib/pwm_searchPFF.c
39 @@ -156,7 +156,7 @@
40 *
41 * Returns: 0
42 *------------------------------------------------------------------*/
43 -best_pull(pargs,pbase,pstrand,pscore)
44 +int best_pull(pargs,pbase,pstrand,pscore)
45 struct arguments *pargs; /* args from command line */
46 long *pbase; /* base where score occurs */
47 int *pstrand; /* strand where score occurs */
48 @@ -523,7 +523,7 @@
49 *
50 * Return 0 normally, -1 on error, 1 if called at EOF.
51 *------------------------------------------------------------------*/
52 -get_sequence(fp,seq_id,sequence)
53 +int get_sequence(fp,seq_id,sequence)
54 FILE *fp; /* file to read */
55 char *seq_id; /* name of sequence */
56 char *sequence; /* text of sequence */