diff options
-rw-r--r-- | sysutils/conky-awesome/files/patch-src-freebsd.c | 11 | ||||
-rw-r--r-- | sysutils/conky/files/patch-src-freebsd.c | 11 |
2 files changed, 20 insertions, 2 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) { diff --git a/sysutils/conky/files/patch-src-freebsd.c b/sysutils/conky/files/patch-src-freebsd.c index b0fe6b78d7a0..9d4a5bd0ddf8 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-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) { |