diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-11-24 07:59:41 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-11-24 07:59:41 +0000 |
commit | 4dcd72247df95ae287cdab52a9a792baf423d151 (patch) | |
tree | 33c2620931c0324a0f86c97dba0e4a09945a3e18 /devel/libgtop | |
parent | e56a0f846832acf1256481fd4b8d2f3a88e42459 (diff) |
Notes
Diffstat (limited to 'devel/libgtop')
-rw-r--r-- | devel/libgtop/Makefile | 1 | ||||
-rw-r--r-- | devel/libgtop/files/patch-sysdeps_freebsd_sysinfo.c | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/devel/libgtop/Makefile b/devel/libgtop/Makefile index 83f80f2faa72..f2af863a1a6a 100644 --- a/devel/libgtop/Makefile +++ b/devel/libgtop/Makefile @@ -7,6 +7,7 @@ PORTNAME= libgtop PORTVERSION= 2.14.4 +PORTREVISION= 1 CATEGORIES= devel gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} diff --git a/devel/libgtop/files/patch-sysdeps_freebsd_sysinfo.c b/devel/libgtop/files/patch-sysdeps_freebsd_sysinfo.c new file mode 100644 index 000000000000..186f2eb57ba8 --- /dev/null +++ b/devel/libgtop/files/patch-sysdeps_freebsd_sysinfo.c @@ -0,0 +1,13 @@ +--- sysdeps/freebsd/sysinfo.c.orig Fri Nov 24 02:36:12 2006 ++++ sysdeps/freebsd/sysinfo.c Fri Nov 24 02:57:37 2006 +@@ -73,6 +73,10 @@ init_sysinfo (glibtop *server) + g_hash_table_insert (cpuinfo->values, "vendor_id", + g_strdup(model)); + ++ g_ptr_array_add (cpuinfo->labels, "model name"); ++ g_hash_table_insert (cpuinfo->values, "model name", ++ g_strdup(model)); ++ + g_ptr_array_add (cpuinfo->labels, "cpu MHz"); + g_hash_table_insert (cpuinfo->values, "cpu MHz", + g_strdup_printf("%d", mhz)); |