Gentoo Archives: gentoo-commits

From: "Peter Alfredsen (loki_val)" <loki_val@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/beast/files: beast-0.7.1-gcc43.patch
Date: Sun, 02 Nov 2008 14:59:33
Message-Id: E1KweQN-00069L-6L@stork.gentoo.org
1 loki_val 08/11/02 14:59:31
2
3 Added: beast-0.7.1-gcc43.patch
4 Log:
5 Fix bug 240616 (gcc-4.3), thanks to Francisco José Cañizares Santofimia <telefrancisco@×××××.com> and bug 243000 (update-mime-database collision).
6 (Portage version: 2.2_rc13/cvs/Linux 2.6.27 x86_64)
7
8 Revision Changes Path
9 1.1 media-sound/beast/files/beast-0.7.1-gcc43.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/beast/files/beast-0.7.1-gcc43.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/beast/files/beast-0.7.1-gcc43.patch?rev=1.1&content-type=text/plain
13
14 Index: beast-0.7.1-gcc43.patch
15 ===================================================================
16 --- beast-0.7.1.orig/bse/tests/resamplehandle.cc
17 +++ beast-0.7.1/bse/tests/resamplehandle.cc
18 @@ -24,6 +24,7 @@
19 #include <bse/gsldatautils.h>
20 #include <bse/bseblockutils.hh>
21 #include <vector>
22 +#include <cstdlib>
23
24 using std::vector;
25 using std::max;
26 only in patch2:
27 unchanged:
28 --- beast-0.7.1.orig/bse/tests/firhandle.cc
29 +++ beast-0.7.1/bse/tests/firhandle.cc
30 @@ -26,6 +26,7 @@
31 #include <math.h>
32 #include <complex>
33 #include <vector>
34 +#include <cstdlib>
35
36 using std::vector;
37 using std::min;
38 only in patch2:
39 unchanged:
40 --- beast-0.7.1.orig/bse/tests/filtertest.cc
41 +++ beast-0.7.1/bse/tests/filtertest.cc
42 @@ -26,6 +26,7 @@
43 #include "topconfig.h"
44 #include <math.h>
45 #include <complex>
46 +#include <cstdlib>
47
48 typedef std::complex<double> Complex;
49 using namespace Birnet;
50 only in patch2:
51 unchanged:
52 --- beast-0.7.1.orig/bse/bseresamplerimpl.hh
53 +++ beast-0.7.1/bse/bseresamplerimpl.hh
54 @@ -23,6 +23,8 @@
55 #include <bse/bseresampler.hh>
56 #include <birnet/birnet.hh>
57 #include <math.h>
58 +#include <cstring>
59 +#include <cstdlib>
60 #ifdef __SSE__
61 #include <xmmintrin.h>
62 #endif
63 only in patch2:
64 unchanged:
65 --- beast-0.7.1.orig/bse/bseprocidl.cc
66 +++ beast-0.7.1/bse/bseprocidl.cc
67 @@ -24,6 +24,7 @@
68 #include <stdio.h>
69 #include <string>
70 #include <set>
71 +#include <cstring>
72
73 std::set<std::string> needTypes;
74 std::set<std::string> needClasses;
75 only in patch2:
76 unchanged:
77 --- beast-0.7.1.orig/bse/bsecxxplugin.hh
78 +++ beast-0.7.1/bse/bsecxxplugin.hh
79 @@ -56,7 +56,7 @@
80 #define BSE_CXX_REGISTER_STATIC_HOOK(HookType) BSE_CXX_REGISTER_HOOK_NODE (HookType, 1)
81 #define BSE_CXX_REGISTER_HOOK_NODE(HookType, __static) \
82 template<class E> static BseExportNode* bse_export_node (); \
83 - template<> static BseExportNode* \
84 + template<> BseExportNode* \
85 bse_export_node<HookType> () \
86 { \
87 static BseExportNodeHook hnode = { \
88 @@ -91,7 +91,7 @@
89 (::NameSpace::bse_type_keeper__3##EnumType.get_type ())
90 #define BSE_CXX_DECLARE_ENUM(EnumType,EnumName,N,ICode) \
91 template<class E> static BseExportNode* bse_export_node (); \
92 - template<> static BseExportNode* \
93 + template<> BseExportNode* \
94 bse_export_node<EnumType> () \
95 { \
96 static BseExportNodeEnum enode = { \
97 @@ -145,7 +145,7 @@
98 (::NameSpace::bse_type_keeper__1##RecordType.get_type ())
99 #define BSE_CXX_DECLARE_RECORD(RecordType) \
100 template<class E> static BseExportNode* bse_export_node (); \
101 - template<> static BseExportNode* \
102 + template<> BseExportNode* \
103 bse_export_node<RecordType> () \
104 { \
105 static BseExportNodeBoxed bnode = { \
106 @@ -181,7 +181,7 @@
107 (::NameSpace::bse_type_keeper__2##SequenceType.get_type ())
108 #define BSE_CXX_DECLARE_SEQUENCE(SequenceType) \
109 template<class E> static BseExportNode* bse_export_node (); \
110 - template<> static BseExportNode* \
111 + template<> BseExportNode* \
112 bse_export_node<SequenceType> () \
113 { \
114 static BseExportNodeBoxed bnode = { \
115 @@ -219,7 +219,7 @@
116 extern ::Bse::ExportTypeKeeper bse_type_keeper__9##ProcType;
117 #define BSE_CXX_REGISTER_PROCEDURE(ProcType) \
118 template<class C> static ::BseExportNode* bse_export_node (); \
119 - template<> static ::BseExportNode* \
120 + template<> ::BseExportNode* \
121 bse_export_node<Procedure::ProcType> () \
122 { \
123 static ::BseExportNodeProc pnode = { \
124 @@ -259,7 +259,7 @@
125 #define BSE_CXX_REGISTER_EFFECT(Effect) \
126 BSE_CXX_DEFINE_STATIC_DATA (Effect##Base); \
127 template<class C> static ::BseExportNode* bse_export_node (); \
128 - template<> static ::BseExportNode* \
129 + template<> ::BseExportNode* \
130 bse_export_node<Effect> () \
131 { \
132 static ::BseExportNodeClass cnode = { \
133 only in patch2:
134 unchanged:
135 --- beast-0.7.1.orig/bse/Makefile.in
136 +++ beast-0.7.1/bse/Makefile.in
137 @@ -422,7 +422,7 @@
138 # need -I$(srcdir) for "bseserver.h" in .genprc.c
139 # need -I. (builddir) for "bsecore.genidl.hh" in bsecore.cc
140 INCLUDES = -I$(top_srcdir) -I$(top_builddir) -I$(srcdir) -I. \
141 - $(BSE_CFLAGS) -DG_DISABLE_DEPRECATED -DG_DISABLE_CONST_RETURNS
142 + $(BSE_CFLAGS) -DG_DISABLE_CONST_RETURNS
143 EXTRA_HEADERS =
144 MAINTAINERCLEANFILES = $(GENERATED) $(am__append_2)
145 # -Wl,-Bsymbolic
146 only in patch2:
147 unchanged:
148 --- beast-0.7.1.orig/bse/bseloader-guspatch.cc
149 +++ beast-0.7.1/bse/bseloader-guspatch.cc
150 @@ -22,6 +22,7 @@
151 #include <errno.h>
152 #include <vector>
153 #include <string>
154 +#include <cstring>
155
156 #undef WITH_GUSPATCH_XINFOS
157 static SFI_MSG_TYPE_DEFINE (debug_guspatch, "guspatch", SFI_MSG_DEBUG, NULL);
158 only in patch2:
159 unchanged:
160 --- beast-0.7.1.orig/bse/bsesequencer.cc
161 +++ beast-0.7.1/bse/bsesequencer.cc
162 @@ -30,6 +30,7 @@
163 #include <fcntl.h>
164 #include <errno.h>
165 #include <vector>
166 +#include <cstring>
167
168 /* due to a linker/compiler bug on SuSE 9.2, we need to
169 * define extern "C" symbols outside of any C++ namespace,
170 only in patch2:
171 unchanged:
172 --- beast-0.7.1.orig/sfi/sfidl-cxxbase.cc
173 +++ beast-0.7.1/sfi/sfidl-cxxbase.cc
174 @@ -23,6 +23,7 @@
175 #include <unistd.h>
176 #include <errno.h>
177 #include <ctype.h>
178 +#include <cstring>
179 #include "sfidl-namespace.hh"
180 #include "sfidl-options.hh"
181 #include "sfidl-parser.hh"
182 only in patch2:
183 unchanged:
184 --- beast-0.7.1.orig/sfi/sfidl-namespace.cc
185 +++ beast-0.7.1/sfi/sfidl-namespace.cc
186 @@ -21,6 +21,7 @@
187 #include <list>
188 #include <string>
189 #include <map>
190 +#include <algorithm>
191 #include "sfidl-namespace.hh"
192 #include <sfi/glib-extra.h>
193
194 only in patch2:
195 unchanged:
196 --- beast-0.7.1.orig/sfi/sfidl-options.cc
197 +++ beast-0.7.1/sfi/sfidl-options.cc
198 @@ -22,6 +22,7 @@
199 #include "topconfig.h"
200 #include <sfi/glib-extra.h>
201 #include <stdio.h>
202 +#include <cstring>
203
204 /* FIXME: should be filled out and written into topconfig.h by configure */
205 #define SFIDL_VERSION BST_VERSION
206 only in patch2:
207 unchanged:
208 --- beast-0.7.1.orig/sfi/sficxx.hh
209 +++ beast-0.7.1/sfi/sficxx.hh
210 @@ -23,6 +23,7 @@
211 #include <sfi/sfi.h>
212 #include <string>
213 #include <new>
214 +#include <cstring>
215
216 namespace Sfi {
217
218 only in patch2:
219 unchanged:
220 --- beast-0.7.1.orig/sfi/sfidl-factory.cc
221 +++ beast-0.7.1/sfi/sfidl-factory.cc
222 @@ -18,6 +18,7 @@
223 */
224 #include "sfidl-factory.hh"
225 #include "glib-extra.h"
226 +#include <algorithm>
227
228 using namespace Sfidl;
229 using namespace std;
230 only in patch2:
231 unchanged:
232 --- beast-0.7.1.orig/sfi/sfidl-parser.cc
233 +++ beast-0.7.1/sfi/sfidl-parser.cc
234 @@ -27,6 +27,9 @@
235 #include <iostream>
236 #include <set>
237 #include <stack>
238 +#include <cstring>
239 +#include <cstdlib>
240 +#include <algorithm>
241
242 const std::string
243 Sfidl::string_from_int (long long int lli)
244 only in patch2:
245 unchanged:
246 --- beast-0.7.1.orig/tests/bse/filtertest.cc
247 +++ beast-0.7.1/tests/bse/filtertest.cc
248 @@ -28,6 +28,7 @@
249 #include <birnet/birnettests.h>
250 #include "topconfig.h"
251 #include <errno.h>
252 +#include <cstdlib>
253
254 using std::string;
255 using std::vector;
256 only in patch2:
257 unchanged:
258 --- beast-0.7.1.orig/tools/bsewavetool.cc
259 +++ beast-0.7.1/tools/bsewavetool.cc
260 @@ -34,6 +34,7 @@
261 #include <fcntl.h>
262 #include <vector>
263 #include <map>
264 +#include <algorithm>
265
266
267 namespace BseWaveTool {
268 only in patch2:
269 unchanged:
270 --- beast-0.7.1.orig/tools/bsefcompare.cc
271 +++ beast-0.7.1/tools/bsefcompare.cc
272 @@ -28,6 +28,7 @@
273 #include <sys/types.h>
274 #include <sys/stat.h>
275 #include <fcntl.h>
276 +#include <cstring>
277
278 #include "topconfig.h"
279
280 only in patch2:
281 unchanged:
282 --- beast-0.7.1.orig/tools/bsefextract.cc
283 +++ beast-0.7.1/tools/bsefextract.cc
284 @@ -27,6 +27,8 @@
285 #include <errno.h>
286 #include <assert.h>
287 #include "topconfig.h"
288 +#include <cstring>
289 +#include <cstdlib>
290
291 #include <map>
292 #include <string>
293 only in patch2:
294 unchanged:
295 --- beast-0.7.1.orig/birnet/tests/sorting.cc
296 +++ beast-0.7.1/birnet/tests/sorting.cc
297 @@ -19,6 +19,8 @@
298 // #define TEST_VERBOSE
299 #include <birnet/birnettests.h>
300 #include <math.h>
301 +#include <cstdlib>
302 +#include <algorithm>
303
304 namespace {
305 using namespace Birnet;
306 only in patch2:
307 unchanged:
308 --- beast-0.7.1.orig/birnet/tests/strings.cc
309 +++ beast-0.7.1/birnet/tests/strings.cc
310 @@ -18,6 +18,7 @@
311 */
312 //#define TEST_VERBOSE
313 #include <birnet/birnettests.h>
314 +#include <cstdlib>
315 using namespace Birnet;
316
317 namespace {
318 only in patch2:
319 unchanged:
320 --- beast-0.7.1.orig/birnet/tests/threads.cc
321 +++ beast-0.7.1/birnet/tests/threads.cc
322 @@ -18,6 +18,7 @@
323 */
324 //#define TEST_VERBOSE
325 #include <birnet/birnettests.h>
326 +#include <cstdlib>
327
328 namespace {
329 using namespace Birnet;
330 only in patch2:
331 unchanged:
332 --- beast-0.7.1.orig/birnet/birnetutils.cc
333 +++ beast-0.7.1/birnet/birnetutils.cc
334 @@ -31,6 +31,7 @@
335 #include <algorithm>
336 #include <cxxabi.h>
337 #include <signal.h>
338 +#include <cstring>
339
340 #ifndef _
341 #define _(s) s
342 only in patch2:
343 unchanged:
344 --- beast-0.7.1.orig/birnet/birnetsignal.hh
345 +++ beast-0.7.1/birnet/birnetsignal.hh
346 @@ -435,7 +435,7 @@
347 /* --- predefined signals --- */
348 template<class Emitter>
349 struct SignalFinalize : Signal0 <Emitter, void, ScopeReferenceFinalizationMark> {
350 - typedef Signal0<Emitter, void, ScopeReferenceFinalizationMark> Signal0;
351 + typedef Birnet::Signals::Signal0<Emitter, void, ScopeReferenceFinalizationMark> Signal0;
352 explicit SignalFinalize (Emitter &emitter) : Signal0 (emitter) {}
353 explicit SignalFinalize (Emitter &emitter, void (Emitter::*method) ()) : Signal0 (emitter, method) {}
354 BIRNET_PRIVATE_CLASS_COPY (SignalFinalize);
355 @@ -443,7 +443,7 @@
356
357 template<class Emitter>
358 struct SignalVoid : Signal0 <Emitter, void> {
359 - typedef Signal0<Emitter, void> Signal0;
360 + typedef Birnet::Signals::Signal0<Emitter, void> Signal0;
361 explicit SignalVoid (Emitter &emitter) : Signal0 (emitter) {}
362 explicit SignalVoid (Emitter &emitter, void (Emitter::*method) (void)) : Signal0 (emitter, method) {}
363 BIRNET_PRIVATE_CLASS_COPY (SignalVoid);
364 only in patch2:
365 unchanged:
366 --- beast-0.7.1.orig/birnet/birnetmsg.cc
367 +++ beast-0.7.1/birnet/birnetmsg.cc
368 @@ -21,6 +21,7 @@
369 #include "birnetthread.hh"
370 #include <syslog.h>
371 #include <errno.h>
372 +#include <cstring>
373
374 #ifndef _ // FIXME
375 #define _(x) (x)
376 only in patch2:
377 unchanged:
378 --- beast-0.7.1.orig/birnet/birnetsignaltemplate.hh
379 +++ beast-0.7.1/birnet/birnetsignaltemplate.hh
380 @@ -165,7 +165,7 @@
381 template<class Emitter, typename R0, typename A1, typename A2, typename A3, class Collector>
382 struct Signal<Emitter, R0 (A1, A2, A3), Collector> : Signal3<Emitter, R0, A1, A2, A3, Collector>
383 {
384 - typedef Signal3<Emitter, R0, A1, A2, A3, Collector> Signal3;
385 + typedef Birnet::Signals::Signal3<Emitter, R0, A1, A2, A3, Collector> Signal3;
386 explicit Signal (Emitter &emitter) :
387 Signal3 (emitter)
388 {}