summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2007-08-04 13:41:13 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2007-08-04 13:41:13 +0000
commit03ad6cebac920572ea4f3e332dd91f29eae3a203 (patch)
tree1cceca5cf48200d01aab1e12a1bb1d88883267f9 /xfce-extra/xfce4-cpugraph/files
parentFix DEPENDs as per bug 172106. (diff)
downloadhistorical-03ad6cebac920572ea4f3e332dd91f29eae3a203.tar.gz
historical-03ad6cebac920572ea4f3e332dd91f29eae3a203.tar.bz2
historical-03ad6cebac920572ea4f3e332dd91f29eae3a203.zip
Apply a sizeof patch from bug 187712 by Ondrej Barda, fixing a possible 64bit issue with cpu graph drawing in normal mode.
Package-Manager: portage-2.1.3.3
Diffstat (limited to 'xfce-extra/xfce4-cpugraph/files')
-rw-r--r--xfce-extra/xfce4-cpugraph/files/digest-xfce4-cpugraph-0.3.0-r13
-rw-r--r--xfce-extra/xfce4-cpugraph/files/xfce4-cpugraph-0.3.0-sizeof.patch12
2 files changed, 15 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-cpugraph/files/digest-xfce4-cpugraph-0.3.0-r1 b/xfce-extra/xfce4-cpugraph/files/digest-xfce4-cpugraph-0.3.0-r1
new file mode 100644
index 000000000000..1ef6d7cab54c
--- /dev/null
+++ b/xfce-extra/xfce4-cpugraph/files/digest-xfce4-cpugraph-0.3.0-r1
@@ -0,0 +1,3 @@
+MD5 b2ff93a62845289c4a8ed7d45faa7a1f xfce4-cpugraph-plugin-0.3.0.tar.bz2 102638
+RMD160 99c309b3bf0ab622a9b95df9b568808a6c034055 xfce4-cpugraph-plugin-0.3.0.tar.bz2 102638
+SHA256 eb6c2eee5f3d56a3202a9affb33242c3434bfbaeb0d7fe02cf267e64e85f3825 xfce4-cpugraph-plugin-0.3.0.tar.bz2 102638
diff --git a/xfce-extra/xfce4-cpugraph/files/xfce4-cpugraph-0.3.0-sizeof.patch b/xfce-extra/xfce4-cpugraph/files/xfce4-cpugraph-0.3.0-sizeof.patch
new file mode 100644
index 000000000000..5c59a96f49bd
--- /dev/null
+++ b/xfce-extra/xfce4-cpugraph/files/xfce4-cpugraph-0.3.0-sizeof.patch
@@ -0,0 +1,12 @@
+diff -ur xfce4-cpugraph-plugin-0.3.0.orig/panel-plugin/cpu.c xfce4-cpugraph-plugin-0.3.0/panel-plugin/cpu.c
+--- xfce4-cpugraph-plugin-0.3.0.orig/panel-plugin/cpu.c 2005-10-09 12:06:46.000000000 +0300
++++ xfce4-cpugraph-plugin-0.3.0/panel-plugin/cpu.c 2007-08-04 16:31:31.000000000 +0300
+@@ -626,7 +626,7 @@
+ base->m_CPUUsage = GetCPUUsage (&base->m_OldUsage, &base->m_OldTotal);
+
+ memmove (base->m_History + 1, base->m_History,
+- (base->m_Values - 1) * sizeof (int));
++ (base->m_Values - 1) * sizeof (long));
+ base->m_History[0] = base->m_CPUUsage;
+
+ /* Tooltip */