Martin Michlmayr <[EMAIL PROTECTED]> (07/12/2007):
> Package: glademm
> Version: 2.6.0-1.4
> Usertags: ftbfs-gcc-4.3

Hi.

Preliminary patch, but insufficient.

Cheers,

-- 
Cyril Brulebois
--- a/src/Tag.cc
+++ b/src/Tag.cc
@@ -23,6 +23,8 @@
 #include <locale.h>
 #include <iostream>
 
+#include <cstring>
+
 const Tag *Tag::find(const std::string &tp) const
 {  const_iterator i=find(begin(),tp);
    if (i==end()) return 0;
--- a/src/writers/bonobo_dock.cc
+++ b/src/writers/bonobo_dock.cc
@@ -20,6 +20,8 @@
 
 #include "container.hh"
 
+#include <cstring>
+
 class Bonobo_Dock : public Gtk_Container
 {public:
 	typedef Gtk_Container Parent;
--- a/src/writers/bonobo_dockitem.cc
+++ b/src/writers/bonobo_dockitem.cc
@@ -20,6 +20,8 @@
 
 #include "bin.hh"
 
+#include <cstring>
+
 class Bonobo_DockItem : public Gtk_Bin
 {public:
 	typedef Gtk_Bin Parent;
--- a/src/writers/clist.cc
+++ b/src/writers/clist.cc
@@ -21,6 +21,8 @@
 #include "clist.hh"
 #include "../strsep.h"
 
+#include <cstring>
+
 static Gtk_CList Gtk_CList(false);
 
 const std::string Gtk_CList::TypeName(const Widget &w) const
--- a/src/writers/combo.cc
+++ b/src/writers/combo.cc
@@ -21,6 +21,8 @@
 #include "combo.hh"
 #include "../strsep.h"
 
+#include <cstring>
+
 static Gtk_Combo Gtk_Combo(false);
 
 const std::string Gtk_Combo::TypeName(const Widget &w) const
--- a/src/writers/ctree.cc
+++ b/src/writers/ctree.cc
@@ -21,6 +21,8 @@
 
 #include "container.hh"
 
+#include <cstring>
+
 class Gtk_CTree : public Gtk_Container
 {public:
 	typedef Gtk_Container Parent;
--- a/src/writers/gnome_about.cc
+++ b/src/writers/gnome_about.cc
@@ -21,6 +21,8 @@
 #include "gnome_dialog.hh"
 #include "../strsep.h"
 
+#include <cstring>
+
 class Gnome_About : public Gnome_Dialog
 {public:
 	typedef Gnome_Dialog Parent;
--- a/src/writers/optionmenu.cc
+++ b/src/writers/optionmenu.cc
@@ -21,6 +21,8 @@
 #include "button.hh"
 #include "../strsep.h"
 
+#include <cstring>
+
 class Gtk_OptionMenu : public Gtk_Button
 {	static const char * const MenuTags;
 	static Tag menu;
--- a/src/writers/xpmname.cc
+++ b/src/writers/xpmname.cc
@@ -2,6 +2,8 @@
 #include <string>
 #include <Configuration.hh>
 
+#include <cstring>
+
 // parts taken from
 /* xpmtoppm.c - read an X11 pixmap file and produce a portable pixmap
 **
--- a/src/TagStream.cc
+++ b/src/TagStream.cc
@@ -20,7 +20,8 @@
 #include "TagStream.hh"
 #include <cstring>
 #include <unistd.h>
-#include <algo.h>
+#include <algorithm>
+#include <iostream>
 
 //#define REMEMBER_EMPTY_SPACE
 
--- a/src/TagStream.hh
+++ b/src/TagStream.hh
@@ -26,6 +26,8 @@
 #include <fstream>
 #include <strstream>
 
+#include <cstring>
+
 class TagStream : public Tag
 {	// ---- for reading -----
 	// copied from _GbWidgetLoadData

Attachment: signature.asc
Description: Digital signature

Reply via email to