diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2010-01-11 03:58:19 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2010-01-11 03:58:19 +0000 |
commit | 5bb7313f346f4facd0a62dc233ef8264c198aa0d (patch) | |
tree | ef15903e5a27a9cf8caabaf605f946ef45f93d42 /sysutils/gkfreq | |
parent | 6f271bd8512bee86b7ceb34134bab5c2208af56c (diff) | |
download | ports-5bb7313f346f4facd0a62dc233ef8264c198aa0d.tar.gz ports-5bb7313f346f4facd0a62dc233ef8264c198aa0d.zip |
Notes
Diffstat (limited to 'sysutils/gkfreq')
-rw-r--r-- | sysutils/gkfreq/Makefile | 2 | ||||
-rw-r--r-- | sysutils/gkfreq/files/patch-gkfreq.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/gkfreq/Makefile b/sysutils/gkfreq/Makefile index 2c587dfd67e1..f415bf9ae20a 100644 --- a/sysutils/gkfreq/Makefile +++ b/sysutils/gkfreq/Makefile @@ -7,7 +7,7 @@ PORTNAME= gkfreq PORTVERSION= 1.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= sysutils DISTNAME= gkrellm-gkfreq-${PORTVERSION} MASTER_SITES= http://www.peakunix.net/downloads/ diff --git a/sysutils/gkfreq/files/patch-gkfreq.c b/sysutils/gkfreq/files/patch-gkfreq.c index 9bfb1502e538..8a04acaa5fc0 100644 --- a/sysutils/gkfreq/files/patch-gkfreq.c +++ b/sysutils/gkfreq/files/patch-gkfreq.c @@ -36,7 +36,7 @@ diff -u -p gkfreq.c.orig gkfreq.c { +#ifdef __FreeBSD__ + int freq; -+ int len = sizeof(freq); ++ size_t len = sizeof(freq); + + if (oid_freq_len <= 0 || + sysctl(oid_freq, oid_freq_len, &freq, &len, 0, 0) < 0) |