ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/apt-ansi-headers.patch
Revision: 1.2
Committed: Tue Aug 30 14:41:05 2011 UTC (13 years, 8 months ago) by lat
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
State: FILE REMOVED
Error occurred while calculating annotation data.
Log Message:
Remove old obsolete RPMs and patches.

File Contents

# Content
1 diff --git a/apt-0.5.15lorg3.2/apt-pkg/contrib/strutl.h b/apt-0.5.15lorg3.2/apt-pkg/contrib/strutl.h
2 index 353e78a..b0c3d35 100644
3 --- a/apt-0.5.15lorg3.2/apt-pkg/contrib/strutl.h
4 +++ b/apt-0.5.15lorg3.2/apt-pkg/contrib/strutl.h
5 @@ -20,7 +20,8 @@
6 #pragma interface "apt-pkg/strutl.h"
7 #endif
8
9 -#include <stdlib.h>
10 +#include <cstring>
11 +#include <cstdlib>
12 #include <string>
13 #include <vector>
14 #include <iostream>
15 diff --git a/apt-0.5.15lorg3.2/apt-pkg/contrib/cdromutl.cc b/apt-0.5.15lorg3.2/apt-pkg/contrib/cdromutl.cc
16 index 61fcfcf..175a449 100644
17 --- a/apt-0.5.15lorg3.2/apt-pkg/contrib/cdromutl.cc
18 +++ b/apt-0.5.15lorg3.2/apt-pkg/contrib/cdromutl.cc
19 @@ -26,6 +26,7 @@
20
21 #include <apti18n.h>
22
23 +#include <cstdlib>
24 #include <sys/wait.h>
25 #include <sys/errno.h>
26 #include <sys/statvfs.h>
27 @@ -33,7 +34,7 @@
28 #include <fcntl.h>
29 #include <sys/stat.h>
30 #include <unistd.h>
31 -#include <stdio.h>
32 +#include <cstdio>
33 /*}}}*/
34
35 // IsMounted - Returns true if the mount point is mounted /*{{{*/
36 diff --git a/apt-0.5.15lorg3.2/apt-pkg/contrib/error.cc b/apt-0.5.15lorg3.2/apt-pkg/contrib/error.cc
37 index 8110a56..ead183d 100644
38 --- a/apt-0.5.15lorg3.2/apt-pkg/contrib/error.cc
39 +++ b/apt-0.5.15lorg3.2/apt-pkg/contrib/error.cc
40 @@ -26,6 +26,7 @@
41 #include <string>
42 #include <stdarg.h>
43 #include <unistd.h>
44 +#include <cstring>
45
46 #include "config.h"
47 /*}}}*/
48 diff --git a/apt-0.5.15lorg3.2/apt-pkg/contrib/fileutl.cc b/apt-0.5.15lorg3.2/apt-pkg/contrib/fileutl.cc
49 index 400ac67..02e4bf2 100644
50 --- a/apt-0.5.15lorg3.2/apt-pkg/contrib/fileutl.cc
51 +++ b/apt-0.5.15lorg3.2/apt-pkg/contrib/fileutl.cc
52 @@ -30,7 +30,8 @@
53 #include <sys/wait.h>
54 #include <signal.h>
55 #include <errno.h>
56 -
57 +#include <cstring>
58 +#include <cstdlib>
59 // CNC:2003-02-14 - Ralf Corsepius told RH8 with GCC 3.2.1 fails
60 // compiling without moving this header to here.
61 #include <apti18n.h>
62 diff --git a/apt-0.5.15lorg3.2/apt-pkg/contrib/md5.h b/apt-0.5.15lorg3.2/apt-pkg/contrib/md5.h
63 index 5895966..6e6b13b 100644
64 --- a/apt-0.5.15lorg3.2/apt-pkg/contrib/md5.h
65 +++ b/apt-0.5.15lorg3.2/apt-pkg/contrib/md5.h
66 @@ -28,6 +28,7 @@
67 #endif
68
69 #include <string>
70 +#include <cstring>
71
72 using std::string;
73
74 diff --git a/apt-0.5.15lorg3.2/apt-pkg/contrib/mmap.cc b/apt-0.5.15lorg3.2/apt-pkg/contrib/mmap.cc
75 index ed3cd78..589a3f1 100644
76 --- a/apt-0.5.15lorg3.2/apt-pkg/contrib/mmap.cc
77 +++ b/apt-0.5.15lorg3.2/apt-pkg/contrib/mmap.cc
78 @@ -35,6 +35,7 @@
79 #include <sys/stat.h>
80 #include <unistd.h>
81 #include <fcntl.h>
82 +#include <cstring>
83 /*}}}*/
84
85 // MMap::MMap - Constructor /*{{{*/
86 diff --git a/apt-0.5.15lorg3.2/apt-pkg/contrib/progress.cc b/apt-0.5.15lorg3.2/apt-pkg/contrib/progress.cc
87 index 0027ffc..50d07bb 100644
88 --- a/apt-0.5.15lorg3.2/apt-pkg/contrib/progress.cc
89 +++ b/apt-0.5.15lorg3.2/apt-pkg/contrib/progress.cc
90 @@ -18,7 +18,8 @@
91 #include <apti18n.h>
92
93 #include <iostream>
94 -#include <stdio.h>
95 +#include <cstdio>
96 +#include <cstring>
97 /*}}}*/
98
99 using namespace std;
100 diff --git a/apt-0.5.15lorg3.2/apt-pkg/contrib/sha1.h b/apt-0.5.15lorg3.2/apt-pkg/contrib/sha1.h
101 index fb2c7df..00d8d52 100644
102 --- a/apt-0.5.15lorg3.2/apt-pkg/contrib/sha1.h
103 +++ b/apt-0.5.15lorg3.2/apt-pkg/contrib/sha1.h
104 @@ -19,6 +19,7 @@
105 #endif
106
107 #include <string>
108 +#include <cstring>
109
110 using std::string;
111
112 diff --git a/apt-0.5.15lorg3.2/apt-pkg/indexfile.cc b/apt-0.5.15lorg3.2/apt-pkg/indexfile.cc
113 index 378f1e0..5a82ad9 100644
114 --- a/apt-0.5.15lorg3.2/apt-pkg/indexfile.cc
115 +++ b/apt-0.5.15lorg3.2/apt-pkg/indexfile.cc
116 @@ -14,6 +14,7 @@
117
118 #include <apt-pkg/indexfile.h>
119 #include <apt-pkg/error.h>
120 +#include <cstring>
121 /*}}}*/
122
123 // Global list of Item supported
124 diff --git a/apt-0.5.15lorg3.2/apt-pkg/init.cc b/apt-0.5.15lorg3.2/apt-pkg/init.cc
125 index 27e3722..813ed01 100644
126 --- a/apt-0.5.15lorg3.2/apt-pkg/init.cc
127 +++ b/apt-0.5.15lorg3.2/apt-pkg/init.cc
128 @@ -15,6 +15,8 @@
129 #include <apti18n.h>
130 #include <config.h>
131 #include <sys/stat.h>
132 +#include <cstring>
133 +#include <cstdlib>
134
135 // CNC:2003-03-17
136 #include <apt-pkg/luaiface.h>
137 diff --git a/apt-0.5.15lorg3.2/apt-pkg/pkgsystem.cc b/apt-0.5.15lorg3.2/apt-pkg/pkgsystem.cc
138 index e8ada85..914a8e2 100644
139 --- a/apt-0.5.15lorg3.2/apt-pkg/pkgsystem.cc
140 +++ b/apt-0.5.15lorg3.2/apt-pkg/pkgsystem.cc
141 @@ -16,7 +16,9 @@
142
143 #include <apt-pkg/pkgsystem.h>
144 #include <apt-pkg/policy.h>
145 - /*}}}*/
146 +#include <cstring>
147 + /*}}}*/
148 +
149
150 pkgSystem *_system = 0;
151 static pkgSystem *SysList[10];
152 diff --git a/apt-0.5.15lorg3.2/apt-pkg/rpm/repomd.cc b/apt-0.5.15lorg3.2/apt-pkg/rpm/repomd.cc
153 index f2e2b7f..9e18e81 100644
154 --- a/apt-0.5.15lorg3.2/apt-pkg/rpm/repomd.cc
155 +++ b/apt-0.5.15lorg3.2/apt-pkg/rpm/repomd.cc
156 @@ -19,7 +19,7 @@
157 #include <apt-pkg/error.h>
158 #include <libxml/parser.h>
159 #include <libxml/tree.h>
160 -
161 +#include <cstring>
162 #include <apti18n.h>
163
164 using namespace std;
165 diff --git a/apt-0.5.15lorg3.2/apt-pkg/rpm/rpmmisc.h b/apt-0.5.15lorg3.2/apt-pkg/rpm/rpmmisc.h
166 index bc28c20..8aadc51 100644
167 --- a/apt-0.5.15lorg3.2/apt-pkg/rpm/rpmmisc.h
168 +++ b/apt-0.5.15lorg3.2/apt-pkg/rpm/rpmmisc.h
169 @@ -4,6 +4,7 @@
170 #ifdef WITH_GNU_HASH_MAP
171
172 #include <ext/hash_map>
173 +#include <cstring>
174
175 using namespace __gnu_cxx;
176
177 diff --git a/apt-0.5.15lorg3.2/apt-pkg/rpm/rpmpm.cc b/apt-0.5.15lorg3.2/apt-pkg/rpm/rpmpm.cc
178 index 02d8eac..5fcd6fc 100644
179 --- a/apt-0.5.15lorg3.2/apt-pkg/rpm/rpmpm.cc
180 +++ b/apt-0.5.15lorg3.2/apt-pkg/rpm/rpmpm.cc
181 @@ -31,8 +31,9 @@
182 #include <sys/wait.h>
183 #include <signal.h>
184 #include <errno.h>
185 -#include <stdio.h>
186 +#include <cstdio>
187 #include <iostream>
188 +#include <cstring>
189
190 #if RPM_VERSION >= 0x040100
191 #include <rpm/rpmdb.h>
192 diff --git a/apt-0.5.15lorg3.2/apt-pkg/rpm/rpmrecords.cc b/apt-0.5.15lorg3.2/apt-pkg/rpm/rpmrecords.cc
193 index 4fb0f5f..727930d 100644
194 --- a/apt-0.5.15lorg3.2/apt-pkg/rpm/rpmrecords.cc
195 +++ b/apt-0.5.15lorg3.2/apt-pkg/rpm/rpmrecords.cc
196 @@ -16,7 +16,7 @@
197
198 #ifdef HAVE_RPM
199
200 -#include <assert.h>
201 +#include <cassert>
202
203 #include <apt-pkg/rpmrecords.h>
204 #include <apt-pkg/error.h>
205 @@ -24,6 +24,7 @@
206 #include <apt-pkg/rpmsystem.h>
207
208 #include <apti18n.h>
209 +#include <cstring>
210
211 using namespace std;
212