aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
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 /sysutils
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 'sysutils')
-rw-r--r--sysutils/disktool/files/patch-disktool.c58
1 files changed, 56 insertions, 2 deletions
diff --git a/sysutils/disktool/files/patch-disktool.c b/sysutils/disktool/files/patch-disktool.c
index c769cc803d7e..7b8fa430d62f 100644
--- a/sysutils/disktool/files/patch-disktool.c
+++ b/sysutils/disktool/files/patch-disktool.c
@@ -1,5 +1,5 @@
---- disktool.c.orig Fri Oct 28 14:10:55 2005
-+++ disktool.c Fri Oct 28 14:13:09 2005
+--- disktool.c.orig 1998-04-17 15:32:43.000000000 -0700
++++ disktool.c 2013-09-17 09:15:50.943959620 -0700
@@ -168,9 +168,9 @@
}
@@ -13,3 +13,57 @@
{
/* Return number of kilobytes given the number of blocks and the block size.
This isn't quite trivial because a 32 bit signed long integer could easily
+@@ -361,7 +361,7 @@
+ Panel_item item;
+ Event *event;
+ {
+- return;
++ return 0;
+ }
+
+ /* ========================================================================*/
+@@ -376,7 +376,7 @@
+ timer.it_interval.tv_sec = xv_get(inc_item, PANEL_VALUE);
+ notify_set_itimer_func(frame, get_values,
+ ITIMER_REAL, &timer, NULL);
+- return;
++ return 0;
+ }
+ /* ========================================================================*/
+ int
+@@ -397,7 +397,7 @@
+ xv_get(thresh_item, PANEL_VALUE)/1000, NULL);
+ xv_set(thresh_item, PANEL_MAX_VALUE, 3000, NULL);
+ }
+- return;
++ return 0;
+ }
+
+ /* ========================================================================*/
+@@ -488,7 +488,7 @@
+ thresh[curr_item] = xv_get(thresh_item, PANEL_VALUE);
+ get_values();
+ reposition_widgets();
+- return;
++ return 0;
+ }
+
+ /* ========================================================================*/
+@@ -507,7 +507,7 @@
+ }
+ get_values();
+ reposition_widgets();
+- return;
++ return 0;
+ }
+
+ /* ========================================================================*/
+@@ -517,7 +517,7 @@
+ int value;
+ Event *event;
+ {
+- return;
++ return 0;
+ }
+
+ /* ========================================================================*/