From 83469244d644593a2ef27f179102b0b4e1975caf Mon Sep 17 00:00:00 2001
From: fbrosson <fbrosson@localhost>
Date: Sat, 28 May 2016 09:50:37 +0000
Subject: gcc2 patch


diff --git a/src/zipcmp.c b/src/zipcmp.c
index cf9b572..032c838 100644
--- a/src/zipcmp.c
+++ b/src/zipcmp.c
@@ -313,6 +313,7 @@ list_directory(const char *name, struct archive *a)
     FTS *fts;
     FTSENT *ent;
     zip_uint64_t nalloc;
+    size_t prefix_length;
 
     char * const names[2] = { (char *)name, NULL };
 
@@ -321,7 +322,7 @@ list_directory(const char *name, struct archive *a)
 	fprintf(stderr, "%s: can't open directory '%s': %s\n", prg, name, strerror(errno));
 	return -1;
     }
-    size_t prefix_length = strlen(name)+1;
+    prefix_length = strlen(name)+1;
 
     nalloc = 0;
 
-- 
2.7.0

