aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-system-monitor/010-cpu-model-arm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnome-system-monitor/010-cpu-model-arm.patch')
-rw-r--r--community/gnome-system-monitor/010-cpu-model-arm.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/community/gnome-system-monitor/010-cpu-model-arm.patch b/community/gnome-system-monitor/010-cpu-model-arm.patch
new file mode 100644
index 0000000000..c5c4a65ab2
--- /dev/null
+++ b/community/gnome-system-monitor/010-cpu-model-arm.patch
@@ -0,0 +1,22 @@
+From a84ed33fb4c313d7cf67fac791aa063a997cb3af Mon Sep 17 00:00:00 2001
+From: Debbie Beliveau <debbie.beliveau@canonical.com>
+Date: Thu, 03 Mar 2011 19:55:44 +0000
+Subject: Fix to show cpu model on ARM.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=606769
+---
+diff --git a/src/sysinfo.cpp b/src/sysinfo.cpp
+index 5f28e0c..20c94b0 100644
+--- a/src/sysinfo.cpp
++++ b/src/sysinfo.cpp
+@@ -105,7 +105,7 @@ namespace {
+ const glibtop_sysinfo *info = glibtop_get_sysinfo();
+
+ for (guint i = 0; i != info->ncpu; ++i) {
+- const char * const keys[] = { "model name", "cpu" };
++ const char * const keys[] = { "model name", "cpu", "Processor" };
+ gchar *model = 0;
+
+ for (guint j = 0; !model && j != G_N_ELEMENTS(keys); ++j)
+--
+cgit v0.9