pidgin-sipe: fix for musl-1.2.2 (time64)
This commit is contained in:
parent
5b0e628320
commit
b659c3c859
22
srcpkgs/pidgin-sipe/patches/time64.patch
Normal file
22
srcpkgs/pidgin-sipe/patches/time64.patch
Normal file
@ -0,0 +1,22 @@
|
||||
--- src/core/sipe-utils.c 2019-10-11 17:28:48.000000000 +0200
|
||||
+++ src/core/sipe-utils.c 2021-02-17 12:21:58.906079796 +0100
|
||||
@@ -25,6 +25,8 @@
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <time.h>
|
||||
+#include <stdint.h>
|
||||
+#include <inttypes.h>
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
@@ -414,8 +415,8 @@
|
||||
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 %" PRIu64 " to ISO8601 string",
|
||||
+ (uint64_t) timestamp);
|
||||
return(g_strdup(""));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user