diff options
author | Dynamo | 2015-08-31 16:05:54 +0700 |
---|---|---|
committer | Dynamo | 2015-08-31 16:06:18 +0700 |
commit | 725eed2885cdaa13c0dad6b7641764009f8f242c (patch) | |
tree | 2760c51f57d44e151fc3974c85a5d921b5b58f64 /fix-zlib.patch | |
download | aur-725eed2885cdaa13c0dad6b7641764009f8f242c.tar.gz |
Initial import
Diffstat (limited to 'fix-zlib.patch')
-rw-r--r-- | fix-zlib.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/fix-zlib.patch b/fix-zlib.patch new file mode 100644 index 000000000000..2b3d7984ff67 --- /dev/null +++ b/fix-zlib.patch @@ -0,0 +1,22 @@ +--- a/src/resourcewrap.hpp ++++ b/src/resourcewrap.hpp +@@ -67,7 +67,7 @@ + } + + namespace zip { +-typedef ResourceWrapper<void, void, int, gzclose> gzFile; ++ typedef ResourceWrapper<struct gzFile_s, struct gzFile_s , int, gzclose> gzFileWrapper; + } + + #endif//!_RESOURCE_HPP_ +--- a/src/libcommon.cpp ++++ b/src/libcommon.cpp +@@ -190,7 +190,7 @@ + + int unpack_zlib(const char* arch_file_name, const char* out_file_name, print_info_t print_info)
+ {
+- zip::gzFile in(gzopen(arch_file_name, "rb"));
++ zip::gzFileWrapper in(gzopen(arch_file_name, "rb"));
+ if(!in) {
+ print_info("Unable to open archive file %s\n", arch_file_name);
+ return EXIT_FAILURE;
|