Hi,

here is a patch for this problem:


diff -u gfccore-2.3.1/debian/changelog gfccore-2.3.1/debian/changelog
--- gfccore-2.3.1/debian/changelog
+++ gfccore-2.3.1/debian/changelog
@@ -1,3 +1,10 @@
+gfccore (2.3.1-6.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * FTBFS with g++-4.3: Missing includes (Closes: #472563)
+
+ -- Stefan Ritter <[EMAIL PROTECTED]>  Sat, 05 Apr 2008 15:07:51 +0200
+
 gfccore (2.3.1-6) unstable; urgency=low

   * Rebuild linking with libsigc++-2.0-0c2a.
only in patch2:
unchanged:
--- gfccore-2.3.1.orig/gfc/utfstring.loT
+++ gfccore-2.3.1/gfc/utfstring.loT
@@ -0,0 +1,7 @@
+# utfstring.lo - a libtool object file
+# Generated by ltmain.sh - GNU libtool 1.5.6 (1.1220.2.95 2004/04/11 05:50:42)
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
only in patch2:
unchanged:
--- gfccore-2.3.1.orig/gfc/utfstring.cc
+++ gfccore-2.3.1/gfc/utfstring.cc
@@ -24,6 +24,7 @@
 #include <glib/gmem.h>
 #include <glib/gstrfuncs.h>
 #include <iostream>
+#include <cstring>

 #define std_iterator(i) (std::string::iterator(const_cast<char*>(i.base())))

only in patch2:
unchanged:
--- gfccore-2.3.1.orig/gfc/glib/spawn.hh
+++ gfccore-2.3.1/gfc/glib/spawn.hh
@@ -19,6 +19,10 @@
 /// @file gfc/glib/spawn.hh
 /// @brief A C++ interface for the GLib spawn functions.

+#include <cstring>
+#include <string>
+using std::string;
+
 #ifndef GFC_G_SPAWN_HH
 #define GFC_G_SPAWN_HH

only in patch2:
unchanged:
--- gfccore-2.3.1.orig/gfc/trackable.cc
+++ gfccore-2.3.1/gfc/trackable.cc
@@ -19,6 +19,7 @@
  */

 #include "trackable.hh"
+#include <algorithm>

 using namespace GFC;


-- 
Stefan Ritter
Tel.: +49 (0) 2161 / 4643 - 197

credativ GmbH, HRB Mönchengladbach 12080
Hohenzollernstr. 133, 41061 Mönchengladbach
Geschäftsführung: Dr. Michael Meskes, Jörg Folz


Reply via email to