tags 417122 + patch thanks Hi,
Attached is the diff for my bobot++ 1:1.97-10.1 NMU. -- James GPG Key: 1024D/61326D40 2003-09-02 James Vega <[EMAIL PROTECTED]>
diff -u bobot++-1.97/configure bobot++-1.97/configure
--- bobot++-1.97/configure
+++ bobot++-1.97/configure
@@ -1904,9 +1904,9 @@
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
cat > conftest.$ac_ext <<EOF
- #include <list.h>
+ #include <list>
int main() {
- list<int> l;
+ std::list<int> l;
return 0;
};
EOF
@@ -1949,9 +1949,9 @@
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
cat > conftest.$ac_ext <<EOF
- #include <map.h>
+ #include <map>
int main() {
- map<int, int, less<int> > m;
+ std::map<int, int, std::less<int> > m;
m.clear();
return 0;
};
diff -u bobot++-1.97/debian/changelog bobot++-1.97/debian/changelog
--- bobot++-1.97/debian/changelog
+++ bobot++-1.97/debian/changelog
@@ -1,3 +1,12 @@
+bobot++ (1:1.97-10.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Explicitly include needed headers to fix FTBFS with gcc-4.3. (Closes:
+ #417122)
+ * Use the proper headers and namespace for the C++ tests run by configure.
+
+ -- James Vega <[EMAIL PROTECTED]> Sun, 09 Mar 2008 03:26:28 -0400
+
bobot++ (1:1.97-10) unstable; urgency=low
* debian/control:
diff -u bobot++-1.97/source/ShitList.C bobot++-1.97/source/ShitList.C
--- bobot++-1.97/source/ShitList.C
+++ bobot++-1.97/source/ShitList.C
@@ -15,6 +15,7 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#include <cstdlib>
#include <fstream>
#include "ShitList.H"
diff -u bobot++-1.97/source/String.C bobot++-1.97/source/String.C
--- bobot++-1.97/source/String.C
+++ bobot++-1.97/source/String.C
@@ -17,6 +17,7 @@
#include "String.H"
+#include <cstdlib>
#include <cstring>
#include <cctype>
#include <sstream>
diff -u bobot++-1.97/source/UserCommands.C bobot++-1.97/source/UserCommands.C
--- bobot++-1.97/source/UserCommands.C
+++ bobot++-1.97/source/UserCommands.C
@@ -16,6 +16,7 @@
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#include <fstream>
+#include <cstring>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
diff -u bobot++-1.97/source/UserList.C bobot++-1.97/source/UserList.C
--- bobot++-1.97/source/UserList.C
+++ bobot++-1.97/source/UserList.C
@@ -15,6 +15,7 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#include <cstdlib>
#include <fstream>
#include "UserList.H"
signature.asc
Description: Digital signature

