diff options
author | Roman Bogorodskiy <novel@FreeBSD.org> | 2006-05-24 04:19:58 +0000 |
---|---|---|
committer | Roman Bogorodskiy <novel@FreeBSD.org> | 2006-05-24 04:19:58 +0000 |
commit | e8ed9fc36eecef62e03fb020766958c98a7d38bc (patch) | |
tree | b419138cbaaa74234531c474f88c09e3eac9b6a0 /sysutils/conky-awesome | |
parent | a80fbc4a9ac29b604a96e6044b8fb86a8cc01c9e (diff) | |
download | ports-e8ed9fc36eecef62e03fb020766958c98a7d38bc.tar.gz ports-e8ed9fc36eecef62e03fb020766958c98a7d38bc.zip |
Notes
Diffstat (limited to 'sysutils/conky-awesome')
-rw-r--r-- | sysutils/conky-awesome/Makefile | 5 | ||||
-rw-r--r-- | sysutils/conky-awesome/files/patch-src-freebsd.c | 11 |
2 files changed, 14 insertions, 2 deletions
diff --git a/sysutils/conky-awesome/Makefile b/sysutils/conky-awesome/Makefile index 4b81c2c6b6a1..bda0d86265e3 100644 --- a/sysutils/conky-awesome/Makefile +++ b/sysutils/conky-awesome/Makefile @@ -7,6 +7,7 @@ PORTNAME= conky PORTVERSION= 1.4.2 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -28,8 +29,8 @@ PORTDOCS= README AUTHORS ChangeLog TODO \ docs.html variables.html config_settings.html .if defined(WITH_BMPX) -BUILD_DEPENDS+= bmpx:${PORTSDIR}/multimedia/bmpx -RUN_DEPENDS+= bmpx:${PORTSDIR}/multimedia/bmpx +BUILD_DEPENDS+= beep-media-player-2:${PORTSDIR}/multimedia/bmpx +RUN_DEPENDS+= beep-media-player-2:${PORTSDIR}/multimedia/bmpx LIB_DEPENDS+= dbus-1.2:${PORTSDIR}/devel/dbus CONFIGURE_ARGS+= --enable-bmpx .else 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..0e1e6322072a --- /dev/null +++ b/sysutils/conky-awesome/files/patch-src-freebsd.c @@ -0,0 +1,11 @@ +--- src/freebsd.c.orig Sun Mar 26 01:47:50 2006 ++++ src/freebsd.c Wed May 24 07:57:35 2006 +@@ -508,7 +508,7 @@ + + if (GETSYSCTL("dev.cpu.0.freq", freq) == 0) + snprintf(p_client_buffer, client_buffer_size, +- p_format, freq/divisor); ++ p_format, (float)freq/(float)divisor); + else + snprintf(p_client_buffer, client_buffer_size, p_format, 0.0f); + } |