Date: Thu, 29 Sep 2016 15:57:41 +0000 (UTC) From: Guido Falsi <madpilot@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r422935 - in head/sysutils/conky: . files Message-ID: <201609291557.u8TFvfU8068392@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: madpilot Date: Thu Sep 29 15:57:40 2016 New Revision: 422935 URL: https://svnweb.freebsd.org/changeset/ports/422935 Log: Fix ${top name} configuration variable output. Reported by: Szabolcs Grof <grof.szabolcs at gmail.com> (via email, with patch) Modified: head/sysutils/conky/Makefile head/sysutils/conky/files/patch-src_freebsd.cc Modified: head/sysutils/conky/Makefile ============================================================================== --- head/sysutils/conky/Makefile Thu Sep 29 15:26:16 2016 (r422934) +++ head/sysutils/conky/Makefile Thu Sep 29 15:57:40 2016 (r422935) @@ -4,7 +4,7 @@ PORTNAME= conky PORTVERSION= 1.10.4 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MAINTAINER= madpilot@FreeBSD.org Modified: head/sysutils/conky/files/patch-src_freebsd.cc ============================================================================== --- head/sysutils/conky/files/patch-src_freebsd.cc Thu Sep 29 15:26:16 2016 (r422934) +++ head/sysutils/conky/files/patch-src_freebsd.cc Thu Sep 29 15:57:40 2016 (r422935) @@ -51,7 +51,15 @@ } double get_battery_perct_bar(struct text_object *obj) -@@ -745,11 +725,14 @@ void get_battery_short_status(char *buff +@@ -729,6 +709,7 @@ void get_top_info(void) + + proc->time_stamp = g_time; + proc->name = strndup(p[i].ki_comm, text_buffer_size.get(*state)); ++ proc->basename = strndup(p[i].ki_comm, text_buffer_size.get(*state)); + proc->amount = 100.0 * p[i].ki_pctcpu / FSCALE; + proc->vsize = p[i].ki_size; + proc->rss = (p[i].ki_rssize * getpagesize()); +@@ -745,11 +726,14 @@ void get_battery_short_status(char *buff if (0 == strncmp("charging", buffer, 8)) { buffer[0] = 'C'; memmove(buffer + 1, buffer + 8, n - 8);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609291557.u8TFvfU8068392>