1 |
aballier 08/04/20 17:38:10 |
2 |
|
3 |
Added: traverso-0.42.0-gcc43.patch |
4 |
Log: |
5 |
fix build with gcc 4.3, by Peter Alfredsen <peter.alfredsen@×××××.com>, bug #217831 |
6 |
(Portage version: 2.1.5_rc5) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 media-sound/traverso/files/traverso-0.42.0-gcc43.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/traverso/files/traverso-0.42.0-gcc43.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/traverso/files/traverso-0.42.0-gcc43.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: traverso-0.42.0-gcc43.patch |
15 |
=================================================================== |
16 |
--- traverso-0.42.0.orig/src/traverso/Main.cpp |
17 |
+++ traverso-0.42.0/src/traverso/Main.cpp |
18 |
@@ -31,6 +31,7 @@ |
19 |
// Always put me below _all_ includes, this is needed |
20 |
// in case we run with memory leak detection enabled! |
21 |
#include "Debugger.h" |
22 |
+#include <cstdlib> |
23 |
|
24 |
|
25 |
Traverso* traverso; |
26 |
--- traverso-0.42.0.orig/src/traverso/songcanvas/TimeLineView.cpp |
27 |
+++ traverso-0.42.0/src/traverso/songcanvas/TimeLineView.cpp |
28 |
@@ -48,6 +48,7 @@ |
29 |
// Always put me below _all_ includes, this is needed |
30 |
// in case we run with memory leak detection enabled! |
31 |
#include "Debugger.h" |
32 |
+#include <cstdlib> |
33 |
|
34 |
|
35 |
#define MARKER_SOFT_SELECTION_DISTANCE 50 |
36 |
--- traverso-0.42.0.orig/src/core/ReadSource.cpp |
37 |
+++ traverso-0.42.0/src/core/ReadSource.cpp |
38 |
@@ -35,7 +35,9 @@ |
39 |
// Always put me below _all_ includes, this is needed |
40 |
// in case we run with memory leak detection enabled! |
41 |
#include "Debugger.h" |
42 |
- |
43 |
+#ifndef LONG_LONG_MAX |
44 |
+#define LONG_LONG_MAX __LONG_LONG_MAX__ |
45 |
+#endif |
46 |
|
47 |
/** |
48 |
* \class ReadSource |
49 |
|
50 |
|
51 |
|
52 |
|
53 |
-- |
54 |
gentoo-commits@l.g.o mailing list |