From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- .../httrack/files/httrack-3.48.13-minizip.patch | 74 ++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 www-client/httrack/files/httrack-3.48.13-minizip.patch (limited to 'www-client/httrack/files/httrack-3.48.13-minizip.patch') diff --git a/www-client/httrack/files/httrack-3.48.13-minizip.patch b/www-client/httrack/files/httrack-3.48.13-minizip.patch new file mode 100644 index 000000000000..af1610c60dae --- /dev/null +++ b/www-client/httrack/files/httrack-3.48.13-minizip.patch @@ -0,0 +1,74 @@ +From 51bbb53d5805bfa5a4530b8706e2b7f77555016d Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping +Date: Mon, 9 Jun 2014 15:34:43 +0200 +Subject: [PATCH] Fix minizip fork compilation + +--- + src/minizip/ioapi.h | 4 ++++ + src/minizip/iowin32.h | 3 +++ + src/minizip/unzip.h | 4 ++++ + src/minizip/zip.h | 4 ++++ + 4 files changed, 15 insertions(+) + +diff --git a/src/minizip/ioapi.h b/src/minizip/ioapi.h +index e4462b8..75cc097 100644 +--- a/src/minizip/ioapi.h ++++ b/src/minizip/ioapi.h +@@ -21,6 +21,10 @@ + #ifndef _ZLIBIOAPI64_H + #define _ZLIBIOAPI64_H + ++ ++#define OF(x) x ++ ++ + #if (!defined(_WIN32)) && (!defined(WIN32)) && (!defined(__APPLE__)) + + // Linux needs this to support file operation on files larger then 4+GB +diff --git a/src/minizip/iowin32.h b/src/minizip/iowin32.h +index 0ca0969..71244d6 100644 +--- a/src/minizip/iowin32.h ++++ b/src/minizip/iowin32.h +@@ -14,6 +14,9 @@ + #include + + ++#define OF(x) x ++ ++ + #ifdef __cplusplus + extern "C" { + #endif +diff --git a/src/minizip/unzip.h b/src/minizip/unzip.h +index 2104e39..0b54c40 100644 +--- a/src/minizip/unzip.h ++++ b/src/minizip/unzip.h +@@ -43,6 +43,10 @@ + #ifndef _unz64_H + #define _unz64_H + ++ ++#define OF(x) x ++ ++ + #ifdef __cplusplus + extern "C" { + #endif +diff --git a/src/minizip/zip.h b/src/minizip/zip.h +index 16dea6b..906ba53 100644 +--- a/src/minizip/zip.h ++++ b/src/minizip/zip.h +@@ -40,6 +40,10 @@ + #ifndef _zip12_H + #define _zip12_H + ++ ++#define OF(x) x ++ ++ + #ifdef __cplusplus + extern "C" { + #endif +-- +1.9.3 + -- cgit v1.2.3