aboutsummaryrefslogtreecommitdiff
path: root/sysutils/gkrelltop
diff options
context:
space:
mode:
authorRoman Bogorodskiy <novel@FreeBSD.org>2005-08-28 21:15:04 +0000
committerRoman Bogorodskiy <novel@FreeBSD.org>2005-08-28 21:15:04 +0000
commitc28e6a3940db320c58c41a4a1f2f20bb15560a41 (patch)
treecd29f5896cc18ea0cd287e53804cfec80af49610 /sysutils/gkrelltop
parentdb3d72ecbf7c633219da6b78ee02f22c1455dcfb (diff)
downloadports-c28e6a3940db320c58c41a4a1f2f20bb15560a41.tar.gz
ports-c28e6a3940db320c58c41a4a1f2f20bb15560a41.zip
Notes
Diffstat (limited to 'sysutils/gkrelltop')
-rw-r--r--sysutils/gkrelltop/Makefile10
-rw-r--r--sysutils/gkrelltop/files/patch-gkrelltop.c20
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);
+ /*