cego.patch 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600
  1. Index: cego-2.13.0/Makefile.in
  2. --- cego-2.13.0/Makefile.in.orig 2.13.07-17 09:05:41.000000000 +0200
  3. +++ cego-2.13.0/Makefile.in 2.13.07-19 22:57:27.000000000 +0200
  4. @@ -35,8 +35,6 @@
  5. all:
  6. ( cd src; make all )
  7. - ( cd samples/cgwtest; make all )
  8. - ( cd samples/cgplustest; make all )
  9. install:
  10. ( cd src; make install )
  11. Index: cego-2.13.0/src/CegoAdminThreadPool.cc
  12. --- cego-2.13.0/src/CegoAdminThreadPool.cc.orig 2.13.06-13 15:10:27.000000000 +0200
  13. +++ cego-2.13.0/src/CegoAdminThreadPool.cc 2.13.07-19 20:23:30.000000000 +0200
  14. @@ -33,6 +33,7 @@
  15. //
  16. ///////////////////////////////////////////////////////////////////////////////
  17. +#include <stdlib.h>
  18. #include "CegoAdminThreadPool.h"
  19. #include <lfc/Sleeper.h>
  20. Index: cego-2.13.0/src/CegoAggregation.cc
  21. --- cego-2.13.0/src/CegoAggregation.cc.orig 2.13.06-23 17:29:07.000000000 +0200
  22. +++ cego-2.13.0/src/CegoAggregation.cc 2.13.07-19 20:23:30.000000000 +0200
  23. @@ -34,6 +34,7 @@
  24. ///////////////////////////////////////////////////////////////////////////////
  25. // INCLUDES
  26. +#include <string.h>
  27. #include "CegoAggregation.h"
  28. #include "CegoExpr.h"
  29. #include "CegoXMLdef.h"
  30. Index: cego-2.13.0/src/CegoAttrDesc.cc
  31. --- cego-2.13.0/src/CegoAttrDesc.cc.orig 2.13.06-25 10:07:25.000000000 +0200
  32. +++ cego-2.13.0/src/CegoAttrDesc.cc 2.13.07-19 20:23:30.000000000 +0200
  33. @@ -33,6 +33,7 @@
  34. //
  35. ///////////////////////////////////////////////////////////////////////////////
  36. +#include <string.h>
  37. #include "CegoAttrDesc.h"
  38. #include "CegoXMLdef.h"
  39. Index: cego-2.13.0/src/CegoBlob.cc
  40. --- cego-2.13.0/src/CegoBlob.cc.orig 2.13.0-21 01:17:05.000000000 +0100
  41. +++ cego-2.13.0/src/CegoBlob.cc 2.13.07-19 20:23:30.000000000 +0200
  42. @@ -33,6 +33,8 @@
  43. //
  44. ///////////////////////////////////////////////////////////////////////////////
  45. +#include <stdlib.h>
  46. +#include <string.h>
  47. #include "CegoBlob.h"
  48. #include <lfc/Exception.h>
  49. Index: cego-2.13.0/src/CegoBufferPage.cc
  50. --- cego-2.13.0/src/CegoBufferPage.cc.orig 2.13.06-20 21:08:36.000000000 +0200
  51. +++ cego-2.13.0/src/CegoBufferPage.cc 2.13.07-19 20:23:30.000000000 +0200
  52. @@ -33,6 +33,7 @@
  53. //
  54. ///////////////////////////////////////////////////////////////////////////////
  55. +#include <string.h>
  56. #include <lfc/Exception.h>
  57. #include "CegoDefs.h"
  58. Index: cego-2.13.0/src/CegoBufferPool.cc
  59. --- cego-2.13.0/src/CegoBufferPool.cc.orig 2.13.06-21 00:10:08.000000000 +0200
  60. +++ cego-2.13.0/src/CegoBufferPool.cc 2.13.07-19 20:23:30.000000000 +0200
  61. @@ -33,6 +33,8 @@
  62. //
  63. ///////////////////////////////////////////////////////////////////////////////
  64. +#include <stdlib.h>
  65. +#include <string.h>
  66. #include <lfc/Exception.h>
  67. #include <lfc/CommandExecuter.h>
  68. #include <lfc/Datetime.h>
  69. Index: cego-2.13.0/src/CegoCheckObject.cc
  70. --- cego-2.13.0/src/CegoCheckObject.cc.orig 2.13.0-21 01:38:47.000000000 +0100
  71. +++ cego-2.13.0/src/CegoCheckObject.cc 2.13.07-19 20:23:30.000000000 +0200
  72. @@ -33,6 +33,7 @@
  73. //
  74. ///////////////////////////////////////////////////////////////////////////////
  75. +#include <string.h>
  76. #include "CegoCheckObject.h"
  77. #include "CegoXMLdef.h"
  78. #include "CegoXMLHelper.h"
  79. Index: cego-2.13.0/src/CegoClient.cc
  80. --- cego-2.13.0/src/CegoClient.cc.orig 2.13.06-21 08:13:20.000000000 +0200
  81. +++ cego-2.13.0/src/CegoClient.cc 2.13.07-19 20:23:30.000000000 +0200
  82. @@ -33,6 +33,7 @@
  83. //
  84. ///////////////////////////////////////////////////////////////////////////////
  85. +#include <signal.h>
  86. #include <locale.h>
  87. #include <stdlib.h>
  88. #include <stdio.h>
  89. Index: cego-2.13.0/src/CegoCondDesc.cc
  90. --- cego-2.13.0/src/CegoCondDesc.cc.orig 2.13.06-23 17:42:52.000000000 +0200
  91. +++ cego-2.13.0/src/CegoCondDesc.cc 2.13.07-19 20:23:30.000000000 +0200
  92. @@ -33,6 +33,7 @@
  93. //
  94. ///////////////////////////////////////////////////////////////////////////////
  95. +#include <string.h>
  96. #include "CegoCondDesc.h"
  97. #include "CegoXMLdef.h"
  98. Index: cego-2.13.0/src/CegoContentObject.cc
  99. --- cego-2.13.0/src/CegoContentObject.cc.orig 2.13.0-22.13.01:50.000000000 +0100
  100. +++ cego-2.13.0/src/CegoContentObject.cc 2.13.07-19 20:23:30.000000000 +0200
  101. @@ -34,6 +34,8 @@
  102. //
  103. ///////////////////////////////////////////////////////////////////////////////
  104. +#include <stdlib.h>
  105. +#include <string.h>
  106. #include "CegoContentObject.h"
  107. #include "CegoTypeConverter.h"
  108. Index: cego-2.13.0/src/CegoDataPointer.cc
  109. --- cego-2.13.0/src/CegoDataPointer.cc.orig 2.13.0-21 01:19:33.000000000 +0100
  110. +++ cego-2.13.0/src/CegoDataPointer.cc 2.13.07-19 20:23:30.000000000 +0200
  111. @@ -33,6 +33,7 @@
  112. //
  113. ///////////////////////////////////////////////////////////////////////////////
  114. +#include <string.h>
  115. #include "CegoDataPointer.h"
  116. #include <string.h>
  117. Index: cego-2.13.0/src/CegoDbHandler.cc
  118. --- cego-2.13.0/src/CegoDbHandler.cc.orig 2.13.06-20 23:52:52.000000000 +0200
  119. +++ cego-2.13.0/src/CegoDbHandler.cc 2.13.07-19 20:23:30.000000000 +0200
  120. @@ -33,6 +33,8 @@
  121. //
  122. ///////////////////////////////////////////////////////////////////////////////
  123. +#include <stdlib.h>
  124. +#include <string.h>
  125. #include <lfc/AESCrypt.h>
  126. #include <lfc/Datetime.h>
  127. Index: cego-2.13.0/src/CegoDbThread.cc
  128. --- cego-2.13.0/src/CegoDbThread.cc.orig 2.13.07-08 15:36:29.000000000 +0200
  129. +++ cego-2.13.0/src/CegoDbThread.cc 2.13.07-19 20:23:30.000000000 +0200
  130. @@ -39,6 +39,7 @@
  131. ///////////////////////////////////////////////////////////////////////////////
  132. // INCLUDES
  133. +#include <string.h>
  134. #include <lfc/Exception.h>
  135. #include <lfc/Sleeper.h>
  136. #include <lfc/ThreadLock.h>
  137. Index: cego-2.13.0/src/CegoDbThreadPool.cc
  138. --- cego-2.13.0/src/CegoDbThreadPool.cc.orig 2.13.07-08 15:36:28.000000000 +0200
  139. +++ cego-2.13.0/src/CegoDbThreadPool.cc 2.13.07-19 20:23:30.000000000 +0200
  140. @@ -33,6 +33,7 @@
  141. //
  142. ///////////////////////////////////////////////////////////////////////////////
  143. +#include <stdlib.h>
  144. #include <lfc/Exception.h>
  145. #include <lfc/Host.h>
  146. #include <lfc/NetHandler.h>
  147. Index: cego-2.13.0/src/CegoDefs.h
  148. --- cego-2.13.0/src/CegoDefs.h.orig 2.13.07-17 09:26:25.000000000 +0200
  149. +++ cego-2.13.0/src/CegoDefs.h 2.13.07-19 20:23:30.000000000 +0200
  150. @@ -35,6 +35,9 @@
  151. //
  152. ///////////////////////////////////////////////////////////////////////////////
  153. +#include <stdlib.h>
  154. +#include <string.h>
  155. +
  156. #ifdef HAVE_MINGW32
  157. #include <windows.h>
  158. #endif
  159. Index: cego-2.13.0/src/CegoDistManager.cc
  160. --- cego-2.13.0/src/CegoDistManager.cc.orig 2.13.07-02 10:15:39.000000000 +0200
  161. +++ cego-2.13.0/src/CegoDistManager.cc 2.13.07-19 20:23:30.000000000 +0200
  162. @@ -34,6 +34,9 @@
  163. //
  164. ///////////////////////////////////////////////////////////////////////////////
  165. +#include <stdlib.h>
  166. +#include <string.h>
  167. +
  168. #include "CegoDistManager.h"
  169. #include <lfc/Exception.h>
  170. Index: cego-2.13.0/src/CegoExpOutStream.cc
  171. --- cego-2.13.0/src/CegoExpOutStream.cc.orig 2.13.0-21 01:20:51.000000000 +0100
  172. +++ cego-2.13.0/src/CegoExpOutStream.cc 2.13.07-19 20:23:30.000000000 +0200
  173. @@ -33,6 +33,9 @@
  174. //
  175. ///////////////////////////////////////////////////////////////////////////////
  176. +#include <stdlib.h>
  177. +#include <string.h>
  178. +
  179. // base includes
  180. #include <lfc/Base64Coder.h>
  181. Index: cego-2.13.0/src/CegoExpr.cc
  182. --- cego-2.13.0/src/CegoExpr.cc.orig 2.13.06-25 16:25:58.000000000 +0200
  183. +++ cego-2.13.0/src/CegoExpr.cc 2.13.07-19 20:23:30.000000000 +0200
  184. @@ -33,6 +33,9 @@
  185. //
  186. ///////////////////////////////////////////////////////////////////////////////
  187. +#include <stdlib.h>
  188. +#include <string.h>
  189. +
  190. #include "CegoExpr.h"
  191. #include "CegoXMLdef.h"
  192. Index: cego-2.13.0/src/CegoFactor.cc
  193. --- cego-2.13.0/src/CegoFactor.cc.orig 2.13.06-23 18:21:03.000000000 +0200
  194. +++ cego-2.13.0/src/CegoFactor.cc 2.13.07-19 20:23:30.000000000 +0200
  195. @@ -33,6 +33,9 @@
  196. //
  197. ///////////////////////////////////////////////////////////////////////////////
  198. +#include <stdlib.h>
  199. +#include <string.h>
  200. +
  201. // INCLUDES
  202. #include <lfc/Exception.h>
  203. Index: cego-2.13.0/src/CegoFieldValue.cc
  204. --- cego-2.13.0/src/CegoFieldValue.cc.orig 2.13.07-15 19:32:52.000000000 +0200
  205. +++ cego-2.13.0/src/CegoFieldValue.cc 2.13.07-19 20:23:30.000000000 +0200
  206. @@ -41,6 +41,9 @@
  207. #include <lfc/BigDecimal.h>
  208. #include <lfc/Tokenizer.h>
  209. +#include <stdlib.h>
  210. +#include <string.h>
  211. +
  212. #include "CegoFieldValue.h"
  213. #include "CegoTypeConverter.h"
  214. #include "CegoDefs.h"
  215. Index: cego-2.13.0/src/CegoFunction.cc
  216. --- cego-2.13.0/src/CegoFunction.cc.orig 2.13.07-03 19:58:12.000000000 +0200
  217. +++ cego-2.13.0/src/CegoFunction.cc 2.13.07-19 20:23:30.000000000 +0200
  218. @@ -33,6 +33,8 @@
  219. //
  220. ///////////////////////////////////////////////////////////////////////////////
  221. +#include <stdlib.h>
  222. +#include <string.h>
  223. #include <lfc/Datetime.h>
  224. #include <lfc/Tokenizer.h>
  225. Index: cego-2.13.0/src/CegoGroupEntry.cc
  226. --- cego-2.13.0/src/CegoGroupEntry.cc.orig 2.13.0-21 01:41:27.000000000 +0100
  227. +++ cego-2.13.0/src/CegoGroupEntry.cc 2.13.07-19 20:23:30.000000000 +0200
  228. @@ -33,6 +33,9 @@
  229. //
  230. ///////////////////////////////////////////////////////////////////////////////
  231. +#include <stdlib.h>
  232. +#include <string.h>
  233. +
  234. // base includes
  235. #include <lfc/Exception.h>
  236. Index: cego-2.13.0/src/CegoGroupSpace.cc
  237. --- cego-2.13.0/src/CegoGroupSpace.cc.orig 2.13.06-16 21:52:19.000000000 +0200
  238. +++ cego-2.13.0/src/CegoGroupSpace.cc 2.13.07-19 20:23:30.000000000 +0200
  239. @@ -33,6 +33,9 @@
  240. //
  241. ///////////////////////////////////////////////////////////////////////////////
  242. +#include <stdlib.h>
  243. +#include <string.h>
  244. +
  245. // base includes
  246. #include <lfc/Exception.h>
  247. Index: cego-2.13.0/src/CegoImpInStream.cc
  248. --- cego-2.13.0/src/CegoImpInStream.cc.orig 2.13.03-23 21:40:57.000000000 +0100
  249. +++ cego-2.13.0/src/CegoImpInStream.cc 2.13.07-19 20:23:30.000000000 +0200
  250. @@ -33,6 +33,9 @@
  251. //
  252. ///////////////////////////////////////////////////////////////////////////////
  253. +#include <stdlib.h>
  254. +#include <string.h>
  255. +
  256. // base includes
  257. #include <lfc/Base64Coder.h>
  258. Index: cego-2.13.0/src/CegoIndexCursor.cc
  259. --- cego-2.13.0/src/CegoIndexCursor.cc.orig 2.13.06-26 18:30:38.000000000 +0200
  260. +++ cego-2.13.0/src/CegoIndexCursor.cc 2.13.07-19 20:23:30.000000000 +0200
  261. @@ -34,6 +34,9 @@
  262. //
  263. ///////////////////////////////////////////////////////////////////////////////
  264. +#include <stdlib.h>
  265. +#include <string.h>
  266. +
  267. // cego includes
  268. #include "CegoIndexCursor.h"
  269. #include "CegoTupleState.h"
  270. Index: cego-2.13.0/src/CegoIndexEntry.cc
  271. --- cego-2.13.0/src/CegoIndexEntry.cc.orig 2.13.0-21 01:48:24.000000000 +0100
  272. +++ cego-2.13.0/src/CegoIndexEntry.cc 2.13.07-19 20:23:30.000000000 +0200
  273. @@ -33,6 +33,9 @@
  274. //
  275. ///////////////////////////////////////////////////////////////////////////////
  276. +#include <stdlib.h>
  277. +#include <string.h>
  278. +
  279. // base includes
  280. #include <lfc/Exception.h>
  281. Index: cego-2.13.0/src/CegoIndexManager.cc
  282. --- cego-2.13.0/src/CegoIndexManager.cc.orig 2.13.06-02 13:08:24.000000000 +0200
  283. +++ cego-2.13.0/src/CegoIndexManager.cc 2.13.07-19 20:23:30.000000000 +0200
  284. @@ -33,6 +33,9 @@
  285. //
  286. ///////////////////////////////////////////////////////////////////////////////
  287. +#include <stdlib.h>
  288. +#include <string.h>
  289. +
  290. // base includes
  291. #include <lfc/Exception.h>
  292. Index: cego-2.13.0/src/CegoJoinObject.cc
  293. --- cego-2.13.0/src/CegoJoinObject.cc.orig 2.13.06-23 17:38:41.000000000 +0200
  294. +++ cego-2.13.0/src/CegoJoinObject.cc 2.13.07-19 20:23:30.000000000 +0200
  295. @@ -33,6 +33,9 @@
  296. //
  297. ///////////////////////////////////////////////////////////////////////////////
  298. +#include <stdlib.h>
  299. +#include <string.h>
  300. +
  301. // base includes
  302. #include <lfc/Tokenizer.h>
  303. Index: cego-2.13.0/src/CegoKeyObject.cc
  304. --- cego-2.13.0/src/CegoKeyObject.cc.orig 2.13.0-21 01:44:30.000000000 +0100
  305. +++ cego-2.13.0/src/CegoKeyObject.cc 2.13.07-19 20:23:30.000000000 +0200
  306. @@ -33,6 +33,9 @@
  307. //
  308. ///////////////////////////////////////////////////////////////////////////////
  309. +#include <stdlib.h>
  310. +#include <string.h>
  311. +
  312. // cego includes
  313. #include "CegoKeyObject.h"
  314. #include "CegoXMLdef.h"
  315. Index: cego-2.13.0/src/CegoLockHandler.cc
  316. --- cego-2.13.0/src/CegoLockHandler.cc.orig 2.13.06-14 23:13:50.000000000 +0200
  317. +++ cego-2.13.0/src/CegoLockHandler.cc 2.13.07-19 20:23:30.000000000 +0200
  318. @@ -33,6 +33,9 @@
  319. //
  320. ///////////////////////////////////////////////////////////////////////////////
  321. +#include <stdlib.h>
  322. +#include <string.h>
  323. +
  324. #ifndef _REENTRANT
  325. #define _REENTRANT /* basic 3-lines for threads */
  326. #endif
  327. Index: cego-2.13.0/src/CegoLogManager.cc
  328. --- cego-2.13.0/src/CegoLogManager.cc.orig 2.13.0-21 01:45:28.000000000 +0100
  329. +++ cego-2.13.0/src/CegoLogManager.cc 2.13.07-19 20:23:30.000000000 +0200
  330. @@ -33,6 +33,9 @@
  331. //
  332. ///////////////////////////////////////////////////////////////////////////////
  333. +#include <stdlib.h>
  334. +#include <string.h>
  335. +
  336. // base includes
  337. #include <lfc/Exception.h>
  338. #include <lfc/File.h>
  339. Index: cego-2.13.0/src/CegoLogRecord.cc
  340. --- cego-2.13.0/src/CegoLogRecord.cc.orig 2.13.06-21 00:28:35.000000000 +0200
  341. +++ cego-2.13.0/src/CegoLogRecord.cc 2.13.07-19 20:23:30.000000000 +0200
  342. @@ -33,6 +33,9 @@
  343. //
  344. ///////////////////////////////////////////////////////////////////////////////
  345. +#include <stdlib.h>
  346. +#include <string.h>
  347. +
  348. // cego includes
  349. #include "CegoLogRecord.h"
  350. Index: cego-2.13.0/src/CegoObject.cc
  351. --- cego-2.13.0/src/CegoObject.cc.orig 2.13.06-21 00:01:01.000000000 +0200
  352. +++ cego-2.13.0/src/CegoObject.cc 2.13.07-19 20:23:30.000000000 +0200
  353. @@ -33,6 +33,9 @@
  354. //
  355. ///////////////////////////////////////////////////////////////////////////////
  356. +#include <stdlib.h>
  357. +#include <string.h>
  358. +
  359. // cego includes
  360. #include "CegoObject.h"
  361. Index: cego-2.13.0/src/Makefile.in
  362. --- cego-2.13.0/src/Makefile.in.orig 2.13.07-16 22:55:51.000000000 +0200
  363. +++ cego-2.13.0/src/Makefile.in 2.13.07-19 20:23:30.000000000 +0200
  364. @@ -60,10 +60,8 @@
  365. $(STRIP) cgblow
  366. $(INSTALL_PROGRAM) cgblow $(DESTDIR)$(CEGOBINDIR)
  367. $(INSTALL_DATA) libcego.a $(DESTDIR)$(CEGOLIBDIR)
  368. - $(INSTALL_DATA) libcego.so.1 $(DESTDIR)$(CEGOLIBDIR)
  369. $(RANLIB) $(DESTDIR)$(CEGOLIBDIR)/libcego.a
  370. $(INSTALL_DATA) libcgwrap.a $(DESTDIR)$(CEGOLIBDIR)
  371. - $(INSTALL_DATA) libcgwrap.so.1 $(DESTDIR)$(CEGOLIBDIR)
  372. $(RANLIB) $(DESTDIR)$(CEGOLIBDIR)/libcgwrap.a
  373. $(INSTALL_DATA) CegoAdmNet.h $(DESTDIR)$(CEGOINCDIR)
  374. $(INSTALL_DATA) CegoDbHandler.h $(DESTDIR)$(CEGOINCDIR)
  375. @@ -235,12 +233,10 @@
  376. $(CCPLUS) $(LDFLAGS) -o cgblow CegoBlowTab.o libcego.a $(LIBS)
  377. libcego.a: $(LIBOBJECTS)
  378. - $(CC) $(LDFLAGS) $(CGSHLIBOPT) -o libcego.so.1 $(LIBOBJECTS)
  379. $(AR) -r libcego.a $(LIBOBJECTS)
  380. $(RANLIB) libcego.a
  381. libcgwrap.a: $(CGWRAPOBJECTS)
  382. - $(CC) $(LDFLAGS) $(WPSHLIBOPT) -o libcgwrap.so.1 $(CGWRAPOBJECTS)
  383. $(AR) -r libcgwrap.a $(CGWRAPOBJECTS)
  384. $(RANLIB) libcgwrap.a
  385. Index: lfc-1.2.0/src/Bitmap.cc
  386. --- lfc-1.2.0/src/Bitmap.cc.orig 2010-08-15 13:48:09.000000000 +0200
  387. +++ lfc-1.2.0/src/Bitmap.cc 2.13.07-19 20:23:30.000000000 +0200
  388. @@ -35,6 +35,7 @@
  389. #include <stdlib.h>
  390. // INCLUDES
  391. +#include <stdlib.h>
  392. #include "Bitmap.h"
  393. #include "Exception.h"
  394. Index: lfc-1.2.0/src/CommandExecuter.cc
  395. --- lfc-1.2.0/src/CommandExecuter.cc.orig 2.13.0-21 01:01:04.000000000 +0100
  396. +++ lfc-1.2.0/src/CommandExecuter.cc 2.13.07-19 20:23:30.000000000 +0200
  397. @@ -41,6 +41,7 @@
  398. #include <fcntl.h>
  399. #include <signal.h>
  400. #include <sys/wait.h>
  401. +#include <string.h>
  402. // BASE INCLUDES
  403. Index: lfc-1.2.0/src/Datetime.cc
  404. --- lfc-1.2.0/src/Datetime.cc.orig 2010-08-15 13:48:19.000000000 +0200
  405. +++ lfc-1.2.0/src/Datetime.cc 2.13.07-19 20:23:30.000000000 +0200
  406. @@ -34,6 +34,8 @@
  407. #include <stdlib.h>
  408. +#include <string.h>
  409. +#include <stdlib.h>
  410. #include "Exception.h"
  411. #include "Datetime.h"
  412. Index: lfc-1.2.0/src/File.cc
  413. --- lfc-1.2.0/src/File.cc.orig 2.13.06-20 21:43:38.000000000 +0200
  414. +++ lfc-1.2.0/src/File.cc 2.13.07-19 20:23:30.000000000 +0200
  415. @@ -48,6 +48,7 @@
  416. #include <fcntl.h>
  417. #include <unistd.h>
  418. #include <errno.h>
  419. +#include <string.h>
  420. // BASE INCLUDES
  421. #include "Exception.h"
  422. Index: lfc-1.2.0/src/Makefile.in
  423. --- lfc-1.2.0/src/Makefile.in.orig 2010-09-17 10:00:58.000000000 +0200
  424. +++ lfc-1.2.0/src/Makefile.in 2.13.07-19 20:23:30.000000000 +0200
  425. @@ -85,7 +85,6 @@
  426. $(INSTALL_DATA) Base64Coder.h $(DESTDIR)$(INCLUDEPREFIX)
  427. if [ -f regex.o ]; then $(INSTALL_DATA) regex.h $(DESTDIR)$(INCLUDEPREFIX); fi
  428. $(INSTALL_DATA) liblfc.a $(DESTDIR)$(LIBPREFIX)
  429. - $(INSTALL_DATA) liblfc.so.1 $(DESTDIR)$(LIBPREFIX)
  430. $(RANLIB) $(DESTDIR)$(LIBPREFIX)/liblfc.a
  431. clean:
  432. @@ -99,7 +98,6 @@
  433. #################
  434. liblfc: $(OBJECTS)
  435. - $(CC) $(LDFLAGS) $(SHLIBOPT) -o liblfc.so.1 $(OBJECTS)
  436. $(AR) -r liblfc.a $(OBJECTS)
  437. $(RANLIB) liblfc.a
  438. @@ -135,4 +133,4 @@
  439. CommandExecuter.o: CommandExecuter.cc CommandExecuter.h
  440. Sleeper.o: Sleeper.cc Sleeper.h
  441. Process.o: Process.cc Process.h
  442. -Base64Coder.o: Base64Coder.cc Base64Coder.h base64.c
  443. \ No newline at end of file
  444. +Base64Coder.o: Base64Coder.cc Base64Coder.h base64.c
  445. Index: lfc-1.2.0/src/Net.cc
  446. --- lfc-1.2.0/src/Net.cc.orig 2010-09-13 19:30:22.000000000 +0200
  447. +++ lfc-1.2.0/src/Net.cc 2.13.07-19 20:23:30.000000000 +0200
  448. @@ -52,6 +52,7 @@
  449. #include <netdb.h>
  450. #endif
  451. #include <errno.h>
  452. +#include <string.h>
  453. #include "Exception.h"
  454. #include "Net.h"
  455. Index: lfc-1.2.0/src/NetHandler.cc
  456. --- lfc-1.2.0/src/NetHandler.cc.orig 2010-08-15 13:45:47.000000000 +0200
  457. +++ lfc-1.2.0/src/NetHandler.cc 2.13.07-19 20:23:30.000000000 +0200
  458. @@ -38,6 +38,7 @@
  459. #define _REENTRANT /* basic 3-lines for threads */
  460. #endif
  461. +#include <string.h>
  462. #include <unistd.h>
  463. #include <string.h>
  464. #include <sys/types.h>
  465. Index: lfc-1.2.0/src/Process.cc
  466. --- lfc-1.2.0/src/Process.cc.orig 2010-08-15 13:51:29.000000000 +0200
  467. +++ lfc-1.2.0/src/Process.cc 2.13.07-19 20:23:30.000000000 +0200
  468. @@ -43,6 +43,7 @@
  469. #include <unistd.h>
  470. #include <string.h>
  471. #include <errno.h>
  472. +#include <string.h>
  473. #include "Exception.h"
  474. #include "Chain.h"
  475. Index: lfc-1.2.0/src/Sleeper.cc
  476. --- lfc-1.2.0/src/Sleeper.cc.orig 2010-08-15 13:50:23.000000000 +0200
  477. +++ lfc-1.2.0/src/Sleeper.cc 2.13.07-19 20:23:30.000000000 +0200
  478. @@ -48,6 +48,7 @@
  479. #include <unistd.h>
  480. #include <string.h>
  481. #include <errno.h>
  482. +#include <string.h>
  483. #include "Exception.h"
  484. #include "Chain.h"
  485. Index: lfc-1.2.0/src/ThreadLock.cc
  486. --- lfc-1.2.0/src/ThreadLock.cc.orig 2.13.06-13 12.13.07.000000000 +0200
  487. +++ lfc-1.2.0/src/ThreadLock.cc 2.13.07-19 20:23:30.000000000 +0200
  488. @@ -43,6 +43,7 @@
  489. #include <errno.h>
  490. #include <string.h>
  491. #include <time.h>
  492. +#include <string.h>
  493. #include <iostream>
  494. #include "ThreadLock.h"
  495. Index: lfcxml-1.0.26/src/Makefile.in
  496. --- lfcxml-1.0.26/src/Makefile.in.orig 2010-09-17 10:01:17.000000000 +0200
  497. +++ lfcxml-1.0.26/src/Makefile.in 2.13.07-19 20:23:30.000000000 +0200
  498. @@ -51,7 +51,6 @@
  499. $(INSTALL_DATA) XMLInStream.h $(DESTDIR)$(XMLINCLUDEPATH)
  500. $(INSTALL_DATA) XMLOutStream.h $(DESTDIR)$(XMLINCLUDEPATH)
  501. $(INSTALL_DATA) liblfcxml.a $(DESTDIR)$(LIBPREFIX)
  502. - $(INSTALL_DATA) liblfcxml.so.1 $(DESTDIR)$(LIBPREFIX)
  503. $(RANLIB) $(DESTDIR)$(LIBPREFIX)/liblfcxml.a
  504. #################
  505. @@ -59,7 +58,6 @@
  506. #################
  507. liblfcxml: $(OBJECTS)
  508. - $(CC) $(LDFLAGS) $(SHLIBOPT) -o liblfcxml.so.1 $(OBJECTS)
  509. $(AR) -r liblfcxml.a $(OBJECTS)
  510. $(RANLIB) liblfcxml.a
  511. Index: lfcxml-1.0.26/src/XMLSuite.cc
  512. --- lfcxml-1.0.26/src/XMLSuite.cc.orig 2.13.0-21 01:08:13.000000000 +0100
  513. +++ lfcxml-1.0.26/src/XMLSuite.cc 2.13.07-19 20:23:30.000000000 +0200
  514. @@ -35,6 +35,7 @@
  515. // INCLUDES
  516. #include "XMLSuite.h"
  517. +#include <stdlib.h>
  518. #include <stdlib.h>