aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2007-08-22 02:31:58 +0800
committernovel <novel@FreeBSD.org>2007-08-22 02:31:58 +0800
commit187814f2a26de205e7134fd1db8e12744516bf8d (patch)
treed4beee924480e72247608ae3c2aaddfb43e26aba
parent827a1b4fca88f433937bcddbe24347a8b7943c72 (diff)
downloadfreebsd-ports-gnome-187814f2a26de205e7134fd1db8e12744516bf8d.tar.gz
freebsd-ports-gnome-187814f2a26de205e7134fd1db8e12744516bf8d.tar.zst
freebsd-ports-gnome-187814f2a26de205e7134fd1db8e12744516bf8d.zip
Fix build on i386.
PR: 115642 Submitted by: Barbara <barbara.xxx1975@libero.it>
-rw-r--r--sysutils/conky-awesome/files/patch-src-freebsd.c11
-rw-r--r--sysutils/conky/files/patch-src-freebsd.c11
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) {