public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-biology/seaview/files: seaview-4.2-gcc44.patch
@ 2009-10-18 22:49 Andrey Kislyuk (weaver)
  0 siblings, 0 replies; 2+ messages in thread
From: Andrey Kislyuk (weaver) @ 2009-10-18 22:49 UTC (permalink / raw
  To: gentoo-commits

weaver      09/10/18 22:49:15

  Added:                seaview-4.2-gcc44.patch
  Log:
  Version bump
  (Portage version: 2.2_rc30/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  sci-biology/seaview/files/seaview-4.2-gcc44.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/seaview/files/seaview-4.2-gcc44.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/seaview/files/seaview-4.2-gcc44.patch?rev=1.1&content-type=text/plain

Index: seaview-4.2-gcc44.patch
===================================================================
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 {






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sci-biology/seaview/files: seaview-4.2-gcc44.patch
@ 2010-03-20 21:49 Andrey Kislyuk (weaver)
  0 siblings, 0 replies; 2+ messages in thread
From: Andrey Kislyuk (weaver) @ 2010-03-20 21:49 UTC (permalink / raw
  To: gentoo-commits

weaver      10/03/20 21:49:13

  Removed:              seaview-4.2-gcc44.patch
  Log:
  Version bump and address bug 290900
  (Portage version: 2.2_rc67/cvs/Linux x86_64)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-20 21:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-20 21:49 [gentoo-commits] gentoo-x86 commit in sci-biology/seaview/files: seaview-4.2-gcc44.patch Andrey Kislyuk (weaver)
  -- strict thread matches above, loose matches on Subject: below --
2009-10-18 22:49 Andrey Kislyuk (weaver)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox