summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-09-25 16:06:44 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-09-25 16:06:44 +0000
commit39691bea91f9b65dc8027dfc29311bde33abfc14 (patch)
treec6bb9678637083a5f31294c134fc4be2e48717d9 /math
parentUpdate to 0.12.12 (diff)
Fix build on -STABLE.
Submitted by: Sergey Akifyev <asa@gascom.ru>
Notes
Notes: svn path=/head/; revision=89360
Diffstat (limited to 'math')
-rw-r--r--math/gnumeric2/files/patch-src_dialogs_dialog_sheet_order.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/math/gnumeric2/files/patch-src_dialogs_dialog_sheet_order.c b/math/gnumeric2/files/patch-src_dialogs_dialog_sheet_order.c
new file mode 100644
index 000000000000..c0c1392de52d
--- /dev/null
+++ b/math/gnumeric2/files/patch-src_dialogs_dialog_sheet_order.c
@@ -0,0 +1,19 @@
+--- src/dialogs/dialog-sheet-order.c.orig Thu Sep 25 11:53:53 2003
++++ src/dialogs/dialog-sheet-order.c Thu Sep 25 11:54:25 2003
+@@ -106,6 +106,8 @@
+ static gint
+ location_of_iter (GtkTreeIter *iter, GtkListStore *model)
+ {
++ gint loc;
++
+ /* Note: in gtk 2.2 we could just do: */
+ /* gchar* path = gtk_tree_model_get_string_from_iter */
+ /* (GTK_TREE_MODEL (model), iter); */
+@@ -117,7 +119,7 @@
+ gtk_tree_path_free (treepath);
+ /* end of gtk 2.0 code */
+
+- gint loc = atoi(path);
++ loc = atoi(path);
+
+ g_free (path);