summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Bogorodskiy <novel@FreeBSD.org>2007-04-14 16:28:37 +0000
committerRoman Bogorodskiy <novel@FreeBSD.org>2007-04-14 16:28:37 +0000
commit4b78b044c206524e2a3d6ca0a462df4015a94a5e (patch)
tree27d92d2c85eb0866bab888564ce3cd50b8db7a4d
parentUpdate to 2.18.1. (diff)
An attempt to fix build on sparc64.
Reported by: pointyhat via kris
-rw-r--r--sysutils/conky-awesome/files/patch-src-freebsd.c11
-rw-r--r--sysutils/conky/files/patch-src-freebsd.c11
2 files changed, 22 insertions, 0 deletions
diff --git a/sysutils/conky-awesome/files/patch-src-freebsd.c b/sysutils/conky-awesome/files/patch-src-freebsd.c
new file mode 100644
index 000000000000..1e5c74bf5dc6
--- /dev/null
+++ b/sysutils/conky-awesome/files/patch-src-freebsd.c
@@ -0,0 +1,11 @@
+--- src/freebsd.c.orig Sat Apr 14 20:21:32 2007
++++ src/freebsd.c Sat Apr 14 20:21:54 2007
+@@ -530,7 +530,7 @@
+ snprintf(p_client_buffer, client_buffer_size, p_format,
+ (float)((cycles[1] - cycles[0]) / microseconds) / divisor);
+ #else
+- get_freq(p_client_buffer, client_buffer_size, p_format, divisor);
++ get_freq(p_client_buffer, client_buffer_size, p_format, divisor, 1);
+ #endif
+ }
+
diff --git a/sysutils/conky/files/patch-src-freebsd.c b/sysutils/conky/files/patch-src-freebsd.c
new file mode 100644
index 000000000000..1e5c74bf5dc6
--- /dev/null
+++ b/sysutils/conky/files/patch-src-freebsd.c
@@ -0,0 +1,11 @@
+--- src/freebsd.c.orig Sat Apr 14 20:21:32 2007
++++ src/freebsd.c Sat Apr 14 20:21:54 2007
+@@ -530,7 +530,7 @@
+ snprintf(p_client_buffer, client_buffer_size, p_format,
+ (float)((cycles[1] - cycles[0]) / microseconds) / divisor);
+ #else
+- get_freq(p_client_buffer, client_buffer_size, p_format, divisor);
++ get_freq(p_client_buffer, client_buffer_size, p_format, divisor, 1);
+ #endif
+ }
+