diff options
author | Robert Schuster <thebohemian@gmx.net> | 2008-02-19 23:53:49 +0000 |
---|---|---|
committer | Robert Schuster <thebohemian@gmx.net> | 2008-02-19 23:53:49 +0000 |
commit | 20d42693b736d4986cbf898c9ef1b392a65f3f85 (patch) | |
tree | 1f33afe48a7a157a812da3442054aefc29e93956 /packages/zziplib/files/zip_c.patch | |
parent | 5f52c593a937c3463f58ec1b5521431521da4ec6 (diff) |
zziplib: Unification and new versions.
- added zziplib.inc file
- added native and non-native recipe for latest stable (0.12) series
- added native and non-native recipe for latest development (0.13) series
Diffstat (limited to 'packages/zziplib/files/zip_c.patch')
-rw-r--r-- | packages/zziplib/files/zip_c.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/zziplib/files/zip_c.patch b/packages/zziplib/files/zip_c.patch new file mode 100644 index 0000000000..fb23ce650e --- /dev/null +++ b/packages/zziplib/files/zip_c.patch @@ -0,0 +1,15 @@ +From zziplib Debian source package +--- a/zzip/zip.c 2007-03-19 02:27:49.000000000 +1100 ++++ b/zzip/zip.c 2007-11-07 17:40:52.985849197 +1100 +@@ -402,7 +402,10 @@ + uint16_t u_extras, u_comment, u_namlen; + + if (fd_map) +- { d = (void*)(fd_map+zz_fd_gap+zz_offset); } /* fd_map+fd_gap==u_rootseek */ ++ { ++ d = &dirent; ++ memcpy(d, fd_map+zz_fd_gap+zz_offset, sizeof(*d)); /* fd_map+fd_gap==u_rootseek */ ++ } + else + { + if (io->fd.seeks(fd, zz_rootseek+zz_offset, SEEK_SET) < 0) |