gtkmm2/gtkmm2-gcc43.patch

61 lines
2.1 KiB
Diff

Index: gtkmm-2.12.0/gtk/gtkmm/scale.cc
===================================================================
--- gtkmm-2.12.0.orig/gtk/gtkmm/scale.cc 2007-08-13 13:59:32.000000000 +0200
+++ gtkmm-2.12.0/gtk/gtkmm/scale.cc 2007-10-17 12:23:28.000000000 +0200
@@ -32,6 +32,7 @@
#include <gtk/gtkhscale.h>
#include <gtk/gtkvscale.h>
#include <math.h>
+#include <cstring>
namespace Gtk
{
Index: gtkmm-2.12.0/gtk/gtkmm/targetentry.cc
===================================================================
--- gtkmm-2.12.0.orig/gtk/gtkmm/targetentry.cc 2007-08-13 13:47:00.000000000 +0200
+++ gtkmm-2.12.0/gtk/gtkmm/targetentry.cc 2007-10-17 13:43:35.000000000 +0200
@@ -21,6 +21,7 @@
*/
#include <gtkmm/targetentry.h>
+#include <cstring>
namespace Gtk
Index: gtkmm-2.12.0/examples/book/custom/custom_widget/mywidget.cc
===================================================================
--- gtkmm-2.12.0.orig/examples/book/custom/custom_widget/mywidget.cc 2007-08-13 13:50:24.000000000 +0200
+++ gtkmm-2.12.0/examples/book/custom/custom_widget/mywidget.cc 2007-10-17 13:53:39.000000000 +0200
@@ -20,6 +20,7 @@
#include <gdkmm/drawable.h>
#include <gdkmm/general.h> // for cairo helper functions
#include <iostream>
+#include <cstring>
//#include <gtk/gtkwidget.h> //For GTK_IS_WIDGET()
Index: gtkmm-2.12.0/demos/gtk-demo/demowindow.cc
===================================================================
--- gtkmm-2.12.0.orig/demos/gtk-demo/demowindow.cc 2007-08-13 13:49:46.000000000 +0200
+++ gtkmm-2.12.0/demos/gtk-demo/demowindow.cc 2007-10-17 14:15:31.000000000 +0200
@@ -30,6 +30,7 @@
#include <vector>
#include <cctype>
#include <cerrno>
+#include <cstring>
#include <stdio.h>
#ifdef NEED_FLOCKFILE_PROTO
Index: gtkmm-2.12.0/demos/gtk-demo/textwidget.cc
===================================================================
--- gtkmm-2.12.0.orig/demos/gtk-demo/textwidget.cc 2007-08-13 13:49:46.000000000 +0200
+++ gtkmm-2.12.0/demos/gtk-demo/textwidget.cc 2007-10-17 14:34:06.000000000 +0200
@@ -21,6 +21,7 @@
#include "textwidget.h"
#include "pangomm/fontdescription.h"
+#include <cstring>
TextWidget::TextWidget(bool is_source)