svn commit: r422935 - in head/sysutils/conky: . files
Guido Falsi
madpilot at FreeBSD.org
Thu Sep 29 15:57:42 UTC 2016
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 at 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);
More information about the svn-ports-head
mailing list