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 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