$OpenBSD: patch-HKSyntaxDefinition_m,v 1.1 2011/05/20 07:29:49 sebastia Exp $

fix build with gcc-2.95

--- HKSyntaxDefinition.m.orig	Wed May 18 08:21:41 2011
+++ HKSyntaxDefinition.m	Wed May 18 08:22:52 2011
@@ -219,13 +219,13 @@ SearchBundlesForSyntaxFile (NSArray *bundles, NSString
 + (NSString *) findSyntaxFileForType: (NSString *) type
 {
   NSEnumerator * e;
-  NSString * directory;
+  NSString *directory;
+  NSString *file;
   NSFileManager * fm = [NSFileManager defaultManager];
 
   // make the search case insensitive
   type = [type lowercaseString];
 
-  NSString *file;
 
   // first we look into all the app's bundles, as they might contain
   // the latest version of the syntax file
@@ -249,9 +249,10 @@ SearchBundlesForSyntaxFile (NSArray *bundles, NSString
 
           while ((origPath = [de nextObject]) != nil)
             {
+	       NSString *path;
               origPath = [subpath stringByAppendingPathComponent: origPath];
 
-              NSString * path = [origPath lowercaseString];
+              path = [origPath lowercaseString];
 
               if ([[path pathExtension] isEqualToString: @"syntax"] &&
                 [[[path lastPathComponent] stringByDeletingPathExtension]
