Summary: | x11-misc/xosview-1.11 version bump | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Component: | Current packages | Assignee: | Desktop Misc. Team <desktop-misc> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.pogo.org.uk/~mark/xosview/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Lars Wendler (Polynomial-C) (RETIRED)
2012-10-12 17:20:27 UTC
+*xosview-1.11 (15 Oct 2012) + + 15 Oct 2012; Michael Weber <xmw@gentoo.org> +xosview-1.11.ebuild: + Version bump (by polynomial-c, bug 438152) + (In reply to comment #0) > As usual there's no ChangeLog available... diff -ru /var/tmp/portage/x11-misc/xosview-1.10/work/xosview-1.10/linux/cpumeter.cc /var/tmp/portage/x11-misc/xosview-1.11/work/xosview-1.11/linux/cpumeter.cc --- /var/tmp/portage/x11-misc/xosview-1.10/work/xosview-1.10/linux/cpumeter.cc 2012-09-16 12:20:42.000000000 +0200 +++ /var/tmp/portage/x11-misc/xosview-1.11/work/xosview-1.11/linux/cpumeter.cc 2012-09-26 11:18:03.000000000 +0200 @@ -15,7 +15,7 @@ #include <ctype.h> static const char STATFILENAME[] = "/proc/stat"; -static const char VERSIONFILENAME[] = "/proc/version"; +static const char VERSIONFILENAME[] = "/proc/sys/kernel/osrelease"; static int cputime_to_field[10] = { 0, 1, 2, 9, 5, 4, 3, 8, 6, 7 }; #define MAX_PROCSTAT_LENGTH 4096 @@ -343,10 +343,10 @@ exit(1); } - std::string tmp, version; + std::string version; int major = 0, minor = 0, micro = 0; - f >> tmp >> tmp >> version; + f >> version; sscanf(version.c_str(), "%d.%d.%d", &major, &minor, µ); return ( major*1000000 + minor*1000 + micro); diff -ru /var/tmp/portage/x11-misc/xosview-1.10/work/xosview-1.10/linux/netmeter.cc /var/tmp/portage/x11-misc/xosview-1.11/work/xosview-1.11/linux/netmeter.cc --- /var/tmp/portage/x11-misc/xosview-1.10/work/xosview-1.10/linux/netmeter.cc 2012-09-16 12:20:42.000000000 +0200 +++ /var/tmp/portage/x11-misc/xosview-1.11/work/xosview-1.11/linux/netmeter.cc 2012-09-26 11:18:03.000000000 +0200 @@ -61,7 +61,7 @@ void NetMeter::checkOSVersion(void) { - if (CPUMeter::getkernelversion() >= 2100000) + if (CPUMeter::getkernelversion() >= 2001000) { // check presence of iacct and oacct chains std::ifstream chains("/proc/net/ip_fwchains"); |