LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File glimmer.patch of Package Glimmer (Project home:halocaridina)

--- glimmer3.02/src/Common/delcher.hh	2006-06-12 21:40:14.000000000 +0200
+++ glimmer3.02-fc13/src/Common/delcher.hh	2010-06-23 09:45:17.351561806 +0200
@@ -30,7 +30,9 @@
 #include  <iomanip>
 #include  <fstream>
 #include  <vector>
-#include  <string>
+#include <cstring>
+#include <climits>
+#include <memory>
 
 #include  "exceptions.hh"
 
diff -Naur glimmer3.02/src/Common/gene.cc glimmer3.02-fc13/src/Common/gene.cc
--- glimmer3.02/src/Common/gene.cc	2006-06-12 21:40:14.000000000 +0200
+++ glimmer3.02-fc13/src/Common/gene.cc	2010-06-23 09:53:43.823498072 +0200
@@ -260,7 +260,7 @@
 //  Print the contents of this PWM to  fp .
 
   {
-   char  * tag = "acgt";
+   char  * tag = (char*)"acgt";
    int  width;
    int  i, j;
 
@@ -445,7 +445,7 @@
   {
    char  * p;
 
-   p = strchr (CONVERSION_STRING, tolower (ch));
+   p = (char*)strchr (CONVERSION_STRING, tolower (ch));
    if  (p == NULL)
        return  4;
 
diff -Naur glimmer3.02/src/ICM/icm.cc glimmer3.02-fc13/src/ICM/icm.cc
--- glimmer3.02/src/ICM/icm.cc	2006-06-12 21:40:14.000000000 +0200
+++ glimmer3.02-fc13/src/ICM/icm.cc	2010-06-23 09:51:21.305436344 +0200
@@ -1983,7 +1983,7 @@
   {
    char  * p;
 
-   p = strchr (ALPHA_STRING, tolower (Filter (ch)));
+   p = (char*) strchr (ALPHA_STRING, tolower (Filter (ch)));
    if  (p == NULL)
        {
         fprintf (stderr, "ERROR:  Bad character %c in subscript conversion",