diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-05 16:20:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-05 16:20:19 +0300 |
commit | cfc63060bb553e8be91949e16d04b5801a7527eb (patch) | |
tree | d1d51fa739d6239a29fc18b44b383c4c52a57890 | |
parent | 35c15997a887a4a8d89044c23eaabe803be67f30 (diff) | |
download | manaplus-cfc63060bb553e8be91949e16d04b5801a7527eb.tar.gz manaplus-cfc63060bb553e8be91949e16d04b5801a7527eb.tar.bz2 manaplus-cfc63060bb553e8be91949e16d04b5801a7527eb.tar.xz manaplus-cfc63060bb553e8be91949e16d04b5801a7527eb.zip |
Add physfs patch and add info about physfs bug into readme.
-rw-r--r-- | README | 3 | ||||
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | README.txt | 3 | ||||
-rw-r--r-- | packaging/patches/physfs/zip_seek.diff | 13 |
4 files changed, 23 insertions, 0 deletions
@@ -25,6 +25,9 @@ THE MANA PLUS CLIENT - data/icons - data/fonts/src + Run time issues: + due PhysFS bug with recent zlib versions, need apply patch to PhysFS from packaging/patches/physfs/zip_seek.diff + 0. Index -------- @@ -27,6 +27,10 @@ Version: 1.7.2.4 Date: 2017-02-04 - data/icons - data/fonts/src +### Run time issues: + - due PhysFS bug with recent zlib versions, need apply patch to PhysFS from [packaging/patches/physfs/zip_seek.diff] + + ## 0. Index 1. Account diff --git a/README.txt b/README.txt index 17de82b0b..366d4d02d 100644 --- a/README.txt +++ b/README.txt @@ -25,6 +25,9 @@ THE MANA PLUS CLIENT - data/icons
- data/fonts/src
+ Run time issues:
+ due PhysFS bug with recent zlib versions, need apply patch to PhysFS from packaging/patches/physfs/zip_seek.diff
+
0. Index
--------
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 */ + |