tags 461681 + patch thanks Please find attached a patch to fix the ftpgrab FTBFS.
HTH. Kumar -- Kumar Appaiah, 458, Jamuna Hostel, Indian Institute of Technology Madras, Chennai - 600 036
only in patch2:
unchanged:
--- ftpgrab-0.1.2r.orig/fgdlist.h
+++ ftpgrab-0.1.2r/fgdlist.h
@@ -8,9 +8,11 @@
#endif
#ifndef __SGI_STL_VECTOR_H
-#include <vector.h>
+#include <vector>
#endif
+using namespace std;
+
#ifndef _FGSTRING_H
#define "fgstring.h"
#endif
only in patch2:
unchanged:
--- ftpgrab-0.1.2r.orig/fgalist.h
+++ ftpgrab-0.1.2r/fgalist.h
@@ -7,9 +7,11 @@
// a given grab rule e.g. fetch file A, delete file B
#ifndef __SGI_STL_VECTOR_H
-#include <vector.h>
+#include <vector>
#endif
+using namespace std;
+
class FGActionInterface;
class FGActionList : public vector<FGActionInterface*> {
only in patch2:
unchanged:
--- ftpgrab-0.1.2r.orig/fgfilelist.cc
+++ ftpgrab-0.1.2r/fgfilelist.cc
@@ -7,9 +7,11 @@
#endif
#ifndef __SGI_STL_VECTOR_H
-#include <vector.h>
+#include <vector>
#endif
+using namespace std;
+
#ifndef _FGSTRING_H
#define "fgstring.h"
#endif
only in patch2:
unchanged:
--- ftpgrab-0.1.2r.orig/fgpickbest.cc
+++ ftpgrab-0.1.2r/fgpickbest.cc
@@ -27,9 +27,11 @@
#endif
#ifndef __SGI_STL_MAP_H
-#include <map.h>
+#include <map>
#endif
+using namespace std;
+
#include <assert.h>
#undef DEBUG_PICKER
only in patch2:
unchanged:
--- ftpgrab-0.1.2r.orig/fgbdfname.cc
+++ ftpgrab-0.1.2r/fgbdfname.cc
@@ -31,9 +31,11 @@
#endif
#ifndef __SGI_STL_VECTOR_H
-#include <vector.h>
+#include <vector>
#endif
+using namespace std;
+
struct FGBrokenDownFileName::Internal_FGBrokenDownFileName {
vector<FGFileNameComponent*> mComponents;
};
only in patch2:
unchanged:
--- ftpgrab-0.1.2r.orig/fgmrank.cc
+++ ftpgrab-0.1.2r/fgmrank.cc
@@ -3,9 +3,11 @@
#include "fgmrank.h"
#ifndef __SGI_STL_VECTOR_H
-#include <vector.h>
+#include <vector>
#endif
+using namespace std;
+
struct FGMatchRanking::Internal_FGMatchRanking {
bool mIsMatch;
vector<int> mValues;
signature.asc
Description: Digital signature

