aboutsummaryrefslogtreecommitdiff
path: root/x11/gnome-applets
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2007-07-06 20:50:38 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2007-07-06 20:50:38 +0000
commit5cef944be29565b0a376df6612483b0e6f773314 (patch)
tree2095fe6138b4e89fa0ab4582b27f49b8eb102432 /x11/gnome-applets
parenta4694ad9134d41527fe7e1bd16a28f0e0c097b56 (diff)
downloadports-5cef944be29565b0a376df6612483b0e6f773314.tar.gz
ports-5cef944be29565b0a376df6612483b0e6f773314.zip
Notes
Diffstat (limited to 'x11/gnome-applets')
-rw-r--r--x11/gnome-applets/Makefile2
-rw-r--r--x11/gnome-applets/files/patch-cpufreq-freebsd4
-rw-r--r--x11/gnome-applets/files/patch-cpufreq-selector-freebsd2
3 files changed, 4 insertions, 4 deletions
diff --git a/x11/gnome-applets/Makefile b/x11/gnome-applets/Makefile
index bb4a0bba0163..885b47ad9e7b 100644
--- a/x11/gnome-applets/Makefile
+++ b/x11/gnome-applets/Makefile
@@ -8,7 +8,7 @@
PORTNAME= gnome-applets
PORTVERSION= 2.18.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
diff --git a/x11/gnome-applets/files/patch-cpufreq-freebsd b/x11/gnome-applets/files/patch-cpufreq-freebsd
index e7f0e210d28d..5c7f4dfa71d6 100644
--- a/x11/gnome-applets/files/patch-cpufreq-freebsd
+++ b/x11/gnome-applets/files/patch-cpufreq-freebsd
@@ -307,7 +307,7 @@
+
+ g_object_get (G_OBJECT (monitor), "cpu", &mon_cpu, NULL);
+ len = sizeof (ifreq);
-+ freq_oid = g_strdup_printf ("dev.cpu.%d.freq", mon_cpu);
++ freq_oid = g_strdup_printf ("dev.cpu.%d.freq", 0);
+
+ if (sysctlbyname (freq_oid, &ifreq, &len, NULL, 0) == -1) {
+ g_free (freq_oid);
@@ -346,7 +346,7 @@
+ g_object_get (G_OBJECT (monitor), "cpu", &mon_cpu, NULL);
+
+ levels_oid = g_strdup_printf ("dev.cpu.%d.freq_levels",
-+ mon_cpu);
++ 0);
+ len = 4;
+ sysctlnametomib (levels_oid, mib, &len);
+ len = sizeof (levels);
diff --git a/x11/gnome-applets/files/patch-cpufreq-selector-freebsd b/x11/gnome-applets/files/patch-cpufreq-selector-freebsd
index 8d459fdeef11..0647e375d529 100644
--- a/x11/gnome-applets/files/patch-cpufreq-selector-freebsd
+++ b/x11/gnome-applets/files/patch-cpufreq-selector-freebsd
@@ -183,7 +183,7 @@
+ g_object_get (G_OBJECT (selector), "cpu", &cpu, NULL);
+
+ frequency = (guint) ((gdouble) frequency / 1000); /* Convert back to MHz*/
-+ freq_oid = g_strdup_printf ("dev.cpu.%d.freq", (gint) cpu);
++ freq_oid = g_strdup_printf ("dev.cpu.%d.freq", (gint) 0);
+
+ sysctlbyname (freq_oid, NULL, &len, &frequency, sizeof (frequency));
+ g_free (freq_oid);