diff options
Diffstat (limited to 'devel')
| -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)); |
