diff options
author | Roman Bogorodskiy <novel@FreeBSD.org> | 2007-08-21 18:31:58 +0000 |
---|---|---|
committer | Roman Bogorodskiy <novel@FreeBSD.org> | 2007-08-21 18:31:58 +0000 |
commit | d1ae94c9500f63a9c1956bab306b09b328511558 (patch) | |
tree | 34599ef37fadf61e94dd5e75c8ca8a603941464a /sysutils/conky-awesome | |
parent | 0d5d952852da9fae437c86a6e46eb14939825231 (diff) | |
download | ports-d1ae94c9500f63a9c1956bab306b09b328511558.tar.gz ports-d1ae94c9500f63a9c1956bab306b09b328511558.zip |
Notes
Diffstat (limited to 'sysutils/conky-awesome')
-rw-r--r-- | sysutils/conky-awesome/files/patch-src-freebsd.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sysutils/conky-awesome/files/patch-src-freebsd.c b/sysutils/conky-awesome/files/patch-src-freebsd.c index b0fe6b78d7a0..9d4a5bd0ddf8 100644 --- a/sysutils/conky-awesome/files/patch-src-freebsd.c +++ b/sysutils/conky-awesome/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-19 23:15:54.000000000 +0400 ++++ src/freebsd.c 2007-08-21 22:22:37.000000000 +0400 @@ -43,6 +43,14 @@ #define FREEBSD_DEBUG #endif @@ -15,3 +15,12 @@ inline void proc_find_top(struct process **cpu, struct process **mem); u_int64_t diskio_prev = 0; +@@ -832,7 +840,7 @@ + int fd; + struct apm_info info; + +- out = (char *)calloc(16, sizeof (char)); ++ (char *)out = (char *)calloc(16, sizeof (char)); + + fd = open(APMDEV, O_RDONLY); + if (fd < 0) { |