summaryrefslogtreecommitdiff
path: root/xfce-extra/xfce4-systemload-plugin/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-27 06:16:36 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-27 06:16:36 +0100
commit4936e2350e0b4aae482b12c7ce02aaa3c7e64842 (patch)
tree90d2fac7757077a3f7dc724e89fb40c1e843cf0a /xfce-extra/xfce4-systemload-plugin/files
parentc23a7f2796a181331872d4c55ea25940d1386b3d (diff)
gentoo auto-resync : 27:04:2023 - 06:16:36
Diffstat (limited to 'xfce-extra/xfce4-systemload-plugin/files')
-rw-r--r--xfce-extra/xfce4-systemload-plugin/files/xfce4-systemload-plugin-1.3.2-x86.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-systemload-plugin/files/xfce4-systemload-plugin-1.3.2-x86.patch b/xfce-extra/xfce4-systemload-plugin/files/xfce4-systemload-plugin-1.3.2-x86.patch
new file mode 100644
index 000000000000..027aea406823
--- /dev/null
+++ b/xfce-extra/xfce4-systemload-plugin/files/xfce4-systemload-plugin-1.3.2-x86.patch
@@ -0,0 +1,22 @@
+https://bugs.gentoo.org/905084
+https://gitlab.xfce.org/panel-plugins/xfce4-systemload-plugin/-/issues/25
+https://gitlab.xfce.org/panel-plugins/xfce4-systemload-plugin/-/commit/13a2e3ecb4b6cf6aad26c6b1d2388ef6922a5c92
+
+From 13a2e3ecb4b6cf6aad26c6b1d2388ef6922a5c92 Mon Sep 17 00:00:00 2001
+From: Akbarkhon Variskhanov <akbarkhon.variskhanov@gmail.com>
+Date: Tue, 20 Dec 2022 13:50:40 +0500
+Subject: [PATCH] build: Fix failure due to wrong var type (Fixes #25)
+
+--- a/panel-plugin/network.cc
++++ b/panel-plugin/network.cc
+@@ -114,7 +114,7 @@ read_netload_proc (gulong *bytes)
+ gint
+ read_netload (gulong *net, gulong *NTotal)
+ {
+- static guint64 bytes[2];
++ static gulong bytes[2];
+ static gint64 time[2];
+
+ *net = 0;
+--
+GitLab