From 9a1f2c86fd80c9cd8b06b11408195371e43c588b Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Tue, 3 Jun 2008 22:03:31 +0000 Subject: - Update to 1.5.1 Submitted by: adamw Approved by: maintainer (novel) --- sysutils/conky/files/patch-src_freebsd.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 sysutils/conky/files/patch-src_freebsd.c (limited to 'sysutils/conky/files/patch-src_freebsd.c') diff --git a/sysutils/conky/files/patch-src_freebsd.c b/sysutils/conky/files/patch-src_freebsd.c new file mode 100644 index 000000000000..9e119eca443c --- /dev/null +++ b/sysutils/conky/files/patch-src_freebsd.c @@ -0,0 +1,20 @@ +--- src/freebsd.c.orig 2008-05-26 11:23:57.000000000 -0400 ++++ src/freebsd.c 2008-05-26 11:35:56.000000000 -0400 +@@ -519,7 +519,7 @@ __inline__ unsigned long long int rdtsc( + + /* return system frequency in MHz (use divisor=1) or GHz (use divisor=1000) */ + void get_freq_dynamic(char *p_client_buffer, size_t client_buffer_size, +- char *p_format, int divisor) ++ const char *p_format, int divisor) + { + #if defined(__i386) || defined(__x86_64) + struct timezone tz; +@@ -549,7 +549,7 @@ void get_freq_dynamic(char *p_client_buf + } + + /* void */ +-char get_freq(char *p_client_buffer, size_t client_buffer_size, char *p_format, ++char get_freq(char *p_client_buffer, size_t client_buffer_size, const char *p_format, + int divisor, unsigned int cpu) + { + int freq; -- cgit v1.2.3