diff options
author | Roman Bogorodskiy <novel@FreeBSD.org> | 2007-08-22 16:37:44 +0000 |
---|---|---|
committer | Roman Bogorodskiy <novel@FreeBSD.org> | 2007-08-22 16:37:44 +0000 |
commit | 3c94765bd408a05f85e58f0f30e99cc2a727e0fe (patch) | |
tree | b5a5a1bab174ae49a9e3b7a11e28285415659179 /sysutils/conky | |
parent | edcf248194a2d31b756051976862b1fa12d782ff (diff) | |
download | ports-3c94765bd408a05f85e58f0f30e99cc2a727e0fe.tar.gz ports-3c94765bd408a05f85e58f0f30e99cc2a727e0fe.zip |
Notes
Diffstat (limited to 'sysutils/conky')
-rw-r--r-- | sysutils/conky/files/patch-src-freebsd.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sysutils/conky/files/patch-src-freebsd.c b/sysutils/conky/files/patch-src-freebsd.c index 9d4a5bd0ddf8..d0947c26f4c2 100644 --- a/sysutils/conky/files/patch-src-freebsd.c +++ b/sysutils/conky/files/patch-src-freebsd.c @@ -1,5 +1,5 @@ ---- src/freebsd.c.orig 2007-08-05 08:48:13.000000000 +0400 -+++ src/freebsd.c 2007-08-21 22:22:37.000000000 +0400 +--- src/freebsd.c.orig Sun Aug 5 08:48:13 2007 ++++ src/freebsd.c Wed Aug 22 10:22:24 2007 @@ -43,6 +43,14 @@ #define FREEBSD_DEBUG #endif @@ -15,12 +15,11 @@ inline void proc_find_top(struct process **cpu, struct process **mem); u_int64_t diskio_prev = 0; -@@ -832,7 +840,7 @@ +@@ -831,6 +839,7 @@ + { int fd; struct apm_info info; ++ char *out; -- out = (char *)calloc(16, sizeof (char)); -+ (char *)out = (char *)calloc(16, sizeof (char)); + out = (char *)calloc(16, sizeof (char)); - fd = open(APMDEV, O_RDONLY); - if (fd < 0) { |