diff options
author | novel <novel@FreeBSD.org> | 2007-08-23 00:37:44 +0800 |
---|---|---|
committer | novel <novel@FreeBSD.org> | 2007-08-23 00:37:44 +0800 |
commit | 7b23d42e3a99d53b387de1456d0ccb55de132dbb (patch) | |
tree | cda04f26fd11fc1ec0f05199dfcafbf16e944124 /sysutils/conky-awesome | |
parent | 33a725e9b6dbbc37fcab1bda710828498c305ab0 (diff) | |
download | freebsd-ports-gnome-7b23d42e3a99d53b387de1456d0ccb55de132dbb.tar.gz freebsd-ports-gnome-7b23d42e3a99d53b387de1456d0ccb55de132dbb.tar.zst freebsd-ports-gnome-7b23d42e3a99d53b387de1456d0ccb55de132dbb.zip |
Really fix build on i386.
XXXL size pointy hat to: novel
Diffstat (limited to 'sysutils/conky-awesome')
-rw-r--r-- | sysutils/conky-awesome/files/patch-src-freebsd.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sysutils/conky-awesome/files/patch-src-freebsd.c b/sysutils/conky-awesome/files/patch-src-freebsd.c index 9d4a5bd0ddf8..d0947c26f4c2 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-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) { |