diff options
author | novel <novel@FreeBSD.org> | 2006-05-24 04:19:58 +0000 |
---|---|---|
committer | novel <novel@FreeBSD.org> | 2006-05-24 04:19:58 +0000 |
commit | 5f414034a534e98115e2b4447fbb65ca0e823d95 (patch) | |
tree | e69ac606465350a95edf8358df5653f3506f9375 /sysutils | |
parent | e91e7ecb8d690ab97d8c9669db22bd52dd1d176d (diff) | |
download | FreeBSD-ports-5f414034a534e98115e2b4447fbb65ca0e823d95.zip FreeBSD-ports-5f414034a534e98115e2b4447fbb65ca0e823d95.tar.gz |
- Fix bmpx dependency
- Fix CPU frequency displaying [1]
Reported by: Karsten Rothemund <photor@photor.de> [1]
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/conky-awesome/Makefile | 5 | ||||
-rw-r--r-- | sysutils/conky-awesome/files/patch-src-freebsd.c | 11 | ||||
-rw-r--r-- | sysutils/conky/Makefile | 5 | ||||
-rw-r--r-- | sysutils/conky/files/patch-src-freebsd.c | 11 |
4 files changed, 28 insertions, 4 deletions
diff --git a/sysutils/conky-awesome/Makefile b/sysutils/conky-awesome/Makefile index 4b81c2c..bda0d86 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 0000000..0e1e632 --- /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); + } diff --git a/sysutils/conky/Makefile b/sysutils/conky/Makefile index 4b81c2c..bda0d86 100644 --- a/sysutils/conky/Makefile +++ b/sysutils/conky/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/files/patch-src-freebsd.c b/sysutils/conky/files/patch-src-freebsd.c new file mode 100644 index 0000000..0e1e632 --- /dev/null +++ b/sysutils/conky/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); + } |