diff options
author | 2023-09-11 14:33:50 +0700 | |
---|---|---|
committer | 2023-09-11 14:33:50 +0700 | |
commit | 59e0202f1af598b06a0981e4b4a3afef86591965 (patch) | |
tree | 29b287cd160309a993ee243ac453ff6ff45dd99d /academic/wise/patches/02_isnumber.patch | |
parent | e3b889a097b76eabd15e46aefcfac2fa0564a6b9 (diff) | |
download | slackbuilds-59e0202f1af598b06a0981e4b4a3afef86591965.tar.gz slackbuilds-59e0202f1af598b06a0981e4b4a3afef86591965.tar.xz |
games/wise: Added (Compare protein to DNA sequence).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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; + } |