aboutsummaryrefslogtreecommitdiffstats
path: root/math/gnumeric2
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-09-26 02:28:23 +0800
committermarcus <marcus@FreeBSD.org>2003-09-26 02:28:23 +0800
commit4a45c25270d839126a0fb88e72bf5a06e53cfcc3 (patch)
treec6850dc5e0b6d10da4ef2885485435c51770cd70 /math/gnumeric2
parent74ab37cbe3d3949cb26de0abc6d61b4be4ce1a4b (diff)
downloadfreebsd-ports-gnome-4a45c25270d839126a0fb88e72bf5a06e53cfcc3.tar.gz
freebsd-ports-gnome-4a45c25270d839126a0fb88e72bf5a06e53cfcc3.tar.zst
freebsd-ports-gnome-4a45c25270d839126a0fb88e72bf5a06e53cfcc3.zip
Fix patching.
Reported by: Mike Harding <mvh@ix.netcom.com>
Diffstat (limited to 'math/gnumeric2')
-rw-r--r--math/gnumeric2/files/patch-src_dialogs_dialog-sheet-order.c16
-rw-r--r--math/gnumeric2/files/patch-src_dialogs_dialog_sheet_order.c19
2 files changed, 16 insertions, 19 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..8f5ab3252578
--- /dev/null
+++ b/math/gnumeric2/files/patch-src_dialogs_dialog-sheet-order.c
@@ -0,0 +1,16 @@
+--- src/dialogs/dialog-sheet-order.c.orig Thu Sep 25 14:22:18 2003
++++ src/dialogs/dialog-sheet-order.c Thu Sep 25 14:25:48 2003
+@@ -106,12 +106,12 @@
+ 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); */
+
+ /* in gtk 2.0 we need: */
+- gint loc;
+ GtkTreePath *treepath = gtk_tree_model_get_path
+ (GTK_TREE_MODEL (model), iter);
+ gchar* path = gtk_tree_path_to_string (treepath);
diff --git a/math/gnumeric2/files/patch-src_dialogs_dialog_sheet_order.c b/math/gnumeric2/files/patch-src_dialogs_dialog_sheet_order.c
deleted file mode 100644
index c0c1392de52d..000000000000
--- a/math/gnumeric2/files/patch-src_dialogs_dialog_sheet_order.c
+++ /dev/null
@@ -1,19 +0,0 @@
---- 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);