summaryrefslogtreecommitdiff
path: root/sci-biology/lagan/files/lagan-2.0-gcc-9.patch
blob: 6ea30e57a854f401086d05c96fbdcd125378dd8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Two patches to bring lagan up to speed with gcc-9
Index: lagan/src/fchaos.c
===================================================================
--- lagan.orig/src/fchaos.c
+++ lagan/src/fchaos.c
@@ -430,7 +430,7 @@ int chain(LList* second, int off2, LList
 int tc =0;
 int wc = 0;
 
-inline void findPrev(LList* curr, int position, int offset, float baseval) {
+void findPrev(LList* curr, int position, int offset, float baseval) {
   int j,k;
   LList* temp;
   sle* iterator;
Index: lagan/src/filebuffer.c
===================================================================
--- lagan.orig/src/filebuffer.c
+++ lagan/src/filebuffer.c
@@ -1,5 +1,6 @@
 #include "filebuffer.h"
 #include <stdlib.h>
+#include <ctype.h>
 #include <string.h>
 #include <stdio.h>
 #include <assert.h>