diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2013-06-08 15:42:35 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2013-06-08 15:42:35 +0000 |
commit | 8614718dae668440b8f8861f20ed4241faee9f1d (patch) | |
tree | e6136aa2bf3d654c68f8e86dcc6fbe07043ab90e | |
parent | e241e097bb3817f3f4eca5e3cbf69c1ecdeb2fb8 (diff) |
Merged <http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/www-client/httrack/files/httrack-3.44.1%2Bzlib-1.2.5.1.patch?view=log>
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)
-rw-r--r-- | src/minizip/ioapi.h | 5 |
1 files changed, 5 insertions, 0 deletions
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)); |