diff options
author | novel <novel@FreeBSD.org> | 2007-04-15 00:28:37 +0800 |
---|---|---|
committer | novel <novel@FreeBSD.org> | 2007-04-15 00:28:37 +0800 |
commit | 6062d12ab6c290d9968a29e09447336d0567a02d (patch) | |
tree | 6c22b05fecbb127c5808b0d6f086930dccf9cc2b /sysutils/conky | |
parent | efe7c2f6c8e24279d0f91401181c94683cfd24b1 (diff) | |
download | freebsd-ports-gnome-6062d12ab6c290d9968a29e09447336d0567a02d.tar.gz freebsd-ports-gnome-6062d12ab6c290d9968a29e09447336d0567a02d.tar.zst freebsd-ports-gnome-6062d12ab6c290d9968a29e09447336d0567a02d.zip |
An attempt to fix build on sparc64.
Reported by: pointyhat via kris
Diffstat (limited to 'sysutils/conky')
-rw-r--r-- | sysutils/conky/files/patch-src-freebsd.c | 11 |
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 + } + |