Gentoo Archives: gentoo-commits

From: "Samuli Suominen (drac)" <drac@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/rubberband/files: rubberband-1.0.1-gcc43.patch
Date: Mon, 28 Apr 2008 17:09:31
Message-Id: E1JqWof-0006oE-Nl@stork.gentoo.org
1 drac 08/04/28 17:07:01
2
3 Added: rubberband-1.0.1-gcc43.patch
4 Log:
5 GCC 4.3 fix wrt #219539, thanks to Peter Alfredsen.
6 (Portage version: 2.1.5_rc6)
7
8 Revision Changes Path
9 1.1 media-libs/rubberband/files/rubberband-1.0.1-gcc43.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/rubberband/files/rubberband-1.0.1-gcc43.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/rubberband/files/rubberband-1.0.1-gcc43.patch?rev=1.1&content-type=text/plain
13
14 Index: rubberband-1.0.1-gcc43.patch
15 ===================================================================
16 diff -NrU5 rubberband-1.0.1.orig/src/FFT.cpp rubberband-1.0.1/src/FFT.cpp
17 --- rubberband-1.0.1.orig/src/FFT.cpp 2007-12-13 23:15:03.000000000 +0100
18 +++ rubberband-1.0.1/src/FFT.cpp 2008-04-27 23:40:14.000000000 +0200
19 @@ -21,10 +21,11 @@
20 #include <cmath>
21 #include <iostream>
22 #include <map>
23 #include <cstdio>
24 #include <vector>
25 +#include <cstdlib>
26
27 namespace RubberBand {
28
29 class FFTImpl
30 {
31 diff -NrU5 rubberband-1.0.1.orig/src/main.cpp rubberband-1.0.1/src/main.cpp
32 --- rubberband-1.0.1.orig/src/main.cpp 2007-12-13 23:15:03.000000000 +0100
33 +++ rubberband-1.0.1/src/main.cpp 2008-04-27 23:42:16.000000000 +0200
34 @@ -13,10 +13,12 @@
35 */
36
37 #include "RubberBandStretcher.h"
38
39 #include <iostream>
40 +#include <cstring>
41 +#include <cstdlib>
42 #include <sndfile.h>
43 #include <cmath>
44 #include <sys/time.h>
45 #include <time.h>
46 #include "sysutils.h"
47 diff -NrU5 rubberband-1.0.1.orig/src/RingBuffer.h rubberband-1.0.1/src/RingBuffer.h
48 --- rubberband-1.0.1.orig/src/RingBuffer.h 2007-12-13 23:15:03.000000000 +0100
49 +++ rubberband-1.0.1/src/RingBuffer.h 2008-04-27 23:15:08.000000000 +0200
50 @@ -14,10 +14,11 @@
51
52 #ifndef _RUBBERBAND_RINGBUFFER_H_
53 #define _RUBBERBAND_RINGBUFFER_H_
54
55 #include <sys/types.h>
56 +#include <cstring>
57
58 #ifndef _WIN32
59 #include <sys/mman.h>
60 #endif
61
62 diff -NrU5 rubberband-1.0.1.orig/src/StretchCalculator.cpp rubberband-1.0.1/src/StretchCalculator.cpp
63 --- rubberband-1.0.1.orig/src/StretchCalculator.cpp 2007-12-13 23:15:03.000000000 +0100
64 +++ rubberband-1.0.1/src/StretchCalculator.cpp 2008-04-27 23:38:56.000000000 +0200
65 @@ -17,10 +17,11 @@
66 #include <math.h>
67 #include <iostream>
68 #include <deque>
69 #include <set>
70 #include <cassert>
71 +#include <algorithm>
72
73 namespace RubberBand
74 {
75
76 StretchCalculator::StretchCalculator(size_t sampleRate,
77 diff -NrU5 rubberband-1.0.1.orig/src/Thread.cpp rubberband-1.0.1/src/Thread.cpp
78 --- rubberband-1.0.1.orig/src/Thread.cpp 2007-12-13 23:15:03.000000000 +0100
79 +++ rubberband-1.0.1/src/Thread.cpp 2008-04-27 23:41:09.000000000 +0200
80 @@ -13,10 +13,11 @@
81 */
82
83 #include "Thread.h"
84
85 #include <iostream>
86 +#include <cstdlib>
87
88 #include <sys/time.h>
89 #include <time.h>
90
91 //#define DEBUG_THREAD 1
92 diff -NrU5 rubberband-1.0.1.orig/src/Window.h rubberband-1.0.1/src/Window.h
93 --- rubberband-1.0.1.orig/src/Window.h 2007-12-13 23:15:03.000000000 +0100
94 +++ rubberband-1.0.1/src/Window.h 2008-04-27 23:35:43.000000000 +0200
95 @@ -16,10 +16,11 @@
96 #define _RUBBERBAND_WINDOW_H_
97
98 #include <cmath>
99 #include <iostream>
100 #include <map>
101 +#include <cstdlib>
102
103 namespace RubberBand {
104
105 enum WindowType {
106 RectangularWindow,
107
108
109
110 --
111 gentoo-commits@l.g.o mailing list