From 8614718dae668440b8f8861f20ed4241faee9f1d Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Sat, 8 Jun 2013 15:42:35 +0000 Subject: Merged Add patch to fix building with recent zlib, thanks to Lars Wendler in bug #383805. Bump to EAPI=4. (Portage version: 2.2.0_alpha79/cvs/Linux x86_64) --- src/minizip/ioapi.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/minizip/ioapi.h b/src/minizip/ioapi.h index ee92287..4dfb4a0 100644 --- a/src/minizip/ioapi.h +++ b/src/minizip/ioapi.h @@ -35,6 +35,11 @@ extern "C" { #endif +/* fixed missing define on some zlib (Lars Wendler) */ +#ifndef OF +#define OF(args) args +#endif + typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, const char* filename, int mode)); typedef uLong (ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf stream, void* buf, uLong size)); typedef uLong (ZCALLBACK *write_file_func) OF((voidpf opaque, voidpf stream, const void* buf, uLong size)); -- cgit v1.2.3