opnsense-ports/textproc/stardict3/files/patch-lib__src__libcommon.h
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

14 lines
416 B
C++

--- ./lib/src/libcommon.h.orig 2012-01-13 06:21:34.000000000 +0000
+++ ./lib/src/libcommon.h 2013-10-02 15:13:21.563936478 +0000
@@ -188,7 +188,11 @@
}
namespace zip {
+#if ZLIB_VERNUM > 0x1250
+typedef ResourceWrapper<gzFile_s, gzFile, int, gzclose> gzFile;
+#else
typedef ResourceWrapper<void, void*, int, gzclose> gzFile;
+#endif
}
/* Create a new temporary file. Return file name in file name encoding.