@@ -14,15 +14,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
--- a/panel-plugin/network.cc
+++ b/panel-plugin/network.cc
-@@ -114,6 +114,7 @@ read_netload_proc (gulong *bytes)
+@@ -118,6 +118,7 @@ read_netload_proc (gulong *bytes)
gint
read_netload (gulong *net, gulong *NTotal)
{
+ gulong tbytes[2];
- static guint64 bytes[2];
+ static gulong bytes[2];
static gint64 time[2];
-@@ -122,10 +123,12 @@ read_netload (gulong *net, gulong *NTota
+@@ -123,10 +124,12 @@ read_netload (gulong *net, gulong *NTota
time[1] = g_get_monotonic_time ();
similarity index 80%
rename from meta-xfce/recipes-panel-plugins/systemload/xfce4-systemload-plugin_1.3.2.bb
rename to meta-xfce/recipes-panel-plugins/systemload/xfce4-systemload-plugin_1.4.0.bb
@@ -3,6 +3,8 @@ HOMEPAGE = "https://docs.xfce.org/panel-plugins/xfce4-systemload-plugin/start"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://COPYING;md5=9acb172a93ff6c43cce2aff790a8aef8"
+XFCE_COMPRESS_TYPE = "xz"
+
inherit xfce-panel-plugin
PACKAGECONFIG ?= "network power"
@@ -10,4 +12,4 @@ PACKAGECONFIG[power] = ",,upower"
PACKAGECONFIG[network] = ",,libgtop"
SRC_URI += "file://convert-gulong.patch"
-SRC_URI[sha256sum] = "bb303fc3020e053ad1fa0b8fcbf0d7681c5563bb8f649357d6a95a577802b072"
+SRC_URI[sha256sum] = "6e363bcf845bb88329b52858d65a1ec6e00db5121ae9246e46eb03135d9569c6"
refresh patch. Changelog: https://gitlab.xfce.org/panel-plugins/xfce4-systemload-plugin/-/tags/xfce4-systemload-plugin-1.4.0 Changelog: https://gitlab.xfce.org/panel-plugins/xfce4-systemload-plugin/-/tags/xfce4-systemload-plugin-1.3.3 Signed-off-by: Jason Schonberg <schonm@gmail.com> --- .../systemload/xfce4-systemload-plugin/convert-gulong.patch | 6 +++--- ...oad-plugin_1.3.2.bb => xfce4-systemload-plugin_1.4.0.bb} | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) rename meta-xfce/recipes-panel-plugins/systemload/{xfce4-systemload-plugin_1.3.2.bb => xfce4-systemload-plugin_1.4.0.bb} (80%)