pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/xfce4-cpugraph-plugin/patches xfce4-cpugraph-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4479440bcd59
branches:  trunk
changeset: 771253:4479440bcd59
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Thu Dec 16 01:01:01 2021 +0000

description:
xfce4-cpugraph-plugin: remove patch missed in previous commit

diffstat:

 sysutils/xfce4-cpugraph-plugin/patches/patch-panel-plugin_os.c |  15 ----------
 1 files changed, 0 insertions(+), 15 deletions(-)

diffs (19 lines):

diff -r 966422fac46e -r 4479440bcd59 sysutils/xfce4-cpugraph-plugin/patches/patch-panel-plugin_os.c
--- a/sysutils/xfce4-cpugraph-plugin/patches/patch-panel-plugin_os.c    Thu Dec 16 00:58:31 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-panel-plugin_os.c,v 1.4 2019/10/12 10:25:59 gutteridge Exp $
-
-Fix NetBSD support. https://bugzilla.xfce.org/show_bug.cgi?id=15794
-
---- panel-plugin/os.c.orig     2019-07-02 23:18:51.000000000 +0000
-+++ panel-plugin/os.c
-@@ -226,7 +226,7 @@ read_cpu_data (CpuData *data, guint nb_c
-     data[0].load = 0;
-     for (i = 1; i <= nb_cpu; i++)
-     {
--        cp_time1 = cp_time + CPUSTATE * (i - 1);
-+        cp_time1 = cp_time + CPUSTATES * (i - 1);
-         used = cp_time1[CP_USER] + cp_time1[CP_NICE] + cp_time1[CP_SYS] + cp_time1[CP_INTR];
-         total = used + cp_time1[CP_IDLE];
- 



Home | Main Index | Thread Index | Old Index