diff options
author | Andrey Kislyuk <weaver@gentoo.org> | 2009-10-18 22:49:15 +0000 |
---|---|---|
committer | Andrey Kislyuk <weaver@gentoo.org> | 2009-10-18 22:49:15 +0000 |
commit | b522e74f273f91f08f974461c01da7ed4c635768 (patch) | |
tree | 5e2d49f9d7387d74641c06258428010c0834ec19 /sci-biology/seaview/files | |
parent | stable x86, bug 289174 (diff) | |
download | historical-b522e74f273f91f08f974461c01da7ed4c635768.tar.gz historical-b522e74f273f91f08f974461c01da7ed4c635768.tar.bz2 historical-b522e74f273f91f08f974461c01da7ed4c635768.zip |
Version bump
Package-Manager: portage-2.2_rc30/cvs/Linux x86_64
Diffstat (limited to 'sci-biology/seaview/files')
-rw-r--r-- | sci-biology/seaview/files/seaview-4.2-gcc44.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sci-biology/seaview/files/seaview-4.2-gcc44.patch b/sci-biology/seaview/files/seaview-4.2-gcc44.patch new file mode 100644 index 000000000000..e472ea96048c --- /dev/null +++ b/sci-biology/seaview/files/seaview-4.2-gcc44.patch @@ -0,0 +1,36 @@ +diff -durr seaview.orig/seaview.cxx seaview/seaview.cxx +--- seaview.orig/seaview.cxx 2009-10-12 14:33:40.000000000 +0000 ++++ seaview/seaview.cxx 2009-10-18 17:02:56.612201461 +0000 +@@ -3903,7 +3903,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; +diff -durr seaview.orig/use_mase_files.cxx seaview/use_mase_files.cxx +--- seaview.orig/use_mase_files.cxx 2009-10-10 15:36:30.000000000 +0000 ++++ seaview/use_mase_files.cxx 2009-10-18 17:02:56.612201461 +0000 +@@ -1523,7 +1523,7 @@ + void inform_prog_dir(const char *arg0) + { + char *p; +-if((p = strrchr(arg0, '/')) != NULL) { ++if((p = const_cast<char*>(strrchr(arg0, '/'))) != NULL) { + memcpy(seaview_prog_dir, arg0, p - arg0 + 1); + seaview_prog_dir[p - arg0 + 1] = 0; + } +@@ -1764,9 +1764,9 @@ + char *p; + + #if defined(WIN32) +- p = strrchr(pathname,'\\'); ++ p = const_cast<char*>(strrchr(pathname,'\\')); + #else +- p = strrchr(pathname,'/'); ++ p = const_cast<char*>(strrchr(pathname,'/')); + #endif + if(p == NULL) dirname[0] = 0; + else { |