mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
xfce4-systemload-plugin: update to 1.3.2.
This commit is contained in:
parent
28897b5197
commit
89b382bbf2
2 changed files with 27 additions and 3 deletions
25
srcpkgs/xfce4-systemload-plugin/patches/gulong.patch
Normal file
25
srcpkgs/xfce4-systemload-plugin/patches/gulong.patch
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
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)
|
||||||
|
|
||||||
|
---
|
||||||
|
panel-plugin/network.cc | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/panel-plugin/network.cc b/panel-plugin/network.cc
|
||||||
|
index 6a85dab..3de831d 100644
|
||||||
|
--- 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
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
# Template file for 'xfce4-systemload-plugin'
|
# Template file for 'xfce4-systemload-plugin'
|
||||||
pkgname=xfce4-systemload-plugin
|
pkgname=xfce4-systemload-plugin
|
||||||
reverts="1.3.2_1"
|
version=1.3.2
|
||||||
version=1.3.1
|
|
||||||
revision=2
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-locales-dir=/usr/share/locale"
|
configure_args="--with-locales-dir=/usr/share/locale"
|
||||||
|
@ -12,7 +11,7 @@ maintainer="Alexander Mamay <alexander@mamay.su>"
|
||||||
license="BSD-2-Clause"
|
license="BSD-2-Clause"
|
||||||
homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-systemload-plugin"
|
homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-systemload-plugin"
|
||||||
distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
|
distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=56d1007801d52d7c2b5a13bb54745f6d7f06fda28b49ce936145633068817652
|
checksum=bb303fc3020e053ad1fa0b8fcbf0d7681c5563bb8f649357d6a95a577802b072
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
|
|
Loading…
Add table
Reference in a new issue