[packages/pidgin-sipe] Rel 2; x32 build fix

arekm arekm at pld-linux.org
Sat Aug 23 15:54:11 CEST 2025


commit efbc0e6e94ef08d9b9a15e37805dce027a06f9bc
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Aug 23 15:54:04 2025 +0200

    Rel 2; x32 build fix

 build.patch      | 21 +++++++++++++++++++++
 pidgin-sipe.spec |  3 ++-
 2 files changed, 23 insertions(+), 1 deletion(-)
---
diff --git a/pidgin-sipe.spec b/pidgin-sipe.spec
index 39cf71b..79c5dc8 100644
--- a/pidgin-sipe.spec
+++ b/pidgin-sipe.spec
@@ -1,7 +1,7 @@
 Summary:	Pidgin protocol plugin to connect to MS Office Communicator
 Name:		pidgin-sipe
 Version:	1.25.0
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		Applications/Networking
 URL:		http://sipe.sourceforge.net/
@@ -9,6 +9,7 @@ Source0:	http://downloads.sourceforge.net/sipe/%{name}-%{version}.tar.xz
 # Source0-md5:	0e742f021dc8c3f17435aea05c3e0314
 Patch0:		%{name}-optional_valgrind.patch
 Patch1:		build.patch
+BuildRequires:	NetworkManager-devel
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake >= 1:1.9
 BuildRequires:	e2fsprogs-devel
diff --git a/build.patch b/build.patch
index f4b2241..0336152 100644
--- a/build.patch
+++ b/build.patch
@@ -52,3 +52,24 @@
  			"-Wduplicate-decl-specifier" \
  			"-Winit-self" \
  			"-Wmaybe-uninitialized" \
+--- pidgin-sipe-1.25.0/src/core/sipe-utils.c~	2019-10-11 17:28:48.000000000 +0200
++++ pidgin-sipe-1.25.0/src/core/sipe-utils.c	2025-08-23 15:50:47.597724029 +0200
+@@ -25,6 +25,7 @@
+ #include <string.h>
+ #include <ctype.h>
+ #include <time.h>
++#include <inttypes.h>
+ 
+ #include <glib.h>
+ 
+@@ -414,8 +415,8 @@ sipe_utils_time_to_str(time_t timestamp)
+ 	if (result)
+ 		return(result);
+ 
+-	SIPE_DEBUG_ERROR("sipe_utils_time_to_str: failed to convert %lu to ISO8601 string",
+-			 timestamp);
++	SIPE_DEBUG_ERROR("sipe_utils_time_to_str: failed to convert %" PRIdMAX " to ISO8601 string",
++			 (intmax_t) timestamp);
+ 	return(g_strdup(""));
+ }
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pidgin-sipe.git/commitdiff/efbc0e6e94ef08d9b9a15e37805dce027a06f9bc



More information about the pld-cvs-commit mailing list