aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/slingshot
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2013-09-18 15:07:08 +0800
committercy <cy@FreeBSD.org>2013-09-18 15:07:08 +0800
commit70b9190c852296e15bc61e6b2246b3358ed93eb0 (patch)
tree10597b7ea28dfb16d81c786860e26e49c113d5a4 /x11-toolkits/slingshot
parent571efdc5f00e3af602d83907432e448adc7f1e01 (diff)
downloadfreebsd-ports-gnome-70b9190c852296e15bc61e6b2246b3358ed93eb0.tar.gz
freebsd-ports-gnome-70b9190c852296e15bc61e6b2246b3358ed93eb0.tar.zst
freebsd-ports-gnome-70b9190c852296e15bc61e6b2246b3358ed93eb0.zip
Fix xview family builds under 10-CURRENT.
Flags xview-clients MAKE_JOBS_UNSAFE.
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;
+ }