summaryrefslogtreecommitdiff
path: root/packaging/patches/physfs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-05 16:20:19 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-05 16:20:19 +0300
commitcfc63060bb553e8be91949e16d04b5801a7527eb (patch)
treed1d51fa739d6239a29fc18b44b383c4c52a57890 /packaging/patches/physfs
parent35c15997a887a4a8d89044c23eaabe803be67f30 (diff)
downloadplus-cfc63060bb553e8be91949e16d04b5801a7527eb.tar.gz
plus-cfc63060bb553e8be91949e16d04b5801a7527eb.tar.bz2
plus-cfc63060bb553e8be91949e16d04b5801a7527eb.tar.xz
plus-cfc63060bb553e8be91949e16d04b5801a7527eb.zip
Add physfs patch and add info about physfs bug into readme.
Diffstat (limited to 'packaging/patches/physfs')
-rw-r--r--packaging/patches/physfs/zip_seek.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/packaging/patches/physfs/zip_seek.diff b/packaging/patches/physfs/zip_seek.diff
new file mode 100644
index 000000000..0d9b17f5e
--- /dev/null
+++ b/packaging/patches/physfs/zip_seek.diff
@@ -0,0 +1,13 @@
+diff -r 34ebe997c5c0 archivers/zip.c
+--- a/archivers/zip.c Fri Jan 01 12:53:41 2016 -0500
++++ b/archivers/zip.c Wed Jan 25 20:56:26 2017 +0300
+@@ -327,7 +327,8 @@
+ return(0);
+
+ inflateEnd(&finfo->stream);
+- memcpy(&finfo->stream, &str, sizeof (z_stream));
++ inflateCopy(&finfo->stream, &str);
++ inflateEnd(&str);
+ finfo->uncompressed_position = finfo->compressed_position = 0;
+ } /* if */
+