aboutsummaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2016-05-11 21:48:50 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2016-05-11 21:48:50 +0000
commit1f30a863dabff58f15125b63356ba9b2f9895fa2 (patch)
tree5e818fdc9d69f085c206e919d3d7d0070c564ea1 /biology
parentc3fbb070d19ebda89326b29421143fea0553d50b (diff)
downloadports-1f30a863dabff58f15125b63356ba9b2f9895fa2.tar.gz
ports-1f30a863dabff58f15125b63356ba9b2f9895fa2.zip
Notes
Diffstat (limited to 'biology')
-rw-r--r--biology/lagan/files/patch-src__glocal__rightinfluence.cpp5
-rw-r--r--biology/lagan/files/patch-src__glocal__score.cpp4
-rw-r--r--biology/lagan/files/patch-src__utils__Glue.cpp4
-rw-r--r--biology/lagan/files/patch-src_anchors.c20
4 files changed, 27 insertions, 6 deletions
diff --git a/biology/lagan/files/patch-src__glocal__rightinfluence.cpp b/biology/lagan/files/patch-src__glocal__rightinfluence.cpp
index 6ee5be408229..dd8edd2e0350 100644
--- a/biology/lagan/files/patch-src__glocal__rightinfluence.cpp
+++ b/biology/lagan/files/patch-src__glocal__rightinfluence.cpp
@@ -1,4 +1,4 @@
---- src/glocal/rightinfluence.cpp.orig
+--- src/glocal/rightinfluence.cpp.orig 2006-09-14 20:40:19 UTC
+++ src/glocal/rightinfluence.cpp
@@ -1,6 +1,6 @@
#include <rightinfluence.h>
@@ -8,7 +8,7 @@
// Sets the first default owner of the whole region
void initRI(RI *RightInfluence, long long int scoreIndex) {
-@@ -18,17 +18,17 @@
+@@ -18,17 +18,17 @@ void initRI(RI *RightInfluence, long lon
// hack to aid winner selection
origin.score = -1;
@@ -30,3 +30,4 @@
+ RightInfluence->act[+INF] = &my_end;
}
+
diff --git a/biology/lagan/files/patch-src__glocal__score.cpp b/biology/lagan/files/patch-src__glocal__score.cpp
index 76a8521558ab..0360397cacbc 100644
--- a/biology/lagan/files/patch-src__glocal__score.cpp
+++ b/biology/lagan/files/patch-src__glocal__score.cpp
@@ -1,5 +1,5 @@
---- src/glocal/score.cpp.orig 2006-09-15 05:40:19.000000000 +0900
-+++ src/glocal/score.cpp 2012-10-03 00:22:50.000000000 +0900
+--- src/glocal/score.cpp.orig 2006-09-14 20:40:19 UTC
++++ src/glocal/score.cpp
@@ -2,7 +2,7 @@
#include<score.h>
#include<leftinfluence.h>
diff --git a/biology/lagan/files/patch-src__utils__Glue.cpp b/biology/lagan/files/patch-src__utils__Glue.cpp
index 8b5b2b4fed25..bce5c336a1aa 100644
--- a/biology/lagan/files/patch-src__utils__Glue.cpp
+++ b/biology/lagan/files/patch-src__utils__Glue.cpp
@@ -1,5 +1,5 @@
---- src/utils/Glue.cpp.orig 2006-09-15 05:40:18.000000000 +0900
-+++ src/utils/Glue.cpp 2012-10-03 00:23:38.000000000 +0900
+--- src/utils/Glue.cpp.orig 2006-09-14 20:40:18 UTC
++++ src/utils/Glue.cpp
@@ -6,6 +6,7 @@
#include <fstream>
#include <iostream>
diff --git a/biology/lagan/files/patch-src_anchors.c b/biology/lagan/files/patch-src_anchors.c
new file mode 100644
index 000000000000..00b9f66ac060
--- /dev/null
+++ b/biology/lagan/files/patch-src_anchors.c
@@ -0,0 +1,20 @@
+--- src/anchors.c.orig 2016-05-11 21:46:55 UTC
++++ src/anchors.c
+@@ -225,7 +225,7 @@ char* rolltonum(char* str) {
+ return &str[i];
+ }
+
+-int getline(FILE* infile, hll* tt) {
++int get_line(FILE* infile, hll* tt) {
+ char temp[1024];
+ char* help;
+ int z, h;
+@@ -248,7 +248,7 @@ hll* parseCHAOS(FILE* infile, int* totnu
+ *totnum = 0;
+ while(!feof(infile)) {
+ tt = (hll*) malloc(sizeof(hll));
+- while (!feof(infile) && !getline(infile, tt))
++ while (!feof(infile) && !get_line(infile, tt))
+ ;
+ if (feof(infile)) break;
+ if (gapfreechunks) {