diff options
-rw-r--r-- | sysutils/gkrelltop/Makefile | 10 | ||||
-rw-r--r-- | sysutils/gkrelltop/files/patch-gkrelltop.c | 20 |
2 files changed, 22 insertions, 8 deletions
diff --git a/sysutils/gkrelltop/Makefile b/sysutils/gkrelltop/Makefile index c93f5ff25ec5..36a677255206 100644 --- a/sysutils/gkrelltop/Makefile +++ b/sysutils/gkrelltop/Makefile @@ -7,7 +7,7 @@ PORTNAME= gkrelltop PORTVERSION= 2.2.6 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= sysutils MASTER_SITES= http://psychology.rutgers.edu/~zaimi/html/gkrelltop/ DISTNAME= ${PORTNAME}_2.2-6 @@ -27,13 +27,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PLIST_FILES= libexec/gkrellm2/plugins/gkrelltop.so \ libexec/gkrellm2/plugins/gkrelltopd.so -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 500000 -BROKEN= "Does not compile on FreeBSD 4.x" -.endif - post-install: @${CAT} ${PKGMESSAGE} -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/sysutils/gkrelltop/files/patch-gkrelltop.c b/sysutils/gkrelltop/files/patch-gkrelltop.c new file mode 100644 index 000000000000..3d9c9e88597a --- /dev/null +++ b/sysutils/gkrelltop/files/patch-gkrelltop.c @@ -0,0 +1,20 @@ +--- gkrelltop.c.orig Thu Aug 4 21:08:58 2005 ++++ gkrelltop.c Thu Aug 4 21:09:34 2005 +@@ -324,7 +324,8 @@ + TextStyle *ts, *ts_alt; + gint y; + gint i; +- ++ GkrellmPiximage *krell_image = NULL; ++ + /* See comments about first create in demo2.c + */ + if (first_create) +@@ -335,7 +336,6 @@ + ts = gkrellm_meter_textstyle(style_id); //smaller font e brighter col + ts_alt = gkrellm_meter_alt_textstyle(style_id); //smaller font e brighter col + +- GkrellmPiximage *krell_image = NULL; + //krell_image = gkrellm_krell_meter_piximage(style_id); + gkrellm_load_piximage("krell_panel1", krell_panel1_xpm, &krell_image, STYLE_NAME); + /* |