diff options
Diffstat (limited to 'sci-biology/seaview/files/seaview-20071113-glibc-2.10.patch')
-rw-r--r-- | sci-biology/seaview/files/seaview-20071113-glibc-2.10.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sci-biology/seaview/files/seaview-20071113-glibc-2.10.patch b/sci-biology/seaview/files/seaview-20071113-glibc-2.10.patch new file mode 100644 index 000000000000..9f64ea23a76b --- /dev/null +++ b/sci-biology/seaview/files/seaview-20071113-glibc-2.10.patch @@ -0,0 +1,12 @@ +diff -ur seaview.orig/seaview.cxx seaview/seaview.cxx +--- seaview.orig/seaview.cxx 2007-10-23 18:11:34.000000000 +0300 ++++ seaview/seaview.cxx 2009-09-04 12:22:13.000000000 +0300 +@@ -3924,7 +3924,7 @@ + if( clipboard_contains_alignment(clipboard) ) { + char **seqs, **seqnames, **comments, *p, *message; + int i, count, num, changedwname = FALSE; +- p = strchr(clipboard, ':') + 1; ++ p = const_cast<char*> (strchr(clipboard, ':') + 1); + count = read_mase_seqs_header(p, &seqs, &seqnames, + &comments, NULL, &message); + if(count == 0) return; |