1 |
ssuominen 09/09/04 09:22:53 |
2 |
|
3 |
Added: seaview-20071113-glibc-2.10.patch |
4 |
Log: |
5 |
Fix building with GLIBC 2.10+ wrt #282431. |
6 |
(Portage version: 2.2_rc40/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 sci-biology/seaview/files/seaview-20071113-glibc-2.10.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/seaview/files/seaview-20071113-glibc-2.10.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/seaview/files/seaview-20071113-glibc-2.10.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: seaview-20071113-glibc-2.10.patch |
15 |
=================================================================== |
16 |
diff -ur seaview.orig/seaview.cxx seaview/seaview.cxx |
17 |
--- seaview.orig/seaview.cxx 2007-10-23 18:11:34.000000000 +0300 |
18 |
+++ seaview/seaview.cxx 2009-09-04 12:22:13.000000000 +0300 |
19 |
@@ -3924,7 +3924,7 @@ |
20 |
if( clipboard_contains_alignment(clipboard) ) { |
21 |
char **seqs, **seqnames, **comments, *p, *message; |
22 |
int i, count, num, changedwname = FALSE; |
23 |
- p = strchr(clipboard, ':') + 1; |
24 |
+ p = const_cast<char*> (strchr(clipboard, ':') + 1); |
25 |
count = read_mase_seqs_header(p, &seqs, &seqnames, |
26 |
&comments, NULL, &message); |
27 |
if(count == 0) return; |