Tweak mail/gnubiff version 2.2.13_3
[dports.git] / biology / plink / dragonfly / patch-elf.cpp
1 $NetBSD: patch-elf.cpp,v 1.1 2012/11/16 00:32:07 joerg Exp $
2
3 --- elf.cpp.orig        2012-11-15 12:41:01.000000000 +0000
4 +++ elf.cpp
5 @@ -1175,10 +1175,10 @@ void Plink::elfBaseline()
6           << setw(8) << gcnt << " "
7           << setw(8) << (double)cnt / (double)gcnt << "\n";
8  
9 -      map<int,int>::iterator i = chr_cnt.begin();
10 -      while ( i != chr_cnt.end() )
11 +      map<int,int>::iterator i2 = chr_cnt.begin();
12 +      while ( i2 != chr_cnt.end() )
13         {
14 -         int c = i->first;
15 +         int c = i2->first;
16           int x = chr_cnt.find( c )->second;
17           int y = chr_gcnt.find( c )->second;
18           
19 @@ -1189,7 +1189,7 @@ void Plink::elfBaseline()
20               << setw(8) << y << " "
21               << setw(8) << (double)x / (double)y << "\n";
22           
23 -         ++i;
24 +         ++i2;
25         }
26        
27      }