aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/conky
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/conky')
-rw-r--r--sysutils/conky/files/patch-src-freebsd.c11
1 files changed, 11 insertions, 0 deletions
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
+ }
+