diff options
Diffstat (limited to 'comms/yagiuda/files')
-rw-r--r-- | comms/yagiuda/files/patch-src_gain.c | 10 | ||||
-rw-r--r-- | comms/yagiuda/files/patch-src_genetic_algorithm_lib.c | 22 | ||||
-rw-r--r-- | comms/yagiuda/files/patch-src_input.c | 10 | ||||
-rw-r--r-- | comms/yagiuda/files/patch-src_output.c | 10 | ||||
-rw-r--r-- | comms/yagiuda/files/patch-src_random.c | 10 | ||||
-rw-r--r-- | comms/yagiuda/files/patch-src_string.c | 10 | ||||
-rw-r--r-- | comms/yagiuda/files/patch-src_yagi.c | 11 |
7 files changed, 83 insertions, 0 deletions
diff --git a/comms/yagiuda/files/patch-src_gain.c b/comms/yagiuda/files/patch-src_gain.c new file mode 100644 index 000000000000..8ce6ffc8cb5a --- /dev/null +++ b/comms/yagiuda/files/patch-src_gain.c @@ -0,0 +1,10 @@ +--- src/gain.c.orig Tue Jul 19 12:24:45 2005 ++++ src/gain.c Tue Jul 19 12:24:50 2005 +@@ -3,7 +3,6 @@ + #endif + #include <stdio.h> + #include <math.h> +-#include <malloc.h> + #include <errno.h> + #include "yagi.h" + #define TINY 1e-10 diff --git a/comms/yagiuda/files/patch-src_genetic_algorithm_lib.c b/comms/yagiuda/files/patch-src_genetic_algorithm_lib.c new file mode 100644 index 000000000000..c198a1e9594f --- /dev/null +++ b/comms/yagiuda/files/patch-src_genetic_algorithm_lib.c @@ -0,0 +1,22 @@ +--- src/genetic_algorithm_lib.c.orig Tue Jul 19 12:25:24 2005 ++++ src/genetic_algorithm_lib.c Tue Jul 19 12:35:51 2005 +@@ -3,9 +3,8 @@ + #endif + #include <string.h> + +-#include <values.h> +-#include <math.h> + #include <sys/types.h> ++#include <math.h> + #include <errno.h> + #include "yagi.h" + +@@ -245,7 +244,7 @@ + GeneRecord *temp ; + double minfit,maxfit ; + sigma=0.0 ; +- minfit=MAXDOUBLE ; ++ minfit=MAXFLOAT; + maxfit=-minfit ; + /* minfit=1e308; maxfit=-1e308; XXXXXXXXXXXXXXXXXXXXXX */ + for(a=0 ; a<population_size ; a++ ) diff --git a/comms/yagiuda/files/patch-src_input.c b/comms/yagiuda/files/patch-src_input.c new file mode 100644 index 000000000000..79eac3357586 --- /dev/null +++ b/comms/yagiuda/files/patch-src_input.c @@ -0,0 +1,10 @@ +--- src/input.c.orig Tue Jul 19 12:24:11 2005 ++++ src/input.c Tue Jul 19 12:24:18 2005 +@@ -16,7 +16,6 @@ + */ + + #include <stdio.h> +-#include <malloc.h> + #include <math.h> + #include "nrutil.h" + #include "yagi.h" diff --git a/comms/yagiuda/files/patch-src_output.c b/comms/yagiuda/files/patch-src_output.c new file mode 100644 index 000000000000..ac6f02774909 --- /dev/null +++ b/comms/yagiuda/files/patch-src_output.c @@ -0,0 +1,10 @@ +--- src/output.c.orig Tue Jul 19 12:24:27 2005 ++++ src/output.c Tue Jul 19 12:24:35 2005 +@@ -11,7 +11,6 @@ + #ifdef HAVE_STDLIB_H + + #endif +-#include <malloc.h> + #include <math.h> + #include <string.h> + #include <sys/types.h> diff --git a/comms/yagiuda/files/patch-src_random.c b/comms/yagiuda/files/patch-src_random.c new file mode 100644 index 000000000000..0db1d90323ab --- /dev/null +++ b/comms/yagiuda/files/patch-src_random.c @@ -0,0 +1,10 @@ +--- src/random.c.orig Tue Jul 19 12:36:04 2005 ++++ src/random.c Tue Jul 19 12:36:13 2005 +@@ -42,7 +42,6 @@ + #endif + + +-#include <values.h> + #include "yagi.h" + + double randreal(void) diff --git a/comms/yagiuda/files/patch-src_string.c b/comms/yagiuda/files/patch-src_string.c new file mode 100644 index 000000000000..25546ef09703 --- /dev/null +++ b/comms/yagiuda/files/patch-src_string.c @@ -0,0 +1,10 @@ +--- src/string.c.orig Tue Jul 19 12:23:46 2005 ++++ src/string.c Tue Jul 19 12:23:56 2005 +@@ -2,7 +2,6 @@ + #include <stdlib.h> + #endif + #include <stdio.h> +-#include <malloc.h> + #include "yagi.h" + + diff --git a/comms/yagiuda/files/patch-src_yagi.c b/comms/yagiuda/files/patch-src_yagi.c new file mode 100644 index 000000000000..4da8027e797b --- /dev/null +++ b/comms/yagiuda/files/patch-src_yagi.c @@ -0,0 +1,11 @@ +--- src/yagi.c.orig Tue Jul 19 12:23:10 2005 ++++ src/yagi.c Tue Jul 19 12:23:33 2005 +@@ -19,7 +19,7 @@ + + + #include <stdio.h> +-#include <malloc.h> ++#include <stdlib.h> + #include <math.h> + #include <errno.h> + #include "yagi.h" |