File stardict-3.0.3-zlib-update.patch of Package stardict
Index: stardict-3.0.4/lib/src/libcommon.h
===================================================================
--- stardict-3.0.4.orig/lib/src/libcommon.h
+++ stardict-3.0.4/lib/src/libcommon.h
@@ -188,7 +188,7 @@ namespace clib {
}
namespace zip {
-typedef ResourceWrapper<void, void*, int, gzclose> gzFile;
+typedef ResourceWrapper< struct gzFile_s , struct gzFile_s *, int, gzclose> gzFile;
}
/* Create a new temporary file. Return file name in file name encoding.