aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/slingshot
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2013-09-18 07:07:08 +0000
committerCy Schubert <cy@FreeBSD.org>2013-09-18 07:07:08 +0000
commitd2f630b20ab1566e6bdf7309b1b8a68a6c4f7c6e (patch)
tree10597b7ea28dfb16d81c786860e26e49c113d5a4 /x11-toolkits/slingshot
parent16c11d8f65c37275a795e634ecb1a218b34b7a80 (diff)
downloadports-d2f630b20ab1566e6bdf7309b1b8a68a6c4f7c6e.tar.gz
ports-d2f630b20ab1566e6bdf7309b1b8a68a6c4f7c6e.zip
Notes
Diffstat (limited to 'x11-toolkits/slingshot')
-rw-r--r--x11-toolkits/slingshot/files/patch-examples-grip-puzzdemo.c11
-rw-r--r--x11-toolkits/slingshot/files/patch-examples-tree-tlstool.c11
-rw-r--r--x11-toolkits/slingshot/files/patch-src-array.c33
3 files changed, 55 insertions, 0 deletions
diff --git a/x11-toolkits/slingshot/files/patch-examples-grip-puzzdemo.c b/x11-toolkits/slingshot/files/patch-examples-grip-puzzdemo.c
new file mode 100644
index 000000000000..61a78fb4cea4
--- /dev/null
+++ b/x11-toolkits/slingshot/files/patch-examples-grip-puzzdemo.c
@@ -0,0 +1,11 @@
+--- examples/grip/puzzdemo.c.orig 1993-10-25 16:39:39.000000000 -0700
++++ examples/grip/puzzdemo.c 2013-09-17 08:44:03.422374693 -0700
+@@ -628,7 +628,7 @@
+ for (x=0; x< N_HORI; x++)
+ if(xv_get(puzzle_tile, ARRAY_TILE_POSITION, x, y) !=
+ get_solved_piece(x, y))
+- return;
++ return 0;
+ xv_set(frame,
+ FRAME_LEFT_FOOTER, "Congratulations!",
+ NULL);
diff --git a/x11-toolkits/slingshot/files/patch-examples-tree-tlstool.c b/x11-toolkits/slingshot/files/patch-examples-tree-tlstool.c
new file mode 100644
index 000000000000..736550d40843
--- /dev/null
+++ b/x11-toolkits/slingshot/files/patch-examples-tree-tlstool.c
@@ -0,0 +1,11 @@
+--- examples/tree/tlstool.c.orig 1993-10-25 16:41:38.000000000 -0700
++++ examples/tree/tlstool.c 2013-09-17 08:46:29.022495738 -0700
+@@ -346,7 +346,7 @@
+ new_path = (char*) xv_get(item, PANEL_VALUE);
+
+ if((!new_path) || (!*new_path))
+- return;
++ return 0;
+
+ directory = strrchr(new_path, '/');
+
diff --git a/x11-toolkits/slingshot/files/patch-src-array.c b/x11-toolkits/slingshot/files/patch-src-array.c
new file mode 100644
index 000000000000..d73ff54f6065
--- /dev/null
+++ b/x11-toolkits/slingshot/files/patch-src-array.c
@@ -0,0 +1,33 @@
+--- src/array.c.orig 1993-10-25 11:41:21.000000000 -0700
++++ src/array.c 2013-09-17 08:42:27.922294229 -0700
+@@ -712,10 +712,10 @@
+ int previously_unmanaged;
+
+ if(!child)
+- return;
++ return 0;
+ layout_data = get_layout_data(child);
+ if(!layout_data)
+- return;
++ return 0;
+
+ previously_unmanaged = FLAG_IS_SET(layout_data->cflags, CF_UNMANAGED);
+
+@@ -729,7 +729,7 @@
+ array_tile_unmanage_child(ainfo, child);
+ array_tile_shrink(array_tile, child);
+ rectobj_repaint_rect(child, NULL, TRUE);
+- return;
++ return 0;
+ }
+ layout_data->column = column;
+ }
+@@ -739,7 +739,7 @@
+ array_tile_unmanage_child(ainfo, child);
+ array_tile_shrink(array_tile, child);
+ rectobj_repaint_rect(child, NULL, TRUE);
+- return;
++ return 0;
+ }
+ layout_data->row = row;
+ }