Gentoo Archives: gentoo-commits

From: "Sebastian Pipping (sping)" <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-client/httrack/files: httrack-3.48.13-minizip.patch
Date: Mon, 09 Jun 2014 13:43:24
Message-Id: 20140609134321.0CBF72004F@flycatcher.gentoo.org
1 sping 14/06/09 13:43:20
2
3 Added: httrack-3.48.13-minizip.patch
4 Log:
5 www-client/httrack: 3.48.13
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x401A1600)
8
9 Revision Changes Path
10 1.1 www-client/httrack/files/httrack-3.48.13-minizip.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/httrack/files/httrack-3.48.13-minizip.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/httrack/files/httrack-3.48.13-minizip.patch?rev=1.1&content-type=text/plain
14
15 Index: httrack-3.48.13-minizip.patch
16 ===================================================================
17 From 51bbb53d5805bfa5a4530b8706e2b7f77555016d Mon Sep 17 00:00:00 2001
18 From: Sebastian Pipping <sebastian@×××××××.org>
19 Date: Mon, 9 Jun 2014 15:34:43 +0200
20 Subject: [PATCH] Fix minizip fork compilation
21
22 ---
23 src/minizip/ioapi.h | 4 ++++
24 src/minizip/iowin32.h | 3 +++
25 src/minizip/unzip.h | 4 ++++
26 src/minizip/zip.h | 4 ++++
27 4 files changed, 15 insertions(+)
28
29 diff --git a/src/minizip/ioapi.h b/src/minizip/ioapi.h
30 index e4462b8..75cc097 100644
31 --- a/src/minizip/ioapi.h
32 +++ b/src/minizip/ioapi.h
33 @@ -21,6 +21,10 @@
34 #ifndef _ZLIBIOAPI64_H
35 #define _ZLIBIOAPI64_H
36
37 +
38 +#define OF(x) x
39 +
40 +
41 #if (!defined(_WIN32)) && (!defined(WIN32)) && (!defined(__APPLE__))
42
43 // Linux needs this to support file operation on files larger then 4+GB
44 diff --git a/src/minizip/iowin32.h b/src/minizip/iowin32.h
45 index 0ca0969..71244d6 100644
46 --- a/src/minizip/iowin32.h
47 +++ b/src/minizip/iowin32.h
48 @@ -14,6 +14,9 @@
49 #include <windows.h>
50
51
52 +#define OF(x) x
53 +
54 +
55 #ifdef __cplusplus
56 extern "C" {
57 #endif
58 diff --git a/src/minizip/unzip.h b/src/minizip/unzip.h
59 index 2104e39..0b54c40 100644
60 --- a/src/minizip/unzip.h
61 +++ b/src/minizip/unzip.h
62 @@ -43,6 +43,10 @@
63 #ifndef _unz64_H
64 #define _unz64_H
65
66 +
67 +#define OF(x) x
68 +
69 +
70 #ifdef __cplusplus
71 extern "C" {
72 #endif
73 diff --git a/src/minizip/zip.h b/src/minizip/zip.h
74 index 16dea6b..906ba53 100644
75 --- a/src/minizip/zip.h
76 +++ b/src/minizip/zip.h
77 @@ -40,6 +40,10 @@
78 #ifndef _zip12_H
79 #define _zip12_H
80
81 +
82 +#define OF(x) x
83 +
84 +
85 #ifdef __cplusplus
86 extern "C" {
87 #endif
88 --
89 1.9.3