$OpenBSD: patch-Framework_Pantomime_CWIMAPCacheManager_m,v 1.1 2011/06/24 10:56:41 sebastia Exp $

fix to build with gcc-2.95

--- Framework/Pantomime/CWIMAPCacheManager.m.orig	Tue Jun 21 18:54:50 2011
+++ Framework/Pantomime/CWIMAPCacheManager.m	Tue Jun 21 18:55:25 2011
@@ -362,6 +362,7 @@ static unsigned short version = 1;
 
   for (i = 0; i < _count; i++)
     {
+      unsigned int uid;
       //NSLog(@"===========");
       len = read_unsigned_int(_fd);
       //NSLog(@"i = %d  len = %d", i, len);
@@ -371,7 +372,7 @@ static unsigned short version = 1;
       // We write the rest of the record into the memory
       if (read(_fd, (buf+total_length+4), len-4) < 0) { NSLog(@"read failed"); abort(); }
       
-      unsigned int uid = read_unsigned_int_memory(buf+total_length+12);
+      uid = read_unsigned_int_memory(buf+total_length+12);
 
       if ([self messageWithUID: uid])
 	{
