aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnome-system-monitor/010-cpu-model-arm.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-04-25 16:32:07 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-04-25 19:52:57 +0000
commit2749b73eab8f40766ed08ed06771943107704f94 (patch)
tree1edf576255ee5b7fddad4cb5f82dac4b68eb73a9 /main/gnome-system-monitor/010-cpu-model-arm.patch
parentd98256295edd37208538ecd0241d17eedf5fbeb0 (diff)
downloadaports-2749b73eab8f40766ed08ed06771943107704f94.tar.bz2
aports-2749b73eab8f40766ed08ed06771943107704f94.tar.xz
main/gnome-system-monitor: rebuild against glib-2.32
Diffstat (limited to 'main/gnome-system-monitor/010-cpu-model-arm.patch')
-rw-r--r--main/gnome-system-monitor/010-cpu-model-arm.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/main/gnome-system-monitor/010-cpu-model-arm.patch b/main/gnome-system-monitor/010-cpu-model-arm.patch
new file mode 100644
index 0000000000..c5c4a65ab2
--- /dev/null
+++ b/main/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