/[gentoo-x86]/sci-biology/allpaths/files/allpaths-2.0-gcc-x86-no-autocast.patch
Gentoo

Contents of /sci-biology/allpaths/files/allpaths-2.0-gcc-x86-no-autocast.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Nov 20 07:29:19 2013 UTC (11 months, 1 week ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
superseeded by sci-biology/allpathslg
Upstream wants anybody to move over

1 diff -durr work.orig/SortKmersImpl.h work/SortKmersImpl.h
2 --- work.orig/SortKmersImpl.h 2009-08-20 11:25:39.336695499 +0000
3 +++ work/SortKmersImpl.h 2009-08-20 11:25:51.431932630 +0000
4 @@ -98,7 +98,7 @@
5 { if ( reads[l].size( ) < KSPAN ) continue;
6 unsigned int N = reads[l].size( ) - KSPAN + 1;
7 if ( S + 2*N >= R.size( ) ) {
8 - unsigned nn = Max( (long unsigned) ( 1.2 * R.size( ) ), (R.size( ) + 2*N) );
9 + unsigned nn = Max( (long unsigned) ( 1.2 * R.size( ) ), (long unsigned) (R.size( ) + 2*N) );
10 if ( nn < R.size( ) ) FatalErr( "SortKmers<1>: Unsigned-int overflow (R=" << R.size( ) << ")" );
11 R.resize(nn);
12 }
13 @@ -180,7 +180,7 @@
14 }
15 if ( q == N ) break;
16 if ( S + 2*N >= R.size( ) ) {
17 - unsigned nn = Max( (long unsigned) ( 1.2 * R.size( ) ), (R.size( ) + 2*N) );
18 + unsigned nn = Max( (long unsigned) ( 1.2 * R.size( ) ), (long unsigned) (R.size( ) + 2*N) );
19 if ( nn < R.size( ) ) FatalErr( "SortKmers<10>: Unsigned-int overflow (R=" << R.size( ) << ")" );
20 R.resize(nn);
21 }
22 @@ -207,7 +207,7 @@
23 top += Min( N - top, (unsigned int) 10000 );
24
25 if ( S + 20000 >= R.size( ) || S + 2*N >= R.size( ) ) {
26 - unsigned nn = Max( (long unsigned) ( 1.2 * R.size( ) ), (R.size( ) + 2*N) );
27 + unsigned nn = Max( (long unsigned) ( 1.2 * R.size( ) ), (long unsigned) (R.size( ) + 2*N) );
28 if ( nn < R.size( ) ) FatalErr( "SortKmers<10>: Unsigned-int overflow (R=" << R.size( ) << ")" );
29 R.resize(nn);
30 }

  ViewVC Help
Powered by ViewVC 1.1.20