diff options
Diffstat (limited to 'academic/wise/patches/02_isnumber.patch')
-rw-r--r-- | academic/wise/patches/02_isnumber.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/academic/wise/patches/02_isnumber.patch b/academic/wise/patches/02_isnumber.patch new file mode 100644 index 0000000000..a6ae90856d --- /dev/null +++ b/academic/wise/patches/02_isnumber.patch @@ -0,0 +1,14 @@ +Author: Philipp Benner <mail@philipp-benner.de> +Description: Replace isnumber() (which does not exist on linux) by isdigit(). + +--- wise-2.4.1.orig/src/models/phasemodel.c ++++ wise-2.4.1/src/models/phasemodel.c +@@ -20,7 +20,7 @@ + if( line[0] == '#' ) { + continue; + } +- if( !isnumber(line[0]) ) { ++ if( !isdigit(line[0]) ) { + warn("Bad looking line in intron file, %s",line); + continue; + } |