aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2013-08-31 18:55:09 +0000
committerKoop Mast <kwm@FreeBSD.org>2013-08-31 18:55:09 +0000
commitf5ff76c5236302caa39e36910d600fb9820b0182 (patch)
tree1ed4e6d9460d43e27347263c0180fa027f9206a1 /x11-toolkits
parente4192b7612df1590593c09a3af40e8ff253a37f5 (diff)
downloadports-f5ff76c5236302caa39e36910d600fb9820b0182.tar.gz
ports-f5ff76c5236302caa39e36910d600fb9820b0182.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gtkmm20/files/patch-gtk_gtkmm_scale.cc10
-rw-r--r--x11-toolkits/gtkmm20/files/patch-gtk_gtkmm_treeview.h19
2 files changed, 29 insertions, 0 deletions
diff --git a/x11-toolkits/gtkmm20/files/patch-gtk_gtkmm_scale.cc b/x11-toolkits/gtkmm20/files/patch-gtk_gtkmm_scale.cc
new file mode 100644
index 000000000000..919db84d7620
--- /dev/null
+++ b/x11-toolkits/gtkmm20/files/patch-gtk_gtkmm_scale.cc
@@ -0,0 +1,10 @@
+--- gtk/gtkmm/scale.cc.orig 2013-08-31 20:43:53.000000000 +0200
++++ gtk/gtkmm/scale.cc 2013-08-31 20:49:39.000000000 +0200
+@@ -31,6 +31,7 @@
+ #include <gtk/gtkhscale.h>
+ #include <gtk/gtkvscale.h>
+ #include <math.h>
++#include <cstdlib>
+
+ namespace Gtk
+ {
diff --git a/x11-toolkits/gtkmm20/files/patch-gtk_gtkmm_treeview.h b/x11-toolkits/gtkmm20/files/patch-gtk_gtkmm_treeview.h
new file mode 100644
index 000000000000..2dbcf54ee899
--- /dev/null
+++ b/x11-toolkits/gtkmm20/files/patch-gtk_gtkmm_treeview.h
@@ -0,0 +1,19 @@
+--- gtk/gtkmm/treeview.h.orig 2013-08-31 15:49:24.000000000 +0200
++++ gtk/gtkmm/treeview.h 2013-08-31 15:59:45.000000000 +0200
+@@ -3,6 +3,7 @@
+ #ifndef _GTKMM_TREEVIEW_H
+ #define _GTKMM_TREEVIEW_H
+
++#include <cstdlib>
+ #include <glibmm.h>
+
+ /* $Id: treeview.hg,v 1.71 2004/06/03 09:38:35 murrayc Exp $ */
+@@ -1296,7 +1297,7 @@
+
+ //Convert the text to a number, using the same logic used by GtkCellRendererText when it stores numbers.
+ char* pchEnd = 0;
+- ColumnType new_value = static_cast<ColumnType>( strtod(new_text.c_str(), &pchEnd) );
++ ColumnType new_value = static_cast<ColumnType>( std::strtod(new_text.c_str(), &pchEnd) );
+
+ //Store the user's new text in the model:
+ Gtk::TreeRow row = *iter;