aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-04-04 16:28:10 +0800
committerrafan <rafan@FreeBSD.org>2007-04-04 16:28:10 +0800
commitf33355bfcea44fcd7777673f80249dff330893e7 (patch)
treeef9cc539edf9ef1088279dd8fd6ce0ac46b7cd50 /sysutils
parentbe94eeb68707afe18ee90d4d8eb00d99277a0e58 (diff)
downloadfreebsd-ports-graphics-f33355bfcea44fcd7777673f80249dff330893e7.tar.gz
freebsd-ports-graphics-f33355bfcea44fcd7777673f80249dff330893e7.tar.zst
freebsd-ports-graphics-f33355bfcea44fcd7777673f80249dff330893e7.zip
- Fix build on gcc4
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/whowatch/files/patch-process.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/whowatch/files/patch-process.c b/sysutils/whowatch/files/patch-process.c
new file mode 100644
index 00000000000..8ab666024a7
--- /dev/null
+++ b/sysutils/whowatch/files/patch-process.c
@@ -0,0 +1,11 @@
+--- process.c.orig Wed Apr 4 16:25:29 2007
++++ process.c Wed Apr 4 16:26:49 2007
+@@ -74,7 +74,7 @@
+ memset(z, 0, sizeof *z);
+ check_line(l);
+ z->line = l++;
+- (struct process *) p->priv = z;
++ p->priv = z;
+ z->proc = p;
+ if (*current){
+ z->next = *current;