Dash:
[t2-trunk.git] / package / filesystem / boxbackup / hotfix-gcc43.patch
blob5b9e1241e85f5e6ffadc62a309e2b1aa3000074c
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../boxbackup/gcc43.patch
5 # Copyright (C) 2008 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- boxbackup-0.10/bin/bbstoreaccounts/bbstoreaccounts.cpp.vanilla 2008-04-13 18:23:00.000000000 +0200
18 +++ boxbackup-0.10/bin/bbstoreaccounts/bbstoreaccounts.cpp 2008-04-13 18:23:08.000000000 +0200
19 @@ -51,6 +51,7 @@
20 #include <stdio.h>
21 #include <sys/types.h>
22 #include <limits.h>
23 +#include <string.h>
24 #include <vector>
25 #include <algorithm>
27 --- boxbackup-0.10/bin/bbackupctl/bbackupctl.cpp.vanilla 2008-04-13 18:24:38.000000000 +0200
28 +++ boxbackup-0.10/bin/bbackupctl/bbackupctl.cpp 2008-04-13 18:24:46.000000000 +0200
29 @@ -48,6 +48,7 @@
30 #include "Box.h"
32 #include <stdio.h>
33 +#include <stdlib.h>
35 #ifdef HAVE_UNISTD_H
36 #include <unistd.h>
37 --- boxbackup-0.10/bin/bbackupquery/bbackupquery.cpp.vanilla 2008-04-13 18:23:26.000000000 +0200
38 +++ boxbackup-0.10/bin/bbackupquery/bbackupquery.cpp 2008-04-13 18:23:37.000000000 +0200
39 @@ -50,6 +50,7 @@
40 #ifdef HAVE_UNISTD_H
41 #include <unistd.h>
42 #endif
43 +#include <stdlib.h>
44 #include <stdio.h>
45 #include <sys/types.h>
46 #ifdef HAVE_LIBREADLINE
47 --- boxbackup-0.10/lib/backupclient/BackupClientFileAttributes.cpp.vanilla 2008-04-13 18:19:38.000000000 +0200
48 +++ boxbackup-0.10/lib/backupclient/BackupClientFileAttributes.cpp 2008-04-13 18:20:30.000000000 +0200
49 @@ -53,8 +53,8 @@
51 #include <sys/types.h>
52 #include <sys/stat.h>
53 -#include <string.h>
54 #include <limits.h>
55 +#include <cstring>
56 #include <algorithm>
57 #include <new>
58 #include <vector>
59 --- boxbackup-0.10/lib/backupclient/BackupStoreFileDiff.cpp.vanilla 2008-04-13 18:21:32.000000000 +0200
60 +++ boxbackup-0.10/lib/backupclient/BackupStoreFileDiff.cpp 2008-04-13 18:21:50.000000000 +0200
61 @@ -50,6 +50,8 @@
62 #include <new>
63 #include <map>
65 +#include <string.h>
67 #ifdef HAVE_TIME_H
68 #include <time.h>
69 #elif HAVE_SYS_TIME_H
70 --- boxbackup-0.10/lib/backupclient/BackupStoreFile.h.vanilla 2008-04-13 18:17:13.000000000 +0200
71 +++ boxbackup-0.10/lib/backupclient/BackupStoreFile.h 2008-04-13 18:17:35.000000000 +0200
72 @@ -52,6 +52,7 @@
73 #include "BackupClientFileAttributes.h"
74 #include "BackupStoreFilename.h"
76 +#include <stdlib.h>
77 #include <memory>
79 typedef struct
80 --- boxbackup-0.10/lib/backupclient/BackupStoreFileEncodeStream.cpp.vanilla 2008-04-13 18:20:55.000000000 +0200
81 +++ boxbackup-0.10/lib/backupclient/BackupStoreFileEncodeStream.cpp 2008-04-13 18:21:16.000000000 +0200
82 @@ -62,6 +62,8 @@
84 #include "MemLeakFindOn.h"
86 +#include <string.h>
88 using namespace BackupStoreFileCryptVar;
91 --- boxbackup-0.10/lib/raidfile/RaidFileRead.cpp.vanilla 2008-04-13 18:22:21.000000000 +0200
92 +++ boxbackup-0.10/lib/raidfile/RaidFileRead.cpp 2008-04-13 18:22:37.000000000 +0200
93 @@ -49,6 +49,7 @@
95 #include <sys/types.h>
96 #include <unistd.h>
97 +#include <stdlib.h>
98 #include <fcntl.h>
99 #include <errno.h>
100 #include <sys/stat.h>
101 --- boxbackup-0.10/lib/common/WaitForEvent.h.vanilla 2008-04-13 18:18:10.000000000 +0200
102 +++ boxbackup-0.10/lib/common/WaitForEvent.h 2008-04-13 18:18:27.000000000 +0200
103 @@ -58,6 +58,8 @@
104 #endif
105 #endif
107 +#include <stdlib.h>
109 #include "CommonException.h"
111 #include "MemLeakFindOn.h"
112 --- boxbackup-0.10/lib/common/Configuration.cpp.vanilla 2008-04-13 18:18:48.000000000 +0200
113 +++ boxbackup-0.10/lib/common/Configuration.cpp 2008-04-13 18:19:02.000000000 +0200
114 @@ -49,6 +49,7 @@
116 #include <stdlib.h>
117 #include <limits.h>
118 +#include <string.h>
120 #include "Configuration.h"
121 #include "CommonException.h"