updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / hlextract / libhl2-2.2.0-abuild.patch
blob5c48fde3aaafa5e2a49dfa3a448448b1dfb0b456
1 diff -rupN libhl2-2.4.0/HLLib/BSPFile.cpp libhl2-2.4.0_mod/HLLib/BSPFile.cpp
2 --- libhl2-2.4.0/HLLib/BSPFile.cpp 2010-11-07 19:42:53.000000000 +0100
3 +++ libhl2-2.4.0_mod/HLLib/BSPFile.cpp 2010-11-07 19:52:41.587193054 +0100
4 @@ -12,6 +12,7 @@
5 #include "HLLib.h"
6 #include "BSPFile.h"
7 #include "Streams.h"
8 +#include <cstring>
10 using namespace HLLib;
12 diff -rupN libhl2-2.4.0/HLLib/DirectoryFile.cpp libhl2-2.4.0_mod/HLLib/DirectoryFile.cpp
13 --- libhl2-2.4.0/HLLib/DirectoryFile.cpp 2010-11-07 19:42:53.000000000 +0100
14 +++ libhl2-2.4.0_mod/HLLib/DirectoryFile.cpp 2010-11-07 19:52:41.587193054 +0100
15 @@ -15,6 +15,7 @@
16 #include "Streams.h"
17 #include "Package.h"
18 #include "Utility.h"
19 +#include <cstring>
21 using namespace HLLib;
23 diff -rupN libhl2-2.4.0/HLLib/DirectoryFolder.cpp libhl2-2.4.0_mod/HLLib/DirectoryFolder.cpp
24 --- libhl2-2.4.0/HLLib/DirectoryFolder.cpp 2010-11-07 19:42:53.000000000 +0100
25 +++ libhl2-2.4.0_mod/HLLib/DirectoryFolder.cpp 2010-11-07 19:52:41.587193054 +0100
26 @@ -15,6 +15,7 @@
27 #include "Utility.h"
29 #include <algorithm>
30 +#include <cstring>
32 using namespace HLLib;
34 diff -rupN libhl2-2.4.0/HLLib/DirectoryItem.cpp libhl2-2.4.0_mod/HLLib/DirectoryItem.cpp
35 --- libhl2-2.4.0/HLLib/DirectoryItem.cpp 2010-11-07 19:42:53.000000000 +0100
36 +++ libhl2-2.4.0_mod/HLLib/DirectoryItem.cpp 2010-11-07 19:52:41.588192383 +0100
37 @@ -12,6 +12,7 @@
38 #include "DirectoryItem.h"
39 #include "DirectoryFile.h"
40 #include "DirectoryFolder.h"
41 +#include <cstring>
43 using namespace HLLib;
45 diff -rupN libhl2-2.4.0/HLLib/Error.cpp libhl2-2.4.0_mod/HLLib/Error.cpp
46 --- libhl2-2.4.0/HLLib/Error.cpp 2010-11-07 19:42:53.000000000 +0100
47 +++ libhl2-2.4.0_mod/HLLib/Error.cpp 2010-11-07 19:52:41.588192383 +0100
48 @@ -10,6 +10,9 @@
51 #include "Error.h"
52 +#include <cstring>
53 +#include <cctype>
56 using namespace HLLib;
58 diff -rupN libhl2-2.4.0/HLLib/FileMapping.cpp libhl2-2.4.0_mod/HLLib/FileMapping.cpp
59 --- libhl2-2.4.0/HLLib/FileMapping.cpp 2010-11-07 19:42:53.000000000 +0100
60 +++ libhl2-2.4.0_mod/HLLib/FileMapping.cpp 2010-11-07 19:52:41.588192383 +0100
61 @@ -11,6 +11,7 @@
63 #include "HLLib.h"
64 #include "FileMapping.h"
65 +#include <cstring>
67 using namespace HLLib;
68 using namespace HLLib::Mapping;
69 diff -rupN libhl2-2.4.0/HLLib/FileStream.cpp libhl2-2.4.0_mod/HLLib/FileStream.cpp
70 --- libhl2-2.4.0/HLLib/FileStream.cpp 2010-11-07 19:42:53.000000000 +0100
71 +++ libhl2-2.4.0_mod/HLLib/FileStream.cpp 2010-11-07 19:52:41.589192482 +0100
72 @@ -11,6 +11,7 @@
74 #include "HLLib.h"
75 #include "FileStream.h"
76 +#include <cstring>
78 using namespace HLLib;
79 using namespace HLLib::Streams;
80 diff -rupN libhl2-2.4.0/HLLib/GCFFile.cpp libhl2-2.4.0_mod/HLLib/GCFFile.cpp
81 --- libhl2-2.4.0/HLLib/GCFFile.cpp 2010-11-07 19:42:53.000000000 +0100
82 +++ libhl2-2.4.0_mod/HLLib/GCFFile.cpp 2010-11-07 19:52:41.589192482 +0100
83 @@ -13,6 +13,7 @@
84 #include "GCFFile.h"
85 #include "Streams.h"
86 #include "Checksum.h"
87 +#include <cstring>
89 using namespace HLLib;
91 diff -rupN libhl2-2.4.0/HLLib/GCFStream.cpp libhl2-2.4.0_mod/HLLib/GCFStream.cpp
92 --- libhl2-2.4.0/HLLib/GCFStream.cpp 2010-11-07 19:42:53.000000000 +0100
93 +++ libhl2-2.4.0_mod/HLLib/GCFStream.cpp 2010-11-07 19:52:41.589192482 +0100
94 @@ -11,6 +11,7 @@
96 #include "HLLib.h"
97 #include "GCFStream.h"
98 +#include <cstring>
100 using namespace HLLib;
101 using namespace HLLib::Streams;
102 diff -rupN libhl2-2.4.0/HLLib/HLLib.cpp libhl2-2.4.0_mod/HLLib/HLLib.cpp
103 --- libhl2-2.4.0/HLLib/HLLib.cpp 2010-11-07 19:42:53.000000000 +0100
104 +++ libhl2-2.4.0_mod/HLLib/HLLib.cpp 2010-11-07 19:52:41.589192482 +0100
105 @@ -10,6 +10,7 @@
108 #include "HLLib.h"
109 +#include <cstring>
111 using namespace HLLib;
113 diff -rupN libhl2-2.4.0/HLLib/MappingStream.cpp libhl2-2.4.0_mod/HLLib/MappingStream.cpp
114 --- libhl2-2.4.0/HLLib/MappingStream.cpp 2010-11-07 19:42:53.000000000 +0100
115 +++ libhl2-2.4.0_mod/HLLib/MappingStream.cpp 2010-11-07 19:52:41.589192482 +0100
116 @@ -11,6 +11,7 @@
118 #include "HLLib.h"
119 #include "MappingStream.h"
120 +#include <cstring>
122 using namespace HLLib;
123 using namespace HLLib::Streams;
124 diff -rupN libhl2-2.4.0/HLLib/MemoryStream.cpp libhl2-2.4.0_mod/HLLib/MemoryStream.cpp
125 --- libhl2-2.4.0/HLLib/MemoryStream.cpp 2010-11-07 19:42:53.000000000 +0100
126 +++ libhl2-2.4.0_mod/HLLib/MemoryStream.cpp 2010-11-07 19:52:41.590191815 +0100
127 @@ -11,6 +11,7 @@
129 #include "HLLib.h"
130 #include "MemoryStream.h"
131 +#include <cstring>
133 using namespace HLLib;
134 using namespace HLLib::Streams;
135 diff -rupN libhl2-2.4.0/HLLib/NCFFile.cpp libhl2-2.4.0_mod/HLLib/NCFFile.cpp
136 --- libhl2-2.4.0/HLLib/NCFFile.cpp 2010-11-07 19:42:53.000000000 +0100
137 +++ libhl2-2.4.0_mod/HLLib/NCFFile.cpp 2010-11-07 19:52:41.590191815 +0100
138 @@ -14,6 +14,7 @@
139 #include "Streams.h"
140 #include "Checksum.h"
141 #include "Utility.h"
142 +#include <cstring>
144 using namespace HLLib;
146 diff -rupN libhl2-2.4.0/HLLib/PAKFile.cpp libhl2-2.4.0_mod/HLLib/PAKFile.cpp
147 --- libhl2-2.4.0/HLLib/PAKFile.cpp 2010-11-07 19:42:53.000000000 +0100
148 +++ libhl2-2.4.0_mod/HLLib/PAKFile.cpp 2010-11-07 19:52:41.590191815 +0100
149 @@ -12,6 +12,7 @@
150 #include "HLLib.h"
151 #include "PAKFile.h"
152 #include "Streams.h"
153 +#include <cstring>
155 using namespace HLLib;
157 diff -rupN libhl2-2.4.0/HLLib/Utility.cpp libhl2-2.4.0_mod/HLLib/Utility.cpp
158 --- libhl2-2.4.0/HLLib/Utility.cpp 2010-11-07 19:42:53.000000000 +0100
159 +++ libhl2-2.4.0_mod/HLLib/Utility.cpp 2010-11-07 19:52:41.590191815 +0100
160 @@ -10,6 +10,7 @@
163 #include "Utility.h"
164 +#include <cstring>
166 hlBool HLLib::GetFileExists(const hlChar *lpPath)
168 diff -rupN libhl2-2.4.0/HLLib/VBSPFile.cpp libhl2-2.4.0_mod/HLLib/VBSPFile.cpp
169 --- libhl2-2.4.0/HLLib/VBSPFile.cpp 2010-11-07 19:42:53.000000000 +0100
170 +++ libhl2-2.4.0_mod/HLLib/VBSPFile.cpp 2010-11-07 19:52:41.590191815 +0100
171 @@ -13,6 +13,7 @@
172 #include "VBSPFile.h"
173 #include "Streams.h"
174 #include "Checksum.h"
175 +#include <cstring>
177 using namespace HLLib;
179 diff -rupN libhl2-2.4.0/HLLib/VPKFile.cpp libhl2-2.4.0_mod/HLLib/VPKFile.cpp
180 --- libhl2-2.4.0/HLLib/VPKFile.cpp 2010-11-07 19:42:53.000000000 +0100
181 +++ libhl2-2.4.0_mod/HLLib/VPKFile.cpp 2010-11-07 19:52:41.591191563 +0100
182 @@ -14,6 +14,7 @@
183 #include "Mappings.h"
184 #include "Streams.h"
185 #include "Checksum.h"
186 +#include <cstring>
188 using namespace HLLib;
190 diff -rupN libhl2-2.4.0/HLLib/WADFile.cpp libhl2-2.4.0_mod/HLLib/WADFile.cpp
191 --- libhl2-2.4.0/HLLib/WADFile.cpp 2010-11-07 19:42:53.000000000 +0100
192 +++ libhl2-2.4.0_mod/HLLib/WADFile.cpp 2010-11-07 19:52:41.591191563 +0100
193 @@ -12,6 +12,7 @@
194 #include "HLLib.h"
195 #include "WADFile.h"
196 #include "Streams.h"
197 +#include <cstring>
199 using namespace HLLib;
201 diff -rupN libhl2-2.4.0/HLLib/Wrapper.cpp libhl2-2.4.0_mod/HLLib/Wrapper.cpp
202 --- libhl2-2.4.0/HLLib/Wrapper.cpp 2010-11-07 19:42:53.000000000 +0100
203 +++ libhl2-2.4.0_mod/HLLib/Wrapper.cpp 2010-11-07 19:52:41.591191563 +0100
204 @@ -15,6 +15,7 @@
205 #include "Streams.h"
206 #include "Packages.h"
207 #include "Wrapper.h"
208 +#include <cstring>
210 using namespace HLLib;
211 using namespace HLLib::Streams;
212 diff -rupN libhl2-2.4.0/HLLib/XZPFile.cpp libhl2-2.4.0_mod/HLLib/XZPFile.cpp
213 --- libhl2-2.4.0/HLLib/XZPFile.cpp 2010-11-07 19:42:53.000000000 +0100
214 +++ libhl2-2.4.0_mod/HLLib/XZPFile.cpp 2010-11-07 19:52:41.591191563 +0100
215 @@ -12,6 +12,7 @@
216 #include "HLLib.h"
217 #include "XZPFile.h"
218 #include "Streams.h"
219 +#include <cstring>
221 using namespace HLLib;
223 diff -rupN libhl2-2.4.0/HLLib/ZIPFile.cpp libhl2-2.4.0_mod/HLLib/ZIPFile.cpp
224 --- libhl2-2.4.0/HLLib/ZIPFile.cpp 2010-11-07 19:42:53.000000000 +0100
225 +++ libhl2-2.4.0_mod/HLLib/ZIPFile.cpp 2010-11-07 19:52:41.591191563 +0100
226 @@ -13,6 +13,7 @@
227 #include "ZIPFile.h"
228 #include "Streams.h"
229 #include "Checksum.h"
230 +#include <cstring>
232 using namespace HLLib;