tag 454863 patch thanks Martin Michlmayr <tbm@cyrius.com> (07/12/2007): > Package: gnome-apt > Version: 0.4.9-4 > Usertags: ftbfs-gcc-4.3 Hi, please find attached a patch to fix this FTBFS. Cheers, -- Cyril Brulebois
--- a/src/childprocess.cc
+++ b/src/childprocess.cc
@@ -33,6 +33,8 @@
#include <glib/gi18n.h>
#include <gtk/gtk.h>
+#include <cstring>
+
#ifndef HAS_I18N
#define HAS_I18N
#endif
--- a/src/drawtree.cc
+++ b/src/drawtree.cc
@@ -35,6 +35,8 @@
#include <math.h>
#include <gdk/gdkkeysyms.h>
+#include <cstring>
+
#include "conffile.h"
#include "drawtree.h"
#include "gaptdrawingarea.h"
--- a/src/menus.cc
+++ b/src/menus.cc
@@ -37,6 +37,8 @@
#include "sources.h"
#include <cstdlib>
+#include <cstring>
+
#define GNOME_APT_LOGO "/usr/share/pixmaps/gnome-apt.png"
static void set_order_cb (GtkRadioAction*, GtkRadioAction*, gpointer);
--- a/src/sources.cc
+++ b/src/sources.cc
@@ -36,6 +36,8 @@
#include "sources.h"
#include "sources-wizard.h"
+#include <cstring>
+
enum {
C_STATUS,
C_TYPE,
Attachment:
signature.asc
Description: Digital signature