File: gcc-15.patch

package info (click to toggle)
libtfbs-perl 0.7.1%2Bds-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,016 kB
  • sloc: perl: 10,728; ansic: 1,228; makefile: 560; sh: 9
file content (43 lines) | stat: -rw-r--r-- 1,507 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Description: fix ftbfs with gcc-15
 This change fixes the following build failure with gcc-15:
 .
  ./lib/pwm_searchPFF.c:64:1: warning: old-style function definition [-Wold-style-definition]
     64 | err_log(msg)
        | ^~~~~~~
  ./lib/pwm_searchPFF.c:66:1: error: number of arguments doesn’t match prototype
     66 | {
        | ^
  In file included from ./lib/pwm_searchPFF.c:34:
  ./lib/pwm_search.h:16:6: error: prototype declaration
     16 | void err_log(), err_show();
        |      ^~~~~~~
 .
 It consists in declaring err_log with its char* argument explicitly.
Author: Étienne Mollier <emollier@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097278
Forwarded: https://github.com/ComputationalRegulatoryGenomicsICL/TFBS/pull/4/commits/4bb453d4dda996148ad0816f7c0aa68f8445c015
Last-Update: 2025-09-11
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- libtfbs-perl.orig/Ext/lib/pwm_search.h
+++ libtfbs-perl/Ext/lib/pwm_search.h
@@ -13,7 +13,7 @@
 extern double sqrt();
 extern FILE *fopen();
 */ 
-void err_log(), err_show();
+void err_log(char*), err_show();
 
 /*---------------------------------------------------------------
  * DEFINES
--- libtfbs-perl.orig/blib/lib/pwm_search.h
+++ libtfbs-perl/blib/lib/pwm_search.h
@@ -13,7 +13,7 @@
 extern double sqrt();
 extern FILE *fopen();
 */ 
-void err_log(), err_show();
+void err_log(char*), err_show();
 
 /*---------------------------------------------------------------
  * DEFINES