Files
nixpkgs/pkgs/development/perl-modules/Bio-Ext-Align/fprintf.patch
T
Alexis Praga 386d93d06d perlPackages.BioExtAlign: bug fix and add test
Bug: with perl > 5.36, the compiler is more
restrictive with errors. This package has implicit
function definitions. The fix is to ignore the
errors as vep, the main package for that, runs
without issue. Also this package is no longer
maintained

We also add test that were missing from the package.
Not all test can be run as they depends on
other Perl modules in Bioper.
2025-02-13 23:35:53 +01:00

14 lines
290 B
Diff

diff --git a/libs/dpalign.c b/libs/dpalign.c
index 0e07b67..0eab932 100644
--- a/Bio/Ext/Align/libs/dpalign.c
+++ b/Bio/Ext/Align/libs/dpalign.c
@@ -40,7 +40,7 @@ int blosum62[24][24] = {
void
dpAlign_fatal(char * s)
{
- fprintf(stderr, s);
+ fputs(s, stderr);
exit(-1);
}