diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-02-28 13:18:45 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-02-28 13:18:45 +0800 |
commit | 87c29a12215f3cf1b2bf356fd53f61394fc4187e (patch) | |
tree | 8f1d0b9061a943d2e9888f509de3103d76d33c84 | |
parent | 452da38bef2c621bb4fbd166025a03978df565a0 (diff) | |
download | marcuscom-ports-87c29a12215f3cf1b2bf356fd53f61394fc4187e.tar marcuscom-ports-87c29a12215f3cf1b2bf356fd53f61394fc4187e.tar.gz marcuscom-ports-87c29a12215f3cf1b2bf356fd53f61394fc4187e.tar.bz2 marcuscom-ports-87c29a12215f3cf1b2bf356fd53f61394fc4187e.tar.lz marcuscom-ports-87c29a12215f3cf1b2bf356fd53f61394fc4187e.tar.xz marcuscom-ports-87c29a12215f3cf1b2bf356fd53f61394fc4187e.tar.zst marcuscom-ports-87c29a12215f3cf1b2bf356fd53f61394fc4187e.zip |
Fill in the distro codename with the uname machine type. This should give
the main sysinfo screen the maximum amount of host information.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8436 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | sysutils/gnome-system-monitor/Makefile | 3 | ||||
-rw-r--r-- | sysutils/gnome-system-monitor/files/patch-src_sysinfo.cpp | 9 |
2 files changed, 7 insertions, 5 deletions
diff --git a/sysutils/gnome-system-monitor/Makefile b/sysutils/gnome-system-monitor/Makefile index 8a7603400..b30babe40 100644 --- a/sysutils/gnome-system-monitor/Makefile +++ b/sysutils/gnome-system-monitor/Makefile @@ -3,11 +3,12 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/sysutils/gnome-system-monitor/Makefile,v 1.89 2007/02/25 17:12:42 ahze Exp $ +# $MCom: ports/sysutils/gnome-system-monitor/Makefile,v 1.90 2007/02/28 04:56:59 mezz Exp $ # PORTNAME= gnome-system-monitor PORTVERSION= 2.17.94 +PORTREVISION= 1 CATEGORIES= sysutils gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/gnome-system-monitor/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} diff --git a/sysutils/gnome-system-monitor/files/patch-src_sysinfo.cpp b/sysutils/gnome-system-monitor/files/patch-src_sysinfo.cpp index 3169745ec..bfb088676 100644 --- a/sysutils/gnome-system-monitor/files/patch-src_sysinfo.cpp +++ b/sysutils/gnome-system-monitor/files/patch-src_sysinfo.cpp @@ -1,5 +1,5 @@ ---- src/sysinfo.cpp.orig Sat Feb 10 09:00:25 2007 -+++ src/sysinfo.cpp Mon Feb 12 11:37:25 2007 +--- src/sysinfo.cpp.orig Tue Feb 27 01:52:44 2007 ++++ src/sysinfo.cpp Wed Feb 28 00:17:06 2007 @@ -14,11 +14,13 @@ #include <sys/wait.h> #include <math.h> @@ -15,7 +15,7 @@ #include "sysinfo.h" #include "util.h" -@@ -240,6 +242,29 @@ +@@ -243,6 +245,30 @@ namespace { } }; @@ -39,13 +39,14 @@ + + this->distro_name = name.sysname; + this->distro_release = name.release; ++ this->distro_codename = name.machine; + } + }; +#endif SysInfo* get_sysinfo() { -@@ -247,9 +272,12 @@ +@@ -250,9 +276,12 @@ namespace { g_free(p); return new LSBSysInfo; } |