Package: sndobj / 2.6.6.1-3

03-gcc43.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
Origin: Debian
Description: Add missing #include <cstring> to prevent FTBFS with GCC 4.3.
---
 src/AdSyn.cpp   |    2 ++
 src/FFT.cpp     |    2 ++
 src/IFAdd.cpp   |    2 ++
 src/IFFT.cpp    |    1 +
 src/PVA.cpp     |    2 ++
 src/PVRead.cpp  |    2 ++
 src/PVS.cpp     |    1 +
 src/ReSyn.cpp   |    2 ++
 src/SinAnal.cpp |    2 ++
 src/SinSyn.cpp  |    2 ++
 src/SndRead.cpp |    2 ++
 11 files changed, 20 insertions(+)

--- SndObj-2.6.6.orig/src/AdSyn.cpp
+++ SndObj-2.6.6/src/AdSyn.cpp
@@ -22,6 +22,8 @@
 
 #include "AdSyn.h"
 
+#include <cstring>
+
 AdSyn::AdSyn(){
 
 }
--- SndObj-2.6.6.orig/src/FFT.cpp
+++ SndObj-2.6.6/src/FFT.cpp
@@ -27,6 +27,8 @@
 /////////////////////////////////////////////////
 #include "FFT.h"
 
+#include <cstring>
+
 FFT::FFT(){
 
   m_table = 0;
--- SndObj-2.6.6.orig/src/IFAdd.cpp
+++ SndObj-2.6.6/src/IFAdd.cpp
@@ -22,6 +22,8 @@
 
 #include "IFAdd.h"
 
+#include <cstring>
+
 IFAdd::IFAdd(){
 }
 
--- SndObj-2.6.6.orig/src/IFFT.cpp
+++ SndObj-2.6.6/src/IFFT.cpp
@@ -27,6 +27,7 @@
 /////////////////////////////////////////////////
 #include "IFFT.h"
 
+#include <cstring>
 
 IFFT::IFFT(){
 
--- SndObj-2.6.6.orig/src/PVA.cpp
+++ SndObj-2.6.6/src/PVA.cpp
@@ -27,6 +27,8 @@
 /////////////////////////////////////////////////
 #include "PVA.h"
 
+#include <cstring>
+
 PVA::PVA(){
   m_rotcount = 0;
   m_phases = new float[m_halfsize];
--- SndObj-2.6.6.orig/src/PVRead.cpp
+++ SndObj-2.6.6/src/PVRead.cpp
@@ -22,6 +22,8 @@
 
 #include "PVRead.h"
 
+#include <cstring>
+
 PVRead::PVRead(){
 	
   m_ioinput = 0;
--- SndObj-2.6.6.orig/src/PVS.cpp
+++ SndObj-2.6.6/src/PVS.cpp
@@ -28,6 +28,7 @@
 /////////////////////////////////////////////////
 #include "PVS.h"
 
+#include <cstring>
 
 PVS::PVS(){
   m_rotcount = m_vecsize;
--- SndObj-2.6.6.orig/src/ReSyn.cpp
+++ SndObj-2.6.6/src/ReSyn.cpp
@@ -24,6 +24,8 @@
 #include "ReSyn.h"
 #include "IFGram.h"
 
+#include <cstring>
+
 ReSyn::ReSyn(){
   AddMsg("pitch", 31);
   AddMsg("timescale", 32);
--- SndObj-2.6.6.orig/src/SinSyn.cpp
+++ SndObj-2.6.6/src/SinSyn.cpp
@@ -22,6 +22,8 @@
 
 #include "SinSyn.h"
 
+#include <cstring>
+
 SinSyn::SinSyn(){
 
   m_factor = m_vecsize/m_sr;
--- SndObj-2.6.6.orig/src/SndRead.cpp
+++ SndObj-2.6.6/src/SndRead.cpp
@@ -24,6 +24,8 @@
 #include "SndWave.h"
 #include "SndAiff.h"
 
+#include <cstring>
+
 SndRead::SndRead(){
 	
   m_pitch = 1.f;
--- SndObj-2.6.6.orig/src/SinAnal.cpp
+++ SndObj-2.6.6/src/SinAnal.cpp
@@ -22,6 +22,8 @@
 
 #include "SinAnal.h"
 
+#include <cstring>
+
 SinAnal::SinAnal(){
 	
 	m_thresh = 0.f;