summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2008-01-15 13:49:18 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2008-01-15 13:49:18 +0800
commitbd4dd2207b12385845127870a6d5e0dfebd41eea (patch)
tree4544ca667f9feaa891f64fb15282f752e4990de4 /sysutils
parentabfc178acd61eacc97b456c24eb6bdbfa40da1a7 (diff)
downloadmarcuscom-ports-bd4dd2207b12385845127870a6d5e0dfebd41eea.tar
marcuscom-ports-bd4dd2207b12385845127870a6d5e0dfebd41eea.tar.gz
marcuscom-ports-bd4dd2207b12385845127870a6d5e0dfebd41eea.tar.bz2
marcuscom-ports-bd4dd2207b12385845127870a6d5e0dfebd41eea.tar.lz
marcuscom-ports-bd4dd2207b12385845127870a6d5e0dfebd41eea.tar.xz
marcuscom-ports-bd4dd2207b12385845127870a6d5e0dfebd41eea.tar.zst
marcuscom-ports-bd4dd2207b12385845127870a6d5e0dfebd41eea.zip
Update to 2.21.5.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10111 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gnome-system-monitor/Makefile4
-rw-r--r--sysutils/gnome-system-monitor/distinfo6
-rw-r--r--sysutils/gnome-system-monitor/files/patch-src_load-graph.cpp11
-rw-r--r--sysutils/gnome-system-monitor/pkg-plist2
4 files changed, 18 insertions, 5 deletions
diff --git a/sysutils/gnome-system-monitor/Makefile b/sysutils/gnome-system-monitor/Makefile
index a2fc4dca0..8fb12a922 100644
--- a/sysutils/gnome-system-monitor/Makefile
+++ b/sysutils/gnome-system-monitor/Makefile
@@ -3,11 +3,11 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/sysutils/gnome-system-monitor/Makefile,v 1.111 2007/11/15 21:01:06 marcus Exp $
+# $MCom: ports/sysutils/gnome-system-monitor/Makefile,v 1.112 2007/12/04 14:54:51 ahze Exp $
#
PORTNAME= gnome-system-monitor
-PORTVERSION= 2.21.3
+PORTVERSION= 2.21.5
CATEGORIES= sysutils gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-system-monitor/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
diff --git a/sysutils/gnome-system-monitor/distinfo b/sysutils/gnome-system-monitor/distinfo
index 3614b781c..684bfe915 100644
--- a/sysutils/gnome-system-monitor/distinfo
+++ b/sysutils/gnome-system-monitor/distinfo
@@ -1,3 +1,3 @@
-MD5 (gnome2/gnome-system-monitor-2.21.3.tar.bz2) = eda67974028167d88dc3e03d9499ca62
-SHA256 (gnome2/gnome-system-monitor-2.21.3.tar.bz2) = e93c4f5d7aa0958a1440fb26c74d8a8262e1d462ce0c40a15ca4ede3910086f5
-SIZE (gnome2/gnome-system-monitor-2.21.3.tar.bz2) = 1893299
+MD5 (gnome2/gnome-system-monitor-2.21.5.tar.bz2) = e23dc56f852a2fea8873335389e3161d
+SHA256 (gnome2/gnome-system-monitor-2.21.5.tar.bz2) = a99120e9edb9268d369f19a058431facdde35476eddef73b92bce28f27268645
+SIZE (gnome2/gnome-system-monitor-2.21.5.tar.bz2) = 1911845
diff --git a/sysutils/gnome-system-monitor/files/patch-src_load-graph.cpp b/sysutils/gnome-system-monitor/files/patch-src_load-graph.cpp
new file mode 100644
index 000000000..e57a21704
--- /dev/null
+++ b/sysutils/gnome-system-monitor/files/patch-src_load-graph.cpp
@@ -0,0 +1,11 @@
+--- src/load-graph.cpp.orig 2008-01-14 23:43:43.000000000 -0600
++++ src/load-graph.cpp 2008-01-14 23:44:15.000000000 -0600
+@@ -501,7 +501,7 @@
+ // e.g: ceil(100.5 KiB) = 101 KiB = 101 * 2**(1 * 10)
+ // where base10 = 1, coef10 = 101, pow2 = 16
+
+- unsigned pow2 = std::floor(log2(new_max));
++ unsigned pow2 = std::floor(log(new_max) / log(2));
+ unsigned base10 = pow2 / 10;
+ unsigned coef10 = std::ceil(new_max / double(1UL << (base10 * 10)));
+ g_assert(new_max <= (coef10 * (1UL << (base10 * 10))));
diff --git a/sysutils/gnome-system-monitor/pkg-plist b/sysutils/gnome-system-monitor/pkg-plist
index f09910090..1fd69b3a0 100644
--- a/sysutils/gnome-system-monitor/pkg-plist
+++ b/sysutils/gnome-system-monitor/pkg-plist
@@ -196,7 +196,9 @@ share/omf/gnome-system-monitor/gnome-system-monitor-fr.omf
share/omf/gnome-system-monitor/gnome-system-monitor-oc.omf
share/omf/gnome-system-monitor/gnome-system-monitor-pa.omf
share/omf/gnome-system-monitor/gnome-system-monitor-sv.omf
+share/pixmaps/gnome-system-monitor/download.svg
share/pixmaps/gnome-system-monitor/side.png
+share/pixmaps/gnome-system-monitor/upload.svg
@dirrm share/pixmaps/gnome-system-monitor
@dirrm share/omf/gnome-system-monitor
@dirrm share/gnome/help/gnome-system-monitor/sv/figures