freebsd-ports/textproc/stardict3/files/patch-lib__src__libcommon.h
Max Brazhnikov 5302808264 - Add patches to fix build with clang and recent gcc [1]
- Trim Makefile header

PR:		ports/172213 [1]
Submitted by:	mbsd <mbsd at isgroup.com.ua>
2012-12-11 12:33:58 +00:00

11 lines
399 B
C++

--- ./lib/src/libcommon.h.orig 2011-07-08 12:32:09.000000000 +0000
+++ ./lib/src/libcommon.h 2012-12-11 07:48:00.604014902 +0000
@@ -188,7 +188,7 @@
}
namespace zip {
-typedef ResourceWrapper<void, void*, int, gzclose> gzFile;
+typedef ResourceWrapper<struct gzFile_s, struct gzFile_s *, int, gzclose> gzFileWrapper;
}
/* Create a new temporary file. Return file name in file name encoding.