[-]
[+]
|
Added |
speech_tools-1.2.95-includes.patch
|
@@ -0,0 +1,1559 @@
+--- speech_tools/audio/esd.cc
++++ speech_tools/audio/esd.cc
+@@ -42,12 +42,16 @@
+ #include <string.h>
+ #include <stdlib.h>
+ #include <ctype.h>
++#include <unistd.h>
+ #include <sys/stat.h>
++#include <sstream>
+ #include "EST_Wave.h"
+ #include "EST_Option.h"
+ #include "audioP.h"
+ #include "EST_io_aux.h"
+
++using namespace std;
++
+ #ifdef SUPPORT_ESD
+
+ // Hack hack. aupvlist.h is broken at least on FBSD 3.1.1
+--- speech_tools/audio/gen_audio.cc
++++ speech_tools/audio/gen_audio.cc
+@@ -38,7 +38,7 @@
+ /*=======================================================================*/
+
+ #include <stdlib.h>
+-#include <iostream.h>
++#include <iostream>
+ #include <string.h>
+ #include <math.h>
+ #include <fcntl.h>
+--- speech_tools/base_class/EST_DMatrix.cc
++++ speech_tools/base_class/EST_DMatrix.cc
+@@ -40,7 +40,7 @@
+
+ #include <stdlib.h>
+ #include <stdio.h>
+-#include <fstream.h>
++#include <fstream>
+ #include <math.h>
+ #include <limits.h>
+ #include "EST_String.h"
+--- speech_tools/base_class/EST_FMatrix.cc
++++ speech_tools/base_class/EST_FMatrix.cc
+@@ -39,7 +39,7 @@
+
+ #include <stdlib.h>
+ #include <stdio.h>
+-#include <fstream.h>
++#include <fstream>
+ #include <math.h>
+ #include <limits.h>
+ #include "EST_String.h"
+--- speech_tools/base_class/EST_FeatureData.cc
++++ speech_tools/base_class/EST_FeatureData.cc
+@@ -45,8 +45,8 @@
+ #include "EST_Token.h"
+ #include "EST_FileType.h"
+ #include "EST_error.h"
+-#include <iostream.h>
+-#include <fstream.h>
++#include <iostream>
++#include <fstream>
+
+ #include "EST_THash.h"
+
+--- speech_tools/base_class/EST_IMatrix.cc
++++ speech_tools/base_class/EST_IMatrix.cc
+@@ -39,7 +39,7 @@
+
+ #include <stdlib.h>
+ #include <stdio.h>
+-#include <fstream.h>
++#include <fstream>
+ #include <math.h>
+ #include <limits.h>
+ #include "EST_String.h"
+--- speech_tools/base_class/EST_SMatrix.cc
++++ speech_tools/base_class/EST_SMatrix.cc
+@@ -39,7 +39,7 @@
+
+ #include <stdlib.h>
+ #include <stdio.h>
+-#include <fstream.h>
++#include <fstream>
+ #include <math.h>
+ #include <limits.h>
+ #include "EST_String.h"
+--- speech_tools/base_class/EST_TMatrix.cc
++++ speech_tools/base_class/EST_TMatrix.cc
+@@ -39,8 +39,8 @@
+ /*************************************************************************/
+
+ #include "EST_TMatrix.h"
+-#include <fstream.h>
+-#include <iostream.h>
++#include <fstream>
++#include <iostream>
+ #include "EST_bool.h"
+ #include "EST_matrix_support.h"
+ #include "EST_TVector.h"
+--- speech_tools/base_class/EST_TNamedEnum.cc
++++ speech_tools/base_class/EST_TNamedEnum.cc
+@@ -40,7 +40,7 @@
+ /************************************************************************/
+
+ #include <stdlib.h>
+-#include <iostream.h>
++#include <iostream>
+ #include <stdio.h>
+ #include "EST_walloc.h"
+ #include "EST_TNamedEnum.h"
+--- speech_tools/base_class/EST_TSimpleMatrix.cc
++++ speech_tools/base_class/EST_TSimpleMatrix.cc
+@@ -42,10 +42,12 @@
+
+ #include "EST_TSimpleMatrix.h"
+ #include "EST_TVector.h"
+-#include <fstream.h>
+-#include <iostream.h>
++#include <fstream>
++#include <iostream>
+ #include "EST_cutils.h"
+
++using namespace std;
++
+ template<class T>
+ void EST_TSimpleMatrix<T>::copy_data(const EST_TSimpleMatrix<T> &a)
+ {
+--- speech_tools/base_class/EST_TSimpleVector.cc
++++ speech_tools/base_class/EST_TSimpleVector.cc
+@@ -42,7 +42,7 @@
+
+ #include "EST_TSimpleVector.h"
+ #include "EST_matrix_support.h"
+-#include <fstream.h>
++#include <fstream>
+ #include "EST_cutils.h"
+
+ template<class T> void EST_TSimpleVector<T>::copy(const EST_TSimpleVector<T> &a)
+--- speech_tools/base_class/EST_TVector.cc
++++ speech_tools/base_class/EST_TVector.cc
+@@ -39,8 +39,8 @@
+ /*************************************************************************/
+
+
+-#include <iostream.h>
+-#include <fstream.h>
++#include <iostream>
++#include <fstream>
+ #include "EST_TVector.h"
+ #include "EST_matrix_support.h"
+ #include "EST_cutils.h"
+--- speech_tools/base_class/EST_Token.cc
++++ speech_tools/base_class/EST_Token.cc
+@@ -39,7 +39,7 @@
+ /* */
+ /*=======================================================================*/
+ #include <stdio.h>
+-#include <iostream.h>
++#include <iostream>
+ #include "EST_unix.h"
+ #include <stdlib.h>
+ #include <limits.h>
+--- speech_tools/base_class/EST_Tvectlist.cc
++++ speech_tools/base_class/EST_Tvectlist.cc
+@@ -37,7 +37,7 @@
+ /* only include this if you define both vectors and lists for the class */
+ /* */
+ /*=======================================================================*/
+-#include <fstream.h>
++#include <fstream>
+ #include "EST_TList.h"
+ #include "EST_TVector.h"
+ #include "EST_cutils.h"
+--- speech_tools/base_class/EST_ilist_aux.cc
++++ speech_tools/base_class/EST_ilist_aux.cc
+@@ -41,8 +41,8 @@
+ #include <ctype.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include <fstream.h>
+-#include <iostream.h>
++#include <fstream>
++#include <iostream>
+ #include "EST_types.h"
+ #include "EST_String.h"
+ #include "EST_Pathname.h"
+--- speech_tools/base_class/EST_matrix_support.cc
++++ speech_tools/base_class/EST_matrix_support.cc
+@@ -38,7 +38,7 @@
+ /* */
+ /*************************************************************************/
+
+-#include <iostream.h>
++#include <iostream>
+ #include "EST_TVector.h"
+ #include "EST_matrix_support.h"
+ #include "EST_bool.h"
+--- speech_tools/base_class/EST_slist_aux.cc
|