summarylogtreecommitdiffstats
path: root/ToUpper_build_fix.patch
diff options
context:
space:
mode:
authorEric Biggers2017-04-08 11:37:19 -0700
committerEric Biggers2017-04-08 11:40:30 -0700
commit361701f9b0da74524b815b3c7fedffa7cc51d2bb (patch)
tree44874ff2d2f30b42f2cb0a75471c570269ce38e4 /ToUpper_build_fix.patch
parentf236224fd45c1a1c9f11813e95570fdcbb5cf937 (diff)
downloadaur-dnaa.tar.gz
Update to fix compile error related to ToUpper()
Diffstat (limited to 'ToUpper_build_fix.patch')
-rw-r--r--ToUpper_build_fix.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/ToUpper_build_fix.patch b/ToUpper_build_fix.patch
new file mode 100644
index 00000000000..65001555037
--- /dev/null
+++ b/ToUpper_build_fix.patch
@@ -0,0 +1,26 @@
+diff --git a/bfast-0.7.0a/bfast/BLib.c b/bfast-0.7.0a/bfast/BLib.c
+index 45f1488..1894a6b 100644
+--- a/bfast-0.7.0a/bfast/BLib.c
++++ b/bfast-0.7.0a/bfast/BLib.c
+@@ -90,7 +90,7 @@ void ToLowerRead(char *r, int readLength)
+ }
+
+ /* TODO */
+-inline char ToUpper(char a)
++char ToUpper(char a)
+ {
+ if(97 <= a && a < 122) return (char)(a - 32);
+ return a;
+diff --git a/bfast-0.7.0a/bfast/BLib.h b/bfast-0.7.0a/bfast/BLib.h
+index 6c87810..c116899 100644
+--- a/bfast-0.7.0a/bfast/BLib.h
++++ b/bfast-0.7.0a/bfast/BLib.h
+@@ -16,7 +16,7 @@ int GetFastaHeaderLine(FILE*, char*);
+ int ParseFastaHeaderLine(char*);
+ char ToLower(char);
+ void ToLowerRead(char*, int);
+-inline char ToUpper(char);
++char ToUpper(char);
+ void ToUpperRead(char*, int);
+ void ReverseRead(char*, char*, int);
+ void ReverseReadFourBit(int8_t*, int8_t*, int);