7085212 zip patches break zipnote -w result in "zipnote error: Bad file number" and "Temporary file failure"
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/components/zip/patches/01_zipnote.patch Tue Jan 10 15:50:30 2012 -0800
@@ -0,0 +1,11 @@
+--- zip30/zipnote.c.old Tue Jan 10 15:06:10 2012
++++ zip30/zipnote.c Tue Jan 10 15:08:59 2012
+@@ -661,7 +661,7 @@
+ if ((r = zipcopy(z)) != ZE_OK)
+ ziperr(r, "was copying an entry");
+ }
+- fclose(x);
++ fclose(in_file);
+
+ /* Write central directory and end of central directory with new comments */
+ if ((c = zftello(y)) == (zoff_t)-1) /* get start of central */