[packages/gnome-applets] - added types patch (fixes for 32-bit long); release 2

qboosh qboosh at pld-linux.org
Tue Oct 8 21:06:21 CEST 2024


commit ea7dbc90920c5bffa7bf5d0d496a9727a651be9b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Oct 8 20:58:10 2024 +0200

    - added types patch (fixes for 32-bit long); release 2

 gnome-applets-types.patch | 11 +++++++++++
 gnome-applets.spec        |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/gnome-applets.spec b/gnome-applets.spec
index 571a6d8..9ef77fc 100644
--- a/gnome-applets.spec
+++ b/gnome-applets.spec
@@ -6,12 +6,13 @@ Summary(ru.UTF-8):	Маленькие программы, встраивающи
 Summary(uk.UTF-8):	Маленькі програми, що вбудовуються в панель GNOME
 Name:		gnome-applets
 Version:	3.54.0
-Release:	1
+Release:	2
 Epoch:		1
 License:	GPL v2+, FDL
 Group:		X11/Applications
 Source0:	https://download.gnome.org/sources/gnome-applets/3.54/%{name}-%{version}.tar.xz
 # Source0-md5:	480f6a723b5eea78d0cbd03a2daa278b
+Patch0:		%{name}-types.patch
 URL:		https://wiki.gnome.org/Projects/GnomeApplets
 BuildRequires:	adwaita-icon-theme >= 3.14.0
 BuildRequires:	autoconf >= 2.59
@@ -177,6 +178,7 @@ z GNOME:
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
diff --git a/gnome-applets-types.patch b/gnome-applets-types.patch
new file mode 100644
index 0000000..a99dd06
--- /dev/null
+++ b/gnome-applets-types.patch
@@ -0,0 +1,11 @@
+--- gnome-applets-3.54.0/gnome-applets/multiload/linux-proc.c.orig	2024-10-06 20:41:19.000000000 +0200
++++ gnome-applets-3.54.0/gnome-applets/multiload/linux-proc.c	2024-10-08 20:17:40.114648809 +0200
+@@ -102,7 +102,7 @@ GetDiskLoad (int Maximum, int data [3],
+ 
+ 	int max;
+ 
+-	guint64 read, write;
++	unsigned long read, write;
+ 	guint64 readdiff, writediff;
+ 
+ 	if(first_call)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gnome-applets.git/commitdiff/ea7dbc90920c5bffa7bf5d0d496a9727a651be9b



More information about the pld-cvs-commit mailing list